aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRoger Sayle <roger@nextmovesoftware.com>2023-06-29 11:44:04 +0100
committerRoger Sayle <roger@nextmovesoftware.com>2023-06-29 11:44:04 +0100
commit2b31dc28c752146d2917a1702d20eac12701d034 (patch)
tree4b66f12fa46770bf38fc45d4417dfad62c54fa9c /gcc
parentcd23ed2119120bd7b710fbe679fdfcb8f4461800 (diff)
downloadgcc-2b31dc28c752146d2917a1702d20eac12701d034.zip
gcc-2b31dc28c752146d2917a1702d20eac12701d034.tar.gz
gcc-2b31dc28c752146d2917a1702d20eac12701d034.tar.bz2
[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).
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/gcc.target/i386/pieces-memcmp-2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.target/i386/pieces-memcmp-2.c b/gcc/testsuite/gcc.target/i386/pieces-memcmp-2.c
index 6f996fa..6061c91 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)
{