[Bug target/80834] PowerPC gcc -mcpu=power9 seems to turn off vectorization that -mcpu=power8 enables
meissner at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat May 20 01:41:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80834
Michael Meissner <meissner at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |NEW
Last reconfirmed| |2017-05-19
Resolution|INVALID |---
Ever confirmed|0 |1
--- Comment #2 from Michael Meissner <meissner at gcc dot gnu.org> ---
I guess it is late on a Friday, and I mixed up compilers or options.
I verified that with subversion id 248266 that compiling the attachment with
-mcpu=power9 -O3 -ffast-math DOES NOT generate vector instructions, while
compiling it with -mcpu=power8 -O3 -ffast-math DOES generate vector
instructions.
It also does not generate vector instructions when using the -mcpu=power7 -O3
-ffast-math option.
More information about the Gcc-bugs
mailing list