mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-05 12:13:50 +01:00
x86jit: Implement trig/reciprocals.
This commit is contained in:
1 parent
4b1c809886
commit
61a99b4bac
9 files changed
+176
-5
No files matched your search
@@ -159,6 +159,15 @@ bool IRNativeRegCacheBase::IsFPRMapped(IRReg fpr) {
|
||||
return mr[fpr + 32].loc == MIPSLoc::FREG || mr[fpr + 32].loc == MIPSLoc::VREG;
|
||||
}
|
||||
|
||||
int IRNativeRegCacheBase::GetFPRLane(IRReg fpr) {
|
||||
_dbg_assert_(IsValidFPR(fpr));
|
||||
if (mr[fpr + 32].loc == MIPSLoc::FREG || mr[fpr + 32].loc == MIPSLoc::VREG) {
|
||||
int l = mr[fpr + 32].lane;
|
||||
return l == -1 ? 0 : l;
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
||||
bool IRNativeRegCacheBase::IsGPRMappedAsPointer(IRReg gpr) {
|
||||
_dbg_assert_(IsValidGPR(gpr));
|
||||
if (mr[gpr].loc == MIPSLoc::REG) {
|
||||
|
||||
Reference in new issue
Block a user