The option -xbuiltin does not work because it enables all kind of compiler built in functions, even those which affect errno. There is no option to select individual functions.
Olga 2010/3/30 Garrett D'Amore <garr...@damore.org>: > On 03/30/10 12:10 PM, ольга крыжановская wrote: >> >> I'm told that Niagara T1 only has few VIS instructions which run in a >> shared FPU and emulates others but Niagara T2 implements the full set >> running in a per core FPU. >> > > Ok; but that also means that if you optimize any code you need to make sure > that the "optimizations" are actually appropriate for the CPU you're running > on. > > I think the idea of -xbuiltin (someone else mentioned) is better -- compiler > generated inlines will probably save more than just the logic associated > with alignment checks, but also function call overhead -- at least for small > strings. > > - Garrett > > -- , _ _ , { \/`o;====- Olga Kryzhanovska -====;o`\/ } .----'-/`-/ olga.kryzhanov...@gmail.com \-`\-'----. `'-..-| / Solaris/BSD//C/C++ programmer \ |-..-'` /\/\ /\/\ `--` `--` _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code