https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110100

--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-13 branch has been updated by Alex Coplan
<acop...@gcc.gnu.org>:

https://gcc.gnu.org/g:9df688cbf908adc43e92bd012dafa88680ea11dc

commit r13-7461-g9df688cbf908adc43e92bd012dafa88680ea11dc
Author: Alex Coplan <alex.cop...@arm.com>
Date:   Tue Jun 6 11:52:19 2023 +0100

    aarch64: Fix wrong code with st64b builtin [PR110100]

    The st64b pattern incorrectly had an output constraint on the register
    operand containing the destination address for the store, leading to
    wrong code. This patch fixes that.

    gcc/ChangeLog:

            PR target/110100
            * config/aarch64/aarch64-builtins.cc (aarch64_expand_builtin_ls64):
            Use input operand for the destination address.
            * config/aarch64/aarch64.md (st64b): Fix constraint on address
            operand.

    gcc/testsuite/ChangeLog:

            PR target/110100
            * gcc.target/aarch64/acle/pr110100.c: New test.

    (cherry picked from commit 737a0b749a7bc3e7cb904ea2d4b18dc130514b85)

Reply via email to