public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-2187] [Committed] Add -mmove-max=128 -mstore-max=128 to pieces-memcmp-2.c
@ 2023-06-29 10:45 Roger Sayle
  0 siblings, 0 replies; only message in thread
From: Roger Sayle @ 2023-06-29 10:45 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:2b31dc28c752146d2917a1702d20eac12701d034

commit r14-2187-g2b31dc28c752146d2917a1702d20eac12701d034
Author: Roger Sayle <roger@nextmovesoftware.com>
Date:   Thu Jun 29 11:44:04 2023 +0100

    [Committed] Add -mmove-max=128 -mstore-max=128 to pieces-memcmp-2.c
    
    Adding -mmove-max=128 and -mstore-max=128 to the dg-options of the
    recently added gcc.target/i386/pieces-memcmp-2.c avoids changing the
    intent of this testcase when adding -march=cascadelake to RUNTESTFLAGS.
    Committed as obvious.
    
    2023-06-29  Roger Sayle  <roger@nextmovesoftware.com>
    
    gcc/testsuite/ChangeLog
            * gcc.target/i386/pieces-memcmp-2.c: Specify that 128-bit
            comparisons are desired, to see if 256-bit instructions are
            generated inappropriately (fixes test on -march=cascadelake).

Diff:
---
 gcc/testsuite/gcc.target/i386/pieces-memcmp-2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.target/i386/pieces-memcmp-2.c b/gcc/testsuite/gcc.target/i386/pieces-memcmp-2.c
index 6f996faeced..6061c911165 100644
--- a/gcc/testsuite/gcc.target/i386/pieces-memcmp-2.c
+++ b/gcc/testsuite/gcc.target/i386/pieces-memcmp-2.c
@@ -1,5 +1,5 @@
 /* { dg-do compile { target ia32 } } */
-/* { dg-options "-O2 -mavx2" } */
+/* { dg-options "-O2 -mavx2 -mmove-max=128 -mstore-max=128" } */
 
 int foo(char *a)
 {

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

only message in thread, other threads:[~2023-06-29 10:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-29 10:45 [gcc r14-2187] [Committed] Add -mmove-max=128 -mstore-max=128 to pieces-memcmp-2.c 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).