ARM: Fix code generation for type-check only softfp [AHUV]LOAD.

master
Mike Pall 2011-11-11 01:05:37 +01:00
parent f1849fa928
commit 4bcf2b40fe
1 changed files with 1 additions and 1 deletions

View File

@ -851,7 +851,7 @@ static void asm_ahuvload(ASMState *as, IRIns *ir)
rset_clear(allow, dest);
}
idx = asm_fuseahuref(as, ir->op1, &ofs, allow);
if (!hiop) {
if (!hiop || type == RID_NONE) {
rset_clear(allow, idx);
if (ofs < 256 && ra_hasreg(dest) && (dest & 1) == 0 &&
rset_test((as->freeset & allow), dest+1)) {