diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2021-09-12 10:49:25 -0700 |
---|---|---|
committer | Michael Roth <michael.roth@amd.com> | 2021-12-15 07:13:27 -0600 |
commit | 711bd602cc432e4ab0c4c59f19d6611302870248 (patch) | |
tree | 75d049b884227be43476c1086baad07c1c16c1fe /cpu.c | |
parent | e88636b4d46b91e130ae715b8d8b90f62e414428 (diff) |
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>
Diffstat (limited to 'cpu.c')
0 files changed, 0 insertions, 0 deletions