Hi!

----

Are there any known compiler bugs/issues in Sun Studio 11 x86 (cc -V ==
"cc: Sun C 5.8 Patch 121016-05 2007/01/10") which may cause an
application to run slower with "-xc99=%all -xO4 -xalias_level=basic
-xdepend" compared to "-xO3" (both builds use "-xspace -Xa -xstrconst"
as additional build options) ?

I did a small test with AST/ksh93 and got the following results for the
following command:
$ ksh93 -c 'float z=5; integer i=0 ; for((i=0 ; i < 10000000 ; i++ )) ;
do (( z=sin(z) )) ; done ; print -- $z' #

With "-xO3" it takes ~31 seconds to execute this script.
With "-xc99=%all -xO4 -xalias_level=basic -xdepend" it takes ~39 seconds
to execute this script.

Erm... the results are somehow upside-down from what I would expect from
these options... ;-(

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) [EMAIL PROTECTED]
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 7950090
 (;O/ \/ \O;)
_______________________________________________
tools-discuss mailing list
[email protected]

Reply via email to