Relates :
|
Currently fdlibm optimization is disabled for PPC64/s390x/aarch64, as a consequence StrictMath methods like, but not limited to, sin(), cos(), and tan() perform poor. Switching on the O3 optimization on gcc can damage the precision of those methods, nonetheless it's possible to avoid that side effect and yet get the huge benefits from the -O3 optimization on PPC64/s390 if -ffp-contract=off is passed in addition to the -O3 optimization flag.
|