aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2018-07-23 19:24:05 +0100
committerPeter Maydell <peter.maydell@linaro.org>2018-07-23 19:24:05 +0100
commit4eecc2e212bae7308d8582d99f665dfc253c9dda (patch)
tree52a7d6f55de1af63a139190a8b1d5b6f7bd1fb1a
parent5c29b203df6dc2416bffaee11d49f12b76662420 (diff)
parent672189cd586ea38a2c1d8ab91eb1f9dcff5ceb05 (diff)
downloadqemu-4eecc2e212bae7308d8582d99f665dfc253c9dda.zip
qemu-4eecc2e212bae7308d8582d99f665dfc253c9dda.tar.gz
qemu-4eecc2e212bae7308d8582d99f665dfc253c9dda.tar.bz2
Merge remote-tracking branch 'remotes/rth/tags/pull-tcg-20180723' into staging
Mark xmm registers call-clobbered. # gpg: Signature made Mon 23 Jul 2018 18:20:03 BST # gpg: using RSA key 64DF38E8AF7E215F # gpg: Good signature from "Richard Henderson <richard.henderson@linaro.org>" # Primary key fingerprint: 7A48 1E78 868B 4DB6 A85A 05C0 64DF 38E8 AF7E 215F * remotes/rth/tags/pull-tcg-20180723: tcg/i386: Mark xmm registers call-clobbered Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r--tcg/i386/tcg-target.inc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcg/i386/tcg-target.inc.c b/tcg/i386/tcg-target.inc.c
index e87b0d4..a91e4f1 100644
--- a/tcg/i386/tcg-target.inc.c
+++ b/tcg/i386/tcg-target.inc.c
@@ -3532,7 +3532,7 @@ static void tcg_target_init(TCGContext *s)
tcg_target_available_regs[TCG_TYPE_V256] = ALL_VECTOR_REGS;
}
- tcg_target_call_clobber_regs = 0;
+ tcg_target_call_clobber_regs = ALL_VECTOR_REGS;
tcg_regset_set_reg(tcg_target_call_clobber_regs, TCG_REG_EAX);
tcg_regset_set_reg(tcg_target_call_clobber_regs, TCG_REG_EDX);
tcg_regset_set_reg(tcg_target_call_clobber_regs, TCG_REG_ECX);