]> git.proxmox.com Git - mirror_qemu.git/commit
tcg/tci: Fix big-endian return register ordering
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 21 Oct 2022 00:34:21 +0000 (10:34 +1000)
committerRichard Henderson <richard.henderson@linaro.org>
Sat, 4 Feb 2023 16:19:42 +0000 (06:19 -1000)
commit896c76e6ba5d9a3444fb8528fdc407747ecc82f2
tree775801d8011510f2627a1ce32bf44d5e88e0d0ac
parentc4f4a00ac7d947c9b100e3cb62755a9a157df1fa
tcg/tci: Fix big-endian return register ordering

We expect the backend to require register pairs in
host-endian ordering, thus for big-endian the first
register of a pair contains the high part.
We were forcing R0 to contain the low part for calls.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/tci.c