machinst/x64: teach regalloc what FP instructions are moves;

and cosmetic changes after #1665 landed.
This commit is contained in:
Benjamin Bouvier
2020-06-10 18:37:45 +02:00
parent 0303834082
commit ef5de04d32
3 changed files with 9 additions and 9 deletions

View File

@@ -315,9 +315,7 @@ impl ABIBody for X64ABIBody {
from_reg.to_reg(),
Writable::<Reg>::from_reg(to_reg.to_reg()),
))
} else if to_reg.get_class() == RegClass::V128
|| to_reg.get_class() == RegClass::V128
{
} else if to_reg.get_class() == RegClass::V128 {
ret.push(Inst::xmm_r_r(
SSE_Op::SSE2_Movsd,
from_reg.to_reg(),