target-arm: Fix AArch32:AArch64 general-purpose register mapping
commit3a9148d0bdcee990fbe86759b9b1f5723c1d7fbc
authorSergey Sorokin <afarallax@yandex.ru>
Mon, 7 Sep 2015 09:39:29 +0000 (7 10:39 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 7 Sep 2015 09:39:29 +0000 (7 10:39 +0100)
tree365a4a6957ae675beb890581a4483cc0f1dfd7fe
parent8f6fd322f6e25995629a1a07b56bc5b91fb947ca
target-arm: Fix AArch32:AArch64 general-purpose register mapping

There is an error in functions aarch64_sync_32_to_64() and
aarch64_sync_64_to_32() with mapping of registers between AArch32 and
AArch64.  This commit fixes the mapping to match the v8 ARM ARM
section D1.20.1 (table D1-77).

Signed-off-by: Sergey Sorokin <afarallax@yandex.ru>
Message-id: 1440796451-15276-1-git-send-email-afarallax@yandex.ru
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
[PMM: tidied commit message a bit]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target-arm/helper.c