From 57e088f5ed204ebc3cc43a432320ef85e69d4657 Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Thu, 27 Jun 2019 10:19:37 +0000 Subject: [PATCH] ix86: pass correct options to compiler for gfni-4 testcase SSE2 is the required prereq of the builtins; as x86-64 has SSE2 enabled anyway, the test failure was noticable on 32-bit builds only. From-SVN: r272743 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.target/i386/gfni-4.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 388fd2b5573..732194f37ca 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2019-06-27 Jan Beulich + + * gcc.target/i386/gfni-4.c: Pass -msse2. + 2019-06-27 Richard Biener * gcc.dg/tree-ssa/ssa-fre-69.c: New testcase. diff --git a/gcc/testsuite/gcc.target/i386/gfni-4.c b/gcc/testsuite/gcc.target/i386/gfni-4.c index e0750054b82..39b33841f7a 100644 --- a/gcc/testsuite/gcc.target/i386/gfni-4.c +++ b/gcc/testsuite/gcc.target/i386/gfni-4.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-mgfni -O2 -msse" } */ +/* { dg-options "-mgfni -O2 -msse2" } */ /* { dg-final { scan-assembler-times "gf2p8affineinvqb\[ \\t\]+\[^\{\n\]*\\\$3\[^\n\r]*%xmm\[0-9\]+\[^\n\r]*%xmm\[0-9\]+(?:\n|\[ \\t\]+#)" 1 } } */ /* { dg-final { scan-assembler-times "gf2p8affineqb\[ \\t\]+\[^\{\n\]*\\\$3\[^\n\r]*%xmm\[0-9\]+\[^\n\r]*%xmm\[0-9\]+(?:\n|\[ \\t\]+#)" 1 } } */ /* { dg-final { scan-assembler-times "gf2p8mulb\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\[^\n\r]*%xmm\[0-9\]+(?:\n|\[ \\t\]+#)" 1 } } */ -- 2.30.2