[gcc r17-3403] xop-pcmov3.c: Disable AVX512F

"H.J. Lu via Gcc-cvs" <[email protected]>
Newsgroups gmane.comp.gcc.cvs
Message-ID <[email protected]>
https://gcc.gnu.org/g:06fd55468f12f3e6acf4172ee74d6545be231fde

commit r17-3403-g06fd55468f12f3e6acf4172ee74d6545be231fde
Author: H.J. Lu <[email protected]>
Date:   Wed Aug 19 06:29:57 2026 +0800

    xop-pcmov3.c: Disable AVX512F
    
    Since the *avx512vl_vternlogv4si_all pattern is enabled by TARGET_AVX512VL
    or TARGET_AVX512F && !TARGET_PREFER_AVX256, disable AVX512F to avoid
    
    FAIL: gcc.target/i386/xop-pcmov3.c scan-assembler vpcmov
    
    when TARGET_PREFER_AVX256 isn't enabled by default.
    
            PR testsuite/126923
            * gcc.target/i386/xop-pcmov3.c (dg-options): Replace -mno-avx512vl
            with -mno-avx512f.
    
    Signed-off-by: H.J. Lu <[email protected]>

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

diff --git a/gcc/testsuite/gcc.target/i386/xop-pcmov3.c b/gcc/testsuite/gcc.target/i386/xop-pcmov3.c
index ea03d55a2e61..c7ecc21c9df6 100644
--- a/gcc/testsuite/gcc.target/i386/xop-pcmov3.c
+++ b/gcc/testsuite/gcc.target/i386/xop-pcmov3.c
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -mxop -mno-avx512vl" } */
+/* { dg-options "-O2 -mxop -mno-avx512f" } */
 typedef int v4si __attribute__ ((vector_size (16)));
 
 v4si foo(v4si c, v4si t, v4si f)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.