target/arm: Introduce neon_full_reg_offset
commit015ee81a4c06b644969f621fd9965cc6372b879e
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 2 Nov 2020 16:52:12 +0000 (2 16:52 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 2 Nov 2020 16:52:12 +0000 (2 16:52 +0000)
treec0d9ebec85f8ba68acdbf0759cc9a0cc5b985894
parentb149dea55cce97cb226683d06af61984a1c11e96
target/arm: Introduce neon_full_reg_offset

This function makes it clear that we're talking about the whole
register, and not the 32-bit piece at index 0.  This fixes a bug
when running on a big-endian host.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20201030022618.785675-2-richard.henderson@linaro.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/translate-neon.c.inc
target/arm/translate-vfp.c.inc
target/arm/translate.c