[Bug target/43871] -mcpu=power4 -mtune=cell emits power7/cell-only opcodes
segher at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Dec 7 09:37:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43871
--- Comment #7 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Author: segher
Date: Thu Dec 7 09:36:28 2017
New Revision: 255464
URL: https://gcc.gnu.org/viewcvs?rev=255464&root=gcc&view=rev
Log:
rs6000: Initialise rs6000_cpu correctly (PR43871)
Finally, set rs6000_cpu based not on -mtune=, but only -mcpu= and the
defaults.
PR target/43871
* config/rs6000/rs6000.c (rs6000_option_override_internal): Set
rs6000_cpu to the given -mcpu=, or to the default processor.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/rs6000/rs6000.c
More information about the Gcc-bugs
mailing list