[gcc r17-3458] x86: Disable AVX512BW for pr70325.c
"H.J. Lu via Gcc-cvs" <[email protected]>
| Newsgroups | gmane.comp.gcc.cvs |
|---|---|
| Message-ID | <[email protected]> |
https://gcc.gnu.org/g:bcadbdbac58b5a7bbc9d8df74709d25b3c68add5 commit r17-3458-gbcadbdbac58b5a7bbc9d8df74709d25b3c68add5 Author: H.J. Lu <[email protected]> Date: Thu Aug 20 14:31:46 2026 +0800 x86: Disable AVX512BW for pr70325.c __builtin_ia32_storedquqi256_mask is available when both AVX512VL and AVX512BW are enabled. Disable AVX512BW for pr70325.c to avoid FAIL: gcc.target/i386/pr70325.c (test for excess errors) FAIL: gcc.target/i386/pr70325.c (test for warnings, line 11) due to the generated error: .../gcc.target/i386/pr70325.c:11:37: warning: passing argument 1 of ‘__builtin_ia32_storedquqi256_mask’ from incompatible pointer type [-Wincompatible-pointer-types] .../gcc.target/i386/pr70325.c:11:37: note: expected ‘char *’ but argument is of type ‘C *’ {aka ‘__vector(32) char *’} vs the expected error .../gcc.target/i386/pr70325.c: In function ‘f’: .../gcc.target/i386/pr70325.c:11:3: warning: implicit declaration of function ‘__builtin_ia32_storedquqi256_mask’; did you mean ‘__builtin_ia32_storedqudi256_mask’? [-Wimplicit-function-declaration] when AVX512BW is enabled by default. PR testsuite/126923 * gcc.target/i386/pr70325.c (dg-options): Add -mno-avx512bw. Signed-off-by: H.J. Lu <[email protected]> Diff: --- gcc/testsuite/gcc.target/i386/pr70325.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/i386/pr70325.c b/gcc/testsuite/gcc.target/i386/pr70325.c index 8b307399333e..2f6a0e7bbb01 100644 --- a/gcc/testsuite/gcc.target/i386/pr70325.c +++ b/gcc/testsuite/gcc.target/i386/pr70325.c @@ -1,6 +1,6 @@ /* PR target/70325 */ /* { dg-do compile } */ -/* { dg-options "-fpermissive -mavx512vl -O2" } */ +/* { dg-options "-fpermissive -mavx512vl -mno-avx512bw -O2" } */ typedef char C __attribute((__vector_size__(32))); typedef int I __attribute((__vector_size__(32)));