]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[testsuite] [x86] strlenopt-80 needs -msse2 on ia32
authorAlexandre Oliva <oliva@adacore.com>
Wed, 21 May 2025 09:20:37 +0000 (06:20 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Wed, 21 May 2025 09:20:37 +0000 (06:20 -0300)
The string length optimizations at 8-byte blocks requires -msse2;
-msse is not enough.  Bump it.

for  gcc/testsuite/ChangeLog

* gcc.dg/strlenopt-80.c: Bump to -msse2.

gcc/testsuite/gcc.dg/strlenopt-80.c

index 63d4eb17e4c3f41c842f9c71e39062f040eb10dd..0b16a41423661516ef482ba09dd559b0cabb9425 100644 (file)
@@ -6,7 +6,7 @@
    { dg-do compile { target { { aarch64*-*-* i?86-*-* x86_64-*-* } || { { powerpc*-*-* } && lp64 } } } }
 
    { dg-options "-O2 -Wall -fdump-tree-optimized" }
-   { dg-additional-options "-msse" { target i?86-*-* x86_64-*-* } } */
+   { dg-additional-options "-msse2" { target i?86-*-* x86_64-*-* } } */
 
 /* On powerpc configurations that have -mstrict-align by default,
    the memcpy calls for ncpylog >= 3 are not turned into MEM_REFs.