Re: [PATCH] x86: Disable AVX512BW for pr70325.c

Hongtao Liu <[email protected]>
Newsgroups gmane.comp.gcc.patches
Message-ID <CAMZc-byYJZ73=WuG5YKtGmDRX5iWiRcvvDOxbsbhbj=7uJsDgw@mail.gmail.com>
On Thu, Aug 20, 2026 at 2:42 PM H.J. Lu <[email protected]> wrote:
>
> __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.

Ok.
>
> PR testsuite/126923
> * gcc.target/i386/pr70325.c (dg-options): Add -mno-avx512bw.
>
> --
> H.J.



-- 
BR,
Hongtao
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.