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

--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Andrew Pinski <pins...@gcc.gnu.org>:

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

commit r14-8671-gdbf847d2c8d1c910948ba34c9338939c67323273
Author: Andrew Pinski <quic_apin...@quicinc.com>
Date:   Tue Jan 30 00:50:56 2024 -0800

    aarch64: -mstrict-align vs __arm_data512_t [PR113657]

    After r14-1187-gd6b756447cd58b, simplify_gen_subreg can return
    NULL for "unaligned" memory subreg. Since V8DI has an alignment of 8 bytes,
    using TImode causes simplify_gen_subreg to return NULL.
    This fixes the issue by using DImode instead for the loop. And then we will
have
    later on the STP/LDP pass combine it back into STP/LDP if needed.
    Since strict align is less important (usually used for firmware and early
boot only),
    not doing LDP/STP here is ok.

    Built and tested for aarch64-linux-gnu with no regressions.

            PR target/113657

    gcc/ChangeLog:

            * config/aarch64/aarch64-simd.md (split for movv8di):
            For strict aligned mode, use DImode instead of TImode.

    gcc/testsuite/ChangeLog:

            * gcc.target/aarch64/acle/ls64_strict_align.c: New test.

    Signed-off-by: Andrew Pinski <quic_apin...@quicinc.com>
  • [Bug target/113657] [14 Regress... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to