mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-21 03:54:57 +00:00
Jit_SystemRegisters: mffsx
This commit is contained in:
parent
62484141f2
commit
7d7316c90f
1 changed files with 3 additions and 2 deletions
|
@ -655,11 +655,12 @@ void Jit64::mffsx(UGeckoInstruction inst)
|
|||
MOV(32, PPCSTATE(fpscr), R(RSCRATCH));
|
||||
|
||||
int d = inst.FD;
|
||||
fpr.BindToRegister(d, false, true);
|
||||
RCX64Reg Rd = fpr.Bind(d, RCMode::Write);
|
||||
RegCache::Realize(Rd);
|
||||
MOV(64, R(RSCRATCH2), Imm64(0xFFF8000000000000));
|
||||
OR(64, R(RSCRATCH), R(RSCRATCH2));
|
||||
MOVQ_xmm(XMM0, R(RSCRATCH));
|
||||
MOVSD(fpr.RX(d), R(XMM0));
|
||||
MOVSD(Rd, R(XMM0));
|
||||
}
|
||||
|
||||
// MXCSR = s_fpscr_to_mxcsr[FPSCR & 7]
|
||||
|
|
Loading…
Add table
Reference in a new issue