Page 1 of 1

GCC Auto generated code:__fixdfti, __fixunsdfti, __floattixf

Posted: Thu Feb 12, 2015 3:34 am
by tsdnz
Hello, does anyone know why GCC is inserting these into my code?

__fixdfti, __fixunsdfti, __floattixf, __divti3, __modti3, __udivti3, __umodti3

Re: GCC Auto generated code:__fixdfti, __fixunsdfti, __float

Posted: Thu Feb 12, 2015 3:44 am
by tsdnz
Found it, (Value % 10), where value is int128

Re: GCC Auto generated code:__fixdfti, __fixunsdfti, __float

Posted: Thu Feb 12, 2015 3:49 am
by Octocontrabass

Re: GCC Auto generated code:__fixdfti, __fixunsdfti, __float

Posted: Thu Feb 12, 2015 3:54 am
by tsdnz
Octocontrabass wrote:You need to link with libgcc.
Thanks, why do I need to do that?

Re: GCC Auto generated code:__fixdfti, __fixunsdfti, __float

Posted: Thu Feb 12, 2015 4:16 am
by Octocontrabass
Because GCC always produces code that requires libgcc. ;)

Re: GCC Auto generated code:__fixdfti, __fixunsdfti, __float

Posted: Thu Feb 12, 2015 12:32 pm
by tsdnz
Octocontrabass wrote:Because GCC always produces code that requires libgcc. ;)
That makes sense, thanks. LOL