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

2007-07-02 Thread jb at gcc dot gnu dot org
--- Comment #7 from jb at gcc dot gnu dot org 2007-07-02 20:46 --- Closing as Fortran FE is fixed. There is 32503 for better vectorization of builtin_powi, and if we want the strength reduction optimization from comment #0 a new missed-optimization PR should be filed against the middle-e

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

2007-07-02 Thread jb at gcc dot gnu dot org
--- Comment #6 from jb at gcc dot gnu dot org 2007-07-02 16:21 --- Subject: Bug 32239 Author: jb Date: Mon Jul 2 16:21:37 2007 New Revision: 126215 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126215 Log: Forgot to delete these during yesterdays commit. 2007-07-02 Janne Blo

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

2007-07-01 Thread jb at gcc dot gnu dot org
--- Comment #5 from jb at gcc dot gnu dot org 2007-07-01 16:24 --- Subject: Bug 32239 Author: jb Date: Sun Jul 1 16:24:38 2007 New Revision: 126175 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126175 Log: gcc/fortran: 2007-07-01 Janne Blomqvist <[EMAIL PROTECTED]>

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

2007-06-25 Thread burnus at gcc dot gnu dot org
--- 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

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

2007-06-17 Thread patchapp at dberlin dot org
--- Comment #3 from patchapp at dberlin dot org 2007-06-17 11:40 --- Subject: Bug number PR32239 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2007-06/msg01172.html -- http://gcc.gnu.org/bugzilla/sh

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

2007-06-16 Thread jb at gcc dot gnu dot org
--- Comment #2 from jb at gcc dot gnu dot org 2007-06-17 06:39 --- Assigning to myself, this should be easy to fix. -- jb at gcc dot gnu dot org changed: What|Removed |Added --

[Bug fortran/32239] optimize power in loops

2007-06-08 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2007-06-08 10:11 --- Confirmed. Instead of calls to _gfortran_pow_r4_i4, gfortran should use __builtin_powi in this case. __builtin_powi is either expanded inline or implemented by the libgcc powi function which looks like TYPE NAME (