[Bug target/36821] Flush denormals to Zero Flag

2010-04-08 Thread nick2893 at hotmail dot com


--- Comment #3 from nick2893 at hotmail dot com  2010-04-09 03:42 ---
I am looking for both Optimized like O2 and FTZ.  I have a large Fortran
program.  Without FTZ it gets weird crashes that should not be happening (no
problems on any other compilers!)  Without optimization it runs way too slow.

Any optimization overrides any attempts at FTZ, such as

_MM_SET_FLUSH_ZERO_MODE (_MM_FLUSH_ZERO_ON); 
-ffast-math

The tradeoff of "either FTZ or Optimized" I think will not work for me.


-- 

nick2893 at hotmail dot com changed:

   What|Removed |Added

 CC|    |nick2893 at hotmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36821



[Bug target/36821] Flush denormals to Zero Flag

2010-04-09 Thread nick2893 at hotmail dot com


--- Comment #5 from nick2893 at hotmail dot com  2010-04-09 15:30 ---
I'm still not getting FTZ ... unless I misunderstood your suggestion, here's
what I did after compiling with -O2:

r...@nick-desktop:/home/test408# gfortran -o test4f
/usr/lib/gcc/i486-linux-gnu/4.4.0/crtfastmath.o TEST4SRC1.o TEST4SRC2.o
TEST4SRCU.o


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36821