[Bug rtl-optimization/44214] Compiler does not optimize vector divide with -freciprocal-math (or -ffast-math)

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri May 21 09:48:00 GMT 2010



------- Comment #3 from rguenth at gcc dot gnu dot org  2010-05-21 09:47 -------
The fold code should probably simply use fold_binary to do the constant
folding (which already should handle 1/x for x vector and complex.  There
is a build_one_cst to build the constant 1 for any type).  The exact
result check would need to use mpc (and I'm not sure its correct for
-frounding-math anyway).


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-05-21 09:47:56
               date|                            |


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



More information about the Gcc-bugs mailing list