tcg/i386: Mark xmm registers call-clobbered
PATCH 1/1 tcg/i386: Mark xmm registers call-clobbered
When host vector registers and operations were introduced, I failed to mark the registers call clobbered as required by the ABI.
Fixes 770c2fc7bb7
Reported-by Jason A. Donenfeld <[email protected]>
Signed-off-by Richard Henderson <[email protected]>
--- tcg/i386/tcg-target.inc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tcg/i386/tcg-target.inc.c +1 -1
@@ -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 );
Signature · 1 line
2.17.1
Hi Richard,
I can confirm this fixes the issue.
https://www.wireguard.com/build-status/ is now all green again.
Thanks,
Jason