[Bug fortran/32239] optimize power in loops, use __builtin_powi instead of _gfortran_pow_r4_i4

burnus at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Jun 25 19:53:00 GMT 2007



------- Comment #4 from burnus at gcc dot gnu dot org  2007-06-25 19:52 -------
"At the moment the vectorizer only vectorizes builtin_pow if the exponent is
either 2 or 0.5. whereas if we expand constant exponents in the gfortran
frontend (gfc_conv_cst_int_power) it vectorizes for other constant integer
powers as well"

I've filled PR middle-end/32503 for this.


-- 


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



More information about the Gcc-bugs mailing list