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

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Aug 20 07:54:03 GMT 2026


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 <hjl@gcc.gnu.org>:

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

commit r17-3461-gbeaa3e1858efd806829c584ded21d70230a342a0
Author: H.J. Lu <hjl.tools@gmail.com>
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 <hjl.tools@gmail.com>


More information about the Gcc-bugs mailing list