rs6000-cpus.def (ISA_3_0_MASKS_SERVER): Enable -mpower9-minmax by default for -mcpu=power9.
[gcc] 2017-01-19 Michael Meissner <meissner@linux.vnet.ibm.com> * config/rs6000/rs6000-cpus.def (ISA_3_0_MASKS_SERVER): Enable -mpower9-minmax by default for -mcpu=power9. (ISA_3_MASKS_IEEE): Require -mvsx-small-integer to enable IEEE 128-bit floating point. [gcc/testsuite] 2017-01-19 Michael Meissner <meissner@linux.vnet.ibm.com> * gcc.target/powerpc/float128-hw.c: Do not require IEEE 128-bit floating point hardware to run test. From-SVN: r244662
This commit is contained in:
parent
c4e5baa663
commit
bd9cf60b31
4 changed files with 17 additions and 4 deletions
|
@ -1,3 +1,10 @@
|
|||
2017-01-19 Michael Meissner <meissner@linux.vnet.ibm.com>
|
||||
|
||||
* config/rs6000/rs6000-cpus.def (ISA_3_0_MASKS_SERVER): Enable
|
||||
-mpower9-minmax by default for -mcpu=power9.
|
||||
(ISA_3_MASKS_IEEE): Require -mvsx-small-integer to enable IEEE
|
||||
128-bit floating point.
|
||||
|
||||
2017-01-20 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* config/rs6000/rs6000.md (cmpstrnsi, cmpstrsi): Fail if
|
||||
|
|
|
@ -62,7 +62,6 @@
|
|||
| OPTION_MASK_VSX_SMALL_INTEGER)
|
||||
|
||||
/* Add ISEL back into ISA 3.0, since it is supposed to be a win. Do not add
|
||||
P9_MINMAX until the hardware that supports it is available. Do not add
|
||||
FLOAT128_HW here until we are ready to make -mfloat128 on by default. */
|
||||
#define ISA_3_0_MASKS_SERVER (ISA_2_7_MASKS_SERVER \
|
||||
| OPTION_MASK_ISEL \
|
||||
|
@ -70,6 +69,7 @@
|
|||
| OPTION_MASK_P9_FUSION \
|
||||
| OPTION_MASK_P9_DFORM_SCALAR \
|
||||
| OPTION_MASK_P9_DFORM_VECTOR \
|
||||
| OPTION_MASK_P9_MINMAX \
|
||||
| OPTION_MASK_P9_MISC \
|
||||
| OPTION_MASK_P9_VECTOR)
|
||||
|
||||
|
@ -81,7 +81,8 @@
|
|||
| OPTION_MASK_DIRECT_MOVE \
|
||||
| OPTION_MASK_UPPER_REGS_DI \
|
||||
| OPTION_MASK_UPPER_REGS_DF \
|
||||
| OPTION_MASK_UPPER_REGS_SF)
|
||||
| OPTION_MASK_UPPER_REGS_SF \
|
||||
| OPTION_MASK_VSX_SMALL_INTEGER)
|
||||
|
||||
#define POWERPC_7400_MASK (OPTION_MASK_PPC_GFXOPT | OPTION_MASK_ALTIVEC)
|
||||
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
2017-01-19 Michael Meissner <meissner@linux.vnet.ibm.com>
|
||||
|
||||
* gcc.target/powerpc/float128-hw.c: Do not require IEEE 128-bit
|
||||
floating point hardware to run test.
|
||||
|
||||
2017-01-19 Tamar Christina <tamar.christina@arm.com>
|
||||
|
||||
* gcc/testsuite/lib/target-supports.exp
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/* { dg-do compile { target { powerpc*-*-* && lp64 } } } */
|
||||
/* { dg-require-effective-target powerpc_float128_hw_ok } */
|
||||
/* { dg-require-effective-target powerpc_p9vector_ok } */
|
||||
/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power9" } } */
|
||||
/* { dg-options "-mcpu=power9 -O2" } */
|
||||
/* { dg-options "-mcpu=power9 -O2 -mfloat128" } */
|
||||
|
||||
__float128 f128_add (__float128 a, __float128 b) { return a+b; }
|
||||
__float128 f128_sub (__float128 a, __float128 b) { return a-b; }
|
||||
|
|
Loading…
Add table
Reference in a new issue