diff mbox series

[Committed] Add -mno-stv to new gcc.target/i386/cmpti2.c test case.

Message ID 000901d8aaa3$e5a497b0$b0edc710$@nextmovesoftware.com
State New
Headers show
Series [Committed] Add -mno-stv to new gcc.target/i386/cmpti2.c test case. | expand

Commit Message

Roger Sayle Aug. 7, 2022, 9:23 p.m. UTC
Adding -march=cascadelake to the command line options of the new cmpti2.c
testcase triggers TImode STV and produces vector code that doesn't match
the scalar implementation that this test was intended to check.  Adding
-mno-stv to the options fixes this.  Committed as obvious.


2022-08-07  Roger Sayle  <roger@nextmovesoftware.com>

gcc/testsuite/ChangeLog
        * gcc.target/i386/cmpti2.c: Add -mno-stv to dg-options.

Roger
--
diff mbox series

Patch

diff --git a/gcc/testsuite/gcc.target/i386/cmpti2.c b/gcc/testsuite/gcc.target/i386/cmpti2.c
index ad9572901ce..ba7dd7292a0 100644
--- a/gcc/testsuite/gcc.target/i386/cmpti2.c
+++ b/gcc/testsuite/gcc.target/i386/cmpti2.c
@@ -1,5 +1,5 @@ 
 /* { dg-do compile { target int128 } } */
-/* { dg-options "-O2" } */
+/* { dg-options "-O2 -mno-stv" } */
 
 __int128 x;
 __int128 y;