public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-8691] testsuite: i386: Fix gcc.target/i386/avx512vl-stv-rotatedi-1.c on 32-bit Solaris/x86
@ 2024-02-01 11:51 Rainer Orth
  0 siblings, 0 replies; only message in thread
From: Rainer Orth @ 2024-02-01 11:51 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:6353c39699076444190b8e329f7c2fc28204662c

commit r14-8691-g6353c39699076444190b8e329f7c2fc28204662c
Author: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Date:   Thu Feb 1 12:50:50 2024 +0100

    testsuite: i386: Fix gcc.target/i386/avx512vl-stv-rotatedi-1.c on 32-bit Solaris/x86
    
    gcc.target/i386/avx512vl-stv-rotatedi-1.c FAILs on 32-bit Solaris/x86
    since its introduction in
    
    commit 4814b63c3c2326cb5d7baa63882da60ac011bd97
    Author: Roger Sayle <roger@nextmovesoftware.com>
    Date:   Mon Jul 10 09:04:29 2023 +0100
    
        i386: Add AVX512 support for STV of SI/DImode rotation by constant.
    
    FAIL: gcc.target/i386/avx512vl-stv-rotatedi-1.c scan-assembler-times vpro[lr]q 29
    
    While the test depends on -mstv, 32-bit Solaris/x86 defaults to
    -mstackrealign which is incompatible.
    
    The patch thus specifies -mstv -mno-stackrealign explicitly.
    
    Tested on i386-pc-solaris2.11 and i686-pc-linux-gnu.
    
    2024-01-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
    
            gcc/testsuite:
            * gcc.target/i386/avx512vl-stv-rotatedi-1.c: Add -mstv
            -mno-stackrealign to dg-options.

Diff:
---
 gcc/testsuite/gcc.target/i386/avx512vl-stv-rotatedi-1.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.target/i386/avx512vl-stv-rotatedi-1.c b/gcc/testsuite/gcc.target/i386/avx512vl-stv-rotatedi-1.c
index 2f0ead8b969d..d3b85a1efe28 100644
--- a/gcc/testsuite/gcc.target/i386/avx512vl-stv-rotatedi-1.c
+++ b/gcc/testsuite/gcc.target/i386/avx512vl-stv-rotatedi-1.c
@@ -1,5 +1,5 @@
 /* { dg-do compile { target ia32 } } */
-/* { dg-options "-O2 -mavx512vl" } */
+/* { dg-options "-O2 -mavx512vl -mstv -mno-stackrealign" } */
 
 unsigned long long rot1(unsigned long long x) { return (x>>1) | (x<<63); }
 unsigned long long rot2(unsigned long long x) { return (x>>2) | (x<<62); }

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

only message in thread, other threads:[~2024-02-01 11:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-01 11:51 [gcc r14-8691] testsuite: i386: Fix gcc.target/i386/avx512vl-stv-rotatedi-1.c on 32-bit Solaris/x86 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).