]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Committed] Add -mno-avx2 to recent gcc.target/i386/xop-vpcmov3.c
authorRoger Sayle <roger@nextmovesoftware.com>
Wed, 8 Jun 2022 09:06:23 +0000 (10:06 +0100)
committerRoger Sayle <roger@nextmovesoftware.com>
Wed, 8 Jun 2022 09:06:23 +0000 (10:06 +0100)
commitd8c258094195896a32bd7dc0601bc767c9258a71
tree2663f55c23241210dcc4fa7d8d9518c25531119f
parent5e5deac508e3025e2d2c36212aa52d52001b893d
[Committed] Add -mno-avx2 to recent gcc.target/i386/xop-vpcmov3.c

Adding -march=cascadelake to the command line options of the recently
added xop-vpcmov3.c test case causes problems as GCC then prefers to
use AVX512's vpternlogd instruction, instead of the XOP vpcmov that
the test is checking for.  This is easily solved by adding an explicit
-mno-avx512vl to the command line options.

Committed to mainline as obvious (in hindsight).

2022-06-08  Roger Sayle  <roger@nextmovesoftware.com>

gcc/testsuite/ChangeLog
* gcc.target/i386/xop-pcmov3.c: Add -mno-avx512vl to dg-options.
gcc/testsuite/gcc.target/i386/xop-pcmov3.c