diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2024-02-02 09:34:14 +1000 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2024-02-09 10:44:49 +0300 |
commit | 8b7750c66f191ec830c2985dcc1382703b48a117 (patch) | |
tree | 177669a9c53d90d69e21d1bda5bb6e599aaa2c36 /cpu-target.c | |
parent | 5f5e30229eea3971135ddc6dc70635866e605b63 (diff) |
tcg/loongarch64: Set vector registers call clobbered
Because there are more call clobbered registers than
call saved registers, we begin with all registers as
call clobbered and then reset those that are saved.
This was missed when we introduced the LSX support.
Cc: qemu-stable@nongnu.org
Fixes: 16288ded944 ("tcg/loongarch64: Lower basic tcg vec ops to LSX")
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2136
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20240201233414.500588-1-richard.henderson@linaro.org>
(cherry picked from commit 45bf0e7aa648369cf8ab2333bd20144806fc1be3)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'cpu-target.c')
0 files changed, 0 insertions, 0 deletions