]> git.ipfire.org Git - thirdparty/qemu.git/commit
tcg/loongarch64: Set vector registers call clobbered
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 1 Feb 2024 23:34:14 +0000 (09:34 +1000)
committerRichard Henderson <richard.henderson@linaro.org>
Sat, 3 Feb 2024 06:46:10 +0000 (16:46 +1000)
commit45bf0e7aa648369cf8ab2333bd20144806fc1be3
tree523f44f0e2e467c253c22d04aa6000cd38680448
parentda4038d2da6d3a3d5f86665bd51b2ba49df5d652
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>
tcg/loongarch64/tcg-target.c.inc