Mark xmm registers call-clobbered.

-----BEGIN PGP SIGNATURE-----
 
 iQEcBAABAgAGBQJbVg5DAAoJEGTfOOivfiFf7asH/jk/krKaLUyHaBUox3kPZwME
 E4bkfNLD3veb0I9Q+htLcIvPqLXuXdIC7MXE4MtfB6MPOHt5YMdwnvGAIoeWfkqP
 /hcvWNMZBg3cKhrIaoGE4xyM/iYfd0B4JYK0tPlanFEJ7Jw6r8dQc2ZUCRc/7JY/
 XtyCaJJmkggDaqMyj8p0FUc/b4tg2ccch3E0lIl8XVLNHXFmzBdok3CW0k0H+amI
 YqXwmaHTwvWtuDrsBO3Q3uF6k7zGroa7KLTXf4QLM1hYMsTXJDasEFFd+qp+pwZp
 2rrA+oIN3JWPggy5LI9vZ6gs7HOki/YFndayl6dGo6Wqzf8QW9waoZiEsbO3Bxw=
 =Kgc2
 -----END PGP SIGNATURE-----

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>
This commit is contained in:
Peter Maydell 2018-07-23 19:24:05 +01:00
commit 4eecc2e212

View File

@ -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);