mirror of git://gcc.gnu.org/git/gcc.git
re PR target/63177 (Powerpc no-vfa-vect-depend-2.c and no-vfa-vect-depend-3.c failures)
PR target/63177 * /config/rs6000/rs6000.h (ASM_CPU_SPEC): Add support for -mpower9. Don't handle -mcpu=power8 if -mpower9-vector is also used. From-SVN: r261243
This commit is contained in:
parent
fe16acf26b
commit
1b58c736db
|
|
@ -1,3 +1,9 @@
|
|||
2018-06-06 Peter Bergner <bergner@vnet.ibm.com>
|
||||
|
||||
PR target/63177
|
||||
* /config/rs6000/rs6000.h (ASM_CPU_SPEC): Add support for -mpower9.
|
||||
Don't handle -mcpu=power8 if -mpower9-vector is also used.
|
||||
|
||||
2018-06-06 Kelvin Nilsen <kelvin@gcc.gnu.org>
|
||||
|
||||
* config/rs6000/rs6000-builtin.def (VSX_BUILTIN_VEC_LD,
|
||||
|
|
|
|||
|
|
@ -106,7 +106,8 @@
|
|||
/* Common ASM definitions used by ASM_SPEC among the various targets for
|
||||
handling -mcpu=xxx switches. There is a parallel list in driver-rs6000.c to
|
||||
provide the default assembler options if the user uses -mcpu=native, so if
|
||||
you make changes here, make them also there. */
|
||||
you make changes here, make them also there. PR63177: Do not pass -mpower8
|
||||
to the assembler if -mpower9-vector was also used. */
|
||||
#define ASM_CPU_SPEC \
|
||||
"%{!mcpu*: \
|
||||
%{mpowerpc64*: -mppc64} \
|
||||
|
|
@ -120,7 +121,7 @@
|
|||
%{mcpu=power6: %(asm_cpu_power6) -maltivec} \
|
||||
%{mcpu=power6x: %(asm_cpu_power6) -maltivec} \
|
||||
%{mcpu=power7: %(asm_cpu_power7)} \
|
||||
%{mcpu=power8: %(asm_cpu_power8)} \
|
||||
%{mcpu=power8: %{!mpower9-vector: %(asm_cpu_power8)}} \
|
||||
%{mcpu=power9: %(asm_cpu_power9)} \
|
||||
%{mcpu=a2: -ma2} \
|
||||
%{mcpu=powerpc: -mppc} \
|
||||
|
|
@ -169,6 +170,7 @@
|
|||
%{maltivec: -maltivec} \
|
||||
%{mvsx: -mvsx %{!maltivec: -maltivec} %{!mcpu*: %(asm_cpu_power7)}} \
|
||||
%{mpower8-vector|mcrypto|mdirect-move|mhtm: %{!mcpu*: %(asm_cpu_power8)}} \
|
||||
%{mpower9-vector: %{!mcpu*|mcpu=power8: %(asm_cpu_power9)}} \
|
||||
-many"
|
||||
|
||||
#define CPP_DEFAULT_SPEC ""
|
||||
|
|
|
|||
Loading…
Reference in New Issue