Jit64: don't unnecessarily load registers

This commit is contained in:
Tillmann Karras 2013-11-07 01:57:52 +01:00
parent ddaf29e039
commit 710a0ff435
1 changed files with 3 additions and 3 deletions

View File

@ -46,7 +46,7 @@ void Jit64::fp_tri_op(int d, int a, int b, bool reversible, bool single,
else
{
MOVSD(XMM0, fpr.R(b));
fpr.BindToRegister(d, !single);
fpr.BindToRegister(d, false);
MOVSD(fpr.RX(d), fpr.R(a));
(this->*op_2)(fpr.RX(d), Gen::R(XMM0));
}
@ -56,13 +56,13 @@ void Jit64::fp_tri_op(int d, int a, int b, bool reversible, bool single,
{
if (op_3)
{
fpr.BindToRegister(d, !single);
fpr.BindToRegister(d, false);
fpr.BindToRegister(a);
(this->*op_3)(fpr.RX(d), fpr.RX(a), fpr.R(b));
}
else
{
fpr.BindToRegister(d, !single);
fpr.BindToRegister(d, false);
MOVSD(fpr.RX(d), fpr.R(a));
(this->*op_2)(fpr.RX(d), fpr.R(b));
}