Fedor Sergeev wrote: > On Fri, Apr 17, 2009 at 05:42:08PM +0200, Roland Mainz wrote: > > Is there somewhere a document which describes which functions are > > available as builtin functions via Sun Studio's "-xbuiltin=%all" option > > ? > > Not really. > We do not handle it as "direct" builtins, that is headers do not contain > compiler specific symbols, like builtin_sqrt or whatnot.
Erm... what do you mean with that ? > Optimizing compiler components (backends) are able to optimize nearly every > standard function (function that is declared in a standard header). How does that work ? > Different backends on different platforms have different ideas on what > is a good function to optimize. > > What are you trying to solve with that document? I'd like to enable only a few builtin functions (basically only those which make sense from a performance point-of-view (like the string copy functions) and those which do not alter |errno|). ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) roland.mainz at nrubsig.org \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 3992797 (;O/ \/ \O;)
