r16-3760-g9ff5cadac4579f generates more condition move for
-march=cascadelake, and causes new failures as below
FAIL: gcc.target/i386/pr116896.c scan-assembler-times \tjp\t 2
FAIL: g++.target/i386/pr116896-1.C -std=gnu++20 scan-assembler-times \tjp\t 1
FAIL: g++.target/i386/pr116896-1.C -std=gnu++23 scan-assembler-times \tjp\t 1
FAIL: g++.target/i386/pr116896-1.C -std=gnu++26 scan-assembler-times \tjp\t 1
the code generated should be better than before, so just add
-mtune=generic to "fix" the testcases.
gcc/testsuite/ChangeLog:
PR target/122503
* g++.target/i386/pr116896-1.C: Add -mtune=generic to
dg-options.
* gcc.target/i386/pr116896.c: Ditto.
// PR middle-end/116896
// { dg-do compile { target c++20 } }
-// { dg-options "-O2 -masm=att -fno-stack-protector" }
+// { dg-options "-O2 -masm=att -fno-stack-protector -mtune=generic" }
// { dg-final { scan-assembler-times "\tjp\t" 1 } }
// { dg-final { scan-assembler-not "\tj\[^mp\]\[a-z\]*\t" } }
// { dg-final { scan-assembler-times "\tsbb\[bl\]\t\\\$0, " 3 } }
/* PR middle-end/116896 */
/* { dg-do compile } */
-/* { dg-options "-O2 -masm=att -fno-stack-protector" } */
+/* { dg-options "-O2 -masm=att -fno-stack-protector -mtune=generic" } */
/* { dg-final { scan-assembler-times "\tjp\t" 2 } } */
/* { dg-final { scan-assembler-not "\tj\[^mp\]\[a-z\]*\t" } } */
/* { dg-final { scan-assembler-times "\tsbb\[bl\]\t\\\$0, " 4 } } */