]> git.ipfire.org Git - people/ms/gcc.git/commit
[PR40457] [arm] expand SI-aligned movdi into pair of movsi
authorAlexandre Oliva <oliva@adacore.com>
Sat, 14 Jan 2023 00:15:41 +0000 (21:15 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Sat, 14 Jan 2023 00:15:41 +0000 (21:15 -0300)
commitacddf6665f067bc98a2529a699b1d4509a7387cb
tree227b4f66c644f9021590583a961bf5a317471337
parentccd4df81aa6537c3c935b026905f6e2fd839654e
[PR40457] [arm] expand SI-aligned movdi into pair of movsi

When expanding a misaligned DImode move, emit aligned SImode moves if
the parts are sufficiently aligned.  This enables neighboring stores
to be peephole-combined into stm, as expected by the PR40457 testcase,
even after SLP vectorizes the originally aligned SImode stores into a
misaligned DImode store.

for  gcc/ChangeLog

PR target/40457
* config/arm/arm.md (movmisaligndi): Prefer aligned SImode
moves.
gcc/config/arm/arm.md