[Bug target/126959] -march=znver4 prefers load from memory for mask register

"cvs-commit at gcc dot gnu.org via Gcc-bugs" <[email protected]>
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126959

--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by H.J. Lu <[email protected]>:

https://gcc.gnu.org/g:beaa3e1858efd806829c584ded21d70230a342a0

commit r17-3461-gbeaa3e1858efd806829c584ded21d70230a342a0
Author: H.J. Lu <[email protected]>
Date:   Thu Aug 20 15:12:29 2026 +0800

    uintr-4.c: Check SSE, AVX or AVX512 in the error message

    When AVX or AVX512F is enabled by default, we get the error message

    sorry, unimplemented: AVX instructions arenât allowed in an exception
service routine

    or

    sorry, unimplemented: AVX512 instructions arenât allowed in an exception
service routine

    instead of

    sorry, unimplemented: SSE instructions arenât allowed in an exception
service routine

    Update to check SSE, AVX or AVX512 in the expected error message.

            PR target/126959
            * gcc.target/i386/uintr-4.c: Check SSE, AVX or AVX512 in the
            expected error message.

    Signed-off-by: H.J. Lu <[email protected]>
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.