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 middle-end/32503] __builtin_powi - optimize for other exponents besides 2 and 0.5



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


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