Core: Add being able to get FPU_FloatLow from CX86RegInfo::FPRValuePointer

This commit is contained in:
zilmar 2024-01-04 12:32:55 +10:30
parent 23cff4d7c5
commit 0998f0ff0e
2 changed files with 6 additions and 2 deletions

View File

@ -377,6 +377,9 @@ asmjit::x86::Gp CX86RegInfo::FPRValuePointer(int32_t Reg, FPU_STATE Format)
case FPU_UnsignedDoubleWord:
m_Assembler.MoveVariableToX86reg(TempReg, &g_Reg->m_FPR_UDW[Reg], stdstr_f("m_FPR_UDW[%d]", Reg).c_str());
break;
case FPU_FloatLow:
m_Assembler.MoveVariableToX86reg(TempReg, &g_Reg->m_FPR_S_L[Reg], stdstr_f("m_FPR_S_L[%d]", Reg).c_str());
break;
default:
g_Notify->BreakPoint(__FILE__, __LINE__);
}

View File

@ -61,8 +61,9 @@ public:
FPU_Dword = 1,
FPU_Qword = 2,
FPU_Float = 3,
FPU_Double = 4,
FPU_UnsignedDoubleWord = 5,
FPU_FloatLow = 4,
FPU_Double = 5,
FPU_UnsignedDoubleWord = 6,
};
CX86RegInfo(CCodeBlock & CodeBlock, CX86Ops & Assembler);