Re: Conditional compilation

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

 



StÃphane FORNENGO <sfornengo@xxxxxxxxx> writes:

> Is the following idea possible ?
> take for example the strcmp function with the standard following code:

...

> this usages could be detect at compile time and the function code
> greatly optimized knowing this information !

Yes, this is possible, and the x86 backend already uses this
information, when available, when selecting the strcmp strategy.  This
kind of optimization is inherently machine dependent; I'm not sure
whether any other backends implement it.

Ian



[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