public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [Committed] Add -mno-stv to new gcc.target/i386/cmpti2.c test case.
@ 2022-08-07 21:23 Roger Sayle
  0 siblings, 0 replies; only message in thread
From: Roger Sayle @ 2022-08-07 21:23 UTC (permalink / raw)
  To: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 435 bytes --]


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
--


[-- Attachment #2: patch.txt --]
[-- Type: text/plain, Size: 384 bytes --]

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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-08-07 21:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-07 21:23 [Committed] Add -mno-stv to new gcc.target/i386/cmpti2.c test case Roger Sayle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).