[testsuite,X86,committed] Require effective target masm_intel for two tests.

Message ID D0CE1B36-EDAA-48D6-BD22-8D754E4A3E66@sandoe.co.uk
State New
Headers show
Series
  • [testsuite,X86,committed] Require effective target masm_intel for two tests.
Related show

Commit Message

Iain Sandoe Jan. 3, 2020, 9:10 p.m.
Hi and Happy New Year,

The vx512??-pr92686-vpcmp-intelasm-1.c  tests currently fail on targets that do not
support intel asm syntax.  Fixed by adding the effective target requires.

tested on x86_64-darwin16,
applied to mainline as obvious,
thanks
Iain

gcc/testsuite/ChangeLog:

2020-01-03  Iain Sandoe  <iain@sandoe.co.uk>

	* gcc.target/i386/avx512bw-pr92686-vpcmp-intelasm-1.c: Require
	effective target masm_intel.
	* gcc.target/i386/avx512vl-pr92686-vpcmp-intelasm-1.c: Likewise.

Patch

diff --git a/gcc/testsuite/gcc.target/i386/avx512bw-pr92686-vpcmp-intelasm-1.c b/gcc/testsuite/gcc.target/i386/avx512bw-pr92686-vpcmp-intelasm-1.c
index 23c785ce9d..f1a62bdf32 100644
--- a/gcc/testsuite/gcc.target/i386/avx512bw-pr92686-vpcmp-intelasm-1.c
+++ b/gcc/testsuite/gcc.target/i386/avx512bw-pr92686-vpcmp-intelasm-1.c
@@ -1,5 +1,6 @@ 
 /* PR target/92686 */
 /* { dg-do assemble } */
+/* { dg-require-effective-target masm_intel } */
 /* { dg-options "-O2 -mavx512bw -mno-avx512dq -mno-avx512vl -mno-xop -masm=intel" } */
 /* { dg-require-effective-target avx512bw } */
 
diff --git a/gcc/testsuite/gcc.target/i386/avx512vl-pr92686-vpcmp-intelasm-1.c b/gcc/testsuite/gcc.target/i386/avx512vl-pr92686-vpcmp-intelasm-1.c
index c9a1b69003..907386db08 100644
--- a/gcc/testsuite/gcc.target/i386/avx512vl-pr92686-vpcmp-intelasm-1.c
+++ b/gcc/testsuite/gcc.target/i386/avx512vl-pr92686-vpcmp-intelasm-1.c
@@ -1,5 +1,6 @@ 
 /* PR target/88547 */
 /* { dg-do assemble } */
+/* { dg-require-effective-target masm_intel } */
 /* { dg-options "-O2 -mavx512bw -mavx512vl -mno-avx512dq -mno-xop -masm=intel" } */
 /* { dg-require-effective-target avx512bw } */
 /* { dg-require-effective-target avx512vl } */