mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Fix LIR_std2f implementation on ARM. [Bug 572679] [r=vlad]
--HG-- extra : convert_revision : 6998a52045d0d573bd78e2dd1bfd41c0a86309b0
This commit is contained in:
parent
aad41df407
commit
05a5c664a9
@ -1507,14 +1507,13 @@ Assembler::asm_store64(LOpcode op, LIns* value, int dr, LIns* base)
|
||||
Register rb = findRegFor(base, GpRegs);
|
||||
|
||||
if (value->isImmD()) {
|
||||
underrunProtect(LD32_size*2 + 8);
|
||||
|
||||
// XXX use another reg, get rid of dependency
|
||||
union {
|
||||
float f;
|
||||
uint32_t i;
|
||||
} imm;
|
||||
imm.f = (float)(value->immD());
|
||||
asm_str(IP, rb, dr);
|
||||
asm_ld_imm(IP, value->immDlo(), false);
|
||||
asm_str(IP, rb, dr+4);
|
||||
asm_ld_imm(IP, value->immDhi(), false);
|
||||
|
||||
asm_ld_imm(IP, imm.i);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user