Stéphane Letz wrote: >> Code optimizations >> ------------------------- >> >> In addition to MIDI I have done some modifications to the code that >> handles audio format/rate conversions. It's now faster than in earlier >> version that performed the conversions with too short chunks >> (increased >> call/setup overhead). In particular there is significant improvement >> under Solaris because I added proper compiler flags for better code >> optimization (this cause problems earlier and it's possible that the >> optimized code crashes in some cases). >> >> > > Hi, > > Not sure the optimization flags are good in : http:// > mercurial.opensound.com/?rev/a15da9411856 > > As I understand "-fast" is a macro equivalent to several others flags: > > http://developers.sun.com/solaris/articles/options.html > > http://developers.sun.com/solaris/articles/amd64_migration.html#fast > > so using -xO2 and -fast at the same does not make much sense AFAICS > > Note also that -fast will produce target platform specific code (in > the "Cons" section : The -fast option lets the compiler assume that > the target platform the code will run on is the same platform on > which it was compiled (because it includes -xtarget=native)) > > So it has to be used with care. > > Regards, > > Stephane Letz > _______________________________________________ > oss-devel mailing list > oss-devel@mailman.opensound.com > http://mailman.opensound.com/mailman/listinfo/oss-devel
-fast includes -xO5 (You can see what it includes using the command below) echo 'int main (void) { return 0; }' > test.c && cc -fast -xdryrun test.c Regards Sam Woodhead _______________________________________________ oss-devel mailing list oss-devel@mailman.opensound.com http://mailman.opensound.com/mailman/listinfo/oss-devel