FFI: Fix unfused loads of float fields.

This commit is contained in:
Mike Pall 2011-10-13 20:53:01 +02:00
parent bc95d54ec9
commit 882537a874

View File

@ -1147,7 +1147,7 @@ static void asm_strref(ASMState *as, IRIns *ir)
static void asm_fxload(ASMState *as, IRIns *ir)
{
Reg dest = ra_dest(as, ir, irt_isnum(ir->t) ? RSET_FPR : RSET_GPR);
Reg dest = ra_dest(as, ir, irt_isfp(ir->t) ? RSET_FPR : RSET_GPR);
x86Op xo;
if (ir->o == IR_FLOAD)
asm_fusefref(as, ir, RSET_GPR);