This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/48258] New: Add VSX support for float/double vector reductions & improve float insert/extract
- From: "meissner at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Mar 2011 16:46:45 -0000
- Subject: [Bug target/48258] New: Add VSX support for float/double vector reductions & improve float insert/extract
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48258
Summary: Add VSX support for float/double vector reductions &
improve float insert/extract
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: enhancement
Priority: P3
Component: target
AssignedTo: meissner@gcc.gnu.org
ReportedBy: meissner@gcc.gnu.org
Host: powerpc64-linux
Target: powerpc64-linux
Build: powerpc64-linux
Right now, the powerpc compiler does not do support for float and double vector
reductions. For float in particular, the compiler does the code, and then
stores the vector in the stack to extract the bottom element. With VSX it is
possible to do vector reductions in fewer instructions and to eliminate the
store.