From 9ee0fb4c276cc0281ce180917c1bd20600ae7e09 Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Wed, 22 May 2019 21:15:33 +0200 Subject: [PATCH] vect-signbitf.c (dg-final): Improve scan-assembler-not string to avoid false matching on 32bit targets. * gcc.target/i386/vect-signbitf.c (dg-final): Improve scan-assembler-not string to avoid false matching on 32bit targets. From-SVN: r271520 --- gcc/testsuite/ChangeLog | 11 +++++++---- gcc/testsuite/gcc.target/i386/vect-signbitf.c | 4 ++-- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 86ef3b60886..02321f04d78 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2019-05-22 Uroš Bizjak + + * gcc.target/i386/vect-signbitf.c (dg-final): Improve + scan-assembler-not string to avoid false matching on 32bit targets. + 2019-05-22 H.J. Lu PR target/88483 @@ -32,8 +37,7 @@ 2019-05-22 Martin Liska PR testsuite/90564 - * gcc.target/powerpc/pr80315-1.c: Add one extra \ to escape - brackets. + * gcc.target/powerpc/pr80315-1.c: Add one extra \ to escape brackets. * gcc.target/powerpc/pr80315-2.c: Likewise. * gcc.target/powerpc/pr80315-3.c: Likewise. * gcc.target/powerpc/pr80315-4.c: Likewise. @@ -46,8 +50,7 @@ 2019-05-22 Martin Liska PR lto/90500 - * gcc.target/i386/pr90500-1.c: Make the test-case valid - now. + * gcc.target/i386/pr90500-1.c: Make the test-case valid now. 2019-05-22 Richard Biener diff --git a/gcc/testsuite/gcc.target/i386/vect-signbitf.c b/gcc/testsuite/gcc.target/i386/vect-signbitf.c index b3ef1062c83..81cae1391d5 100644 --- a/gcc/testsuite/gcc.target/i386/vect-signbitf.c +++ b/gcc/testsuite/gcc.target/i386/vect-signbitf.c @@ -19,12 +19,12 @@ main (void) /* check results: */ for (i = 0; i < N; i++) - if (__builtin_signbit (a[i]) && !r[i]) + if (__builtin_signbitf (a[i]) && !r[i]) abort (); return 0; } /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */ -/* { dg-final { scan-assembler-not "-2147483648" } } */ +/* { dg-final { scan-assembler-not "\\$-2147483648" } } */ /* { dg-final { scan-assembler "psrld" } } */