mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 16:19:28 +01:00
JitArm64: Fix float load & store
This commit is contained in:
parent
36902c58eb
commit
24fec3ebca
@ -73,12 +73,12 @@ void JitArm64::lfXX(UGeckoInstruction inst)
|
|||||||
|
|
||||||
RegType type = !!(flags & BackPatchInfo::FLAG_SIZE_F64) ? REG_LOWER_PAIR : REG_DUP;
|
RegType type = !!(flags & BackPatchInfo::FLAG_SIZE_F64) ? REG_LOWER_PAIR : REG_DUP;
|
||||||
|
|
||||||
ARM64Reg VD = fpr.RW(inst.FD, type);
|
|
||||||
ARM64Reg addr_reg = W0;
|
|
||||||
|
|
||||||
gpr.Lock(W0, W30);
|
gpr.Lock(W0, W30);
|
||||||
fpr.Lock(Q0);
|
fpr.Lock(Q0);
|
||||||
|
|
||||||
|
ARM64Reg VD = fpr.RW(inst.FD, type);
|
||||||
|
ARM64Reg addr_reg = W0;
|
||||||
|
|
||||||
if (update)
|
if (update)
|
||||||
{
|
{
|
||||||
// Always uses RA
|
// Always uses RA
|
||||||
@ -262,12 +262,12 @@ void JitArm64::stfXX(UGeckoInstruction inst)
|
|||||||
u32 imm_addr = 0;
|
u32 imm_addr = 0;
|
||||||
bool is_immediate = false;
|
bool is_immediate = false;
|
||||||
|
|
||||||
ARM64Reg V0 = fpr.R(inst.FS, REG_IS_LOADED);
|
|
||||||
ARM64Reg addr_reg = W1;
|
|
||||||
|
|
||||||
gpr.Lock(W0, W1, W30);
|
gpr.Lock(W0, W1, W30);
|
||||||
fpr.Lock(Q0);
|
fpr.Lock(Q0);
|
||||||
|
|
||||||
|
ARM64Reg V0 = fpr.R(inst.FS, REG_IS_LOADED);
|
||||||
|
ARM64Reg addr_reg = W1;
|
||||||
|
|
||||||
if (update)
|
if (update)
|
||||||
{
|
{
|
||||||
// Always uses RA
|
// Always uses RA
|
||||||
|
Loading…
x
Reference in New Issue
Block a user