public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-9147] testsuite: vect: Actually skip gcc.dg/vect/vect-bic-bitmask-12.c etc. on SPARC
@ 2024-02-23  9:15 Rainer Orth
  0 siblings, 0 replies; only message in thread
From: Rainer Orth @ 2024-02-23  9:15 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:818094a07a0b550643ecd0090647dc29cc9e153a

commit r14-9147-g818094a07a0b550643ecd0090647dc29cc9e153a
Author: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Date:   Fri Feb 23 10:14:31 2024 +0100

    testsuite: vect: Actually skip  gcc.dg/vect/vect-bic-bitmask-12.c etc. on SPARC
    
    gcc.dg/vect/vect-bic-bitmask-12.c and gcc.dg/vect/vect-bic-bitmask-23.c
    currently FAIL on 32 and 64-bit Solaris/SPARC
    
    FAIL: gcc.dg/vect/vect-bic-bitmask-12.c -flto -ffat-lto-objects  scan-tree-dump dce7 "<=\\\\s*.+{ 255,.+}"
    FAIL: gcc.dg/vect/vect-bic-bitmask-12.c scan-tree-dump dce7 "<=\\\\s*.+{ 255,.+}"
    FAIL: gcc.dg/vect/vect-bic-bitmask-23.c -flto -ffat-lto-objects  scan-tree-dump dce7 "<=\\\\s*.+{ 255, 15, 1, 65535 }"
    FAIL: gcc.dg/vect/vect-bic-bitmask-23.c scan-tree-dump dce7 "<=\\\\s*.+{ 255, 15, 1, 65535 }"
    
    although they should be skipped since
    
    commit 5f07095d22f58572c06997aa6d4f3bc456e1925d
    Author: Tamar Christina <tamar.christina@arm.com>
    Date:   Tue Mar 8 11:32:59 2022 +0000
    
        vect: disable bitmask tests on sparc
    
    The problem is that dg-skip-if must come after dg-do, although this
    isn't currently documented unfortunately.
    
    Fixed by reordering the directives.
    
    Tested on sparc-sun-solaris2.11 and i386-pc-solaris2.11.
    
    2024-02-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
    
            gcc/testsuite:
            * gcc.dg/vect/vect-bic-bitmask-12.c: Move dg-skip-if down.
            * gcc.dg/vect/vect-bic-bitmask-23.c: Likewise.

Diff:
---
 gcc/testsuite/gcc.dg/vect/vect-bic-bitmask-12.c | 2 +-
 gcc/testsuite/gcc.dg/vect/vect-bic-bitmask-23.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/testsuite/gcc.dg/vect/vect-bic-bitmask-12.c b/gcc/testsuite/gcc.dg/vect/vect-bic-bitmask-12.c
index 213e4c2a4189..70e609a3326d 100644
--- a/gcc/testsuite/gcc.dg/vect/vect-bic-bitmask-12.c
+++ b/gcc/testsuite/gcc.dg/vect/vect-bic-bitmask-12.c
@@ -1,6 +1,6 @@
-/* { dg-skip-if "missing optab for vectorization" { sparc*-*-* } } */
 /* { dg-do compile } */
 /* { dg-additional-options "-O3 -fdump-tree-dce -w" } */
+/* { dg-skip-if "missing optab for vectorization" { sparc*-*-* } } */
 
 #include <stdint.h>
 
diff --git a/gcc/testsuite/gcc.dg/vect/vect-bic-bitmask-23.c b/gcc/testsuite/gcc.dg/vect/vect-bic-bitmask-23.c
index 5dceb4bbcb64..95e280005f24 100644
--- a/gcc/testsuite/gcc.dg/vect/vect-bic-bitmask-23.c
+++ b/gcc/testsuite/gcc.dg/vect/vect-bic-bitmask-23.c
@@ -1,6 +1,6 @@
-/* { dg-skip-if "missing optab for vectorization" { sparc*-*-* } } */
 /* { dg-do compile } */
 /* { dg-additional-options "-O1 -fdump-tree-dce -w" } */
+/* { dg-skip-if "missing optab for vectorization" { sparc*-*-* } } */
 
 #include <stdint.h>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-02-23  9:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-23  9:15 [gcc r14-9147] testsuite: vect: Actually skip gcc.dg/vect/vect-bic-bitmask-12.c etc. on SPARC Rainer Orth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).