This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]