Re: div>mode>3 library calls

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Nevermind, I've found it. The compiler checks whether the provided div
pattern returns a quotient and otherwise falls back to a library call.

Thanks,
Hendrik

On Wed, Apr 17, 2013 at 9:26 AM, Hendrik Greving
<hendrik.greving.intel@xxxxxxxxx> wrote:
> Hi,
>
> this might apply to older GCC versions only (not sure). I am using GCC
> 3.2.x. My question is, how do I configure and re-target GCC to expand
> a divide (e.g. divdi3) with define_expand("divdi3") instead of
> generating a libgcc library call to __divdi3? Any help tips
> appreciated.
>
> Thanks, Regards,
> Hendrik Greving




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux