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/40766] this fortran program is too slow



------- Comment #11 from ubizjak at gmail dot com  2009-07-16 07:16 -------
(In reply to comment #6)

> Thus the question is really: Why are neither vmlsSinCos4 nor vmlsTan4 - nor for
> ACML vrs4_sincosf/vrsa_sincosf (vrs*_tan* does not exist) called?

Because sincos returns _TWO_ values and the vectorizer does not yet support
this. ASAP as the middle-end infrastructure is in place, we can stick
vectorized sincos in ix86_veclib* functions. See also [1] and [2], sincos part.

Perhaps you could motivate Richi to extend the vectorizer infrastructure ;)

[1]
http://software.intel.com/en-us/articles/implement-the-short-vector-math-library/
[2]
http://developer.amd.com/cpu/Libraries/acml/onlinehelp/Documents/Vector.html#Vector


-- 


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


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