This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/32503] __builtin_powi - optimize for other exponents besides 2 and 0.5
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Jun 2007 19:56:57 -0000
- Subject: [Bug middle-end/32503] __builtin_powi - optimize for other exponents besides 2 and 0.5
- References: <bug-32503-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from burnus at gcc dot gnu dot org 2007-06-25 19:56 -------
> Additionally: It would be great if there would be a variant for long integers
> (8 byte integers) and long long (16 byte integers) as PR32239 could only use
> __builtin_powi for int4 and not for int8 or int16.
Actually, gfortran uses also: pow(integer,integer) and pow(complex,integer),
which could also profit from a middle/back-end support. (integer: 4, 8, 16
bytes; complex: single, double, long double precision).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32503