testsuite: Fix up pr104188.c testcase for i686-linux [PR104188]
On i686-linux this new testcase FAILs with: cc1: warning: SSE instruction set disabled, using 387 arithmetics FAIL: gcc.target/i386/pr104188.c (test for excess errors) Excess errors: cc1: warning: SSE instruction set disabled, using 387 arithmetics This is because it uses -mfpmath=sse, but -msse2 isn't on. Fixed by adding -msse2 to dg-options and requiring sse2_runtime effective target. 2022-01-26 Jakub Jelinek <jakub@redhat.com> PR target/104188 * gcc.target/i386/pr104188.c: Add dg-require-effective-target sse2_runtime. Add -msse2 to dg-options.
This commit is contained in:
parent
8769f32b64
commit
192e4a9fa0
1 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
/* { dg-do run { target avx512f } } */
|
||||
/* { dg-options "-O2 -mfpmath=sse" } */
|
||||
/* { dg-require-effective-target sse2_runtime } */
|
||||
/* { dg-options "-O2 -msse2 -mfpmath=sse" } */
|
||||
|
||||
#include <x86intrin.h>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue