]> git.ipfire.org Git - thirdparty/qemu.git/commit
tcg/arm: Reduce vector alignment requirement for NEON
authorRichard Henderson <richard.henderson@linaro.org>
Sun, 12 Sep 2021 17:49:25 +0000 (10:49 -0700)
committerMichael Roth <michael.roth@amd.com>
Wed, 15 Dec 2021 13:13:27 +0000 (07:13 -0600)
commit711bd602cc432e4ab0c4c59f19d6611302870248
tree75d049b884227be43476c1086baad07c1c16c1fe
parente88636b4d46b91e130ae715b8d8b90f62e414428
tcg/arm: Reduce vector alignment requirement for NEON

With arm32, the ABI gives us 8-byte alignment for the stack.
While it's possible to realign the stack to provide 16-byte alignment,
it's far easier to simply not encode 16-byte alignment in the
VLD1 and VST1 instructions that we emit.

Remove the assertion in temp_allocate_frame, limit natural alignment
to the provided stack alignment, and add a comment.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1999878
Reported-by: Richard W.M. Jones <rjones@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210912174925.200132-1-richard.henderson@linaro.org>
Message-Id: <20211206191335.230683-2-richard.henderson@linaro.org>
(cherry picked from commit b9537d5904f6e3df896264a6144883ab07db9608)
Signed-off-by: Michael Roth <michael.roth@amd.com>
tcg/arm/tcg-target.c.inc
tcg/tcg.c