summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorFiora <fioraaeterna@gmail.com>2014-09-17 16:59:35 -0700
committerFiora <fioraaeterna@gmail.com>2014-09-17 16:59:35 -0700
commitcfd65c2762513e4558c9bd109fdb779ecbdd0131 (patch)
treebb5b7fef0763301521e19fd9d34a092c3e4807f9 /Source
parent5fafcb66802c91052319556f7516992b2cad7b12 (diff)
JIT: rename a few constants to be more accurate
Remove the '2'; it's not longer applicable.
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/Core/PowerPC/Jit64/Jit_FloatingPoint.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/Core/Core/PowerPC/Jit64/Jit_FloatingPoint.cpp b/Source/Core/Core/PowerPC/Jit64/Jit_FloatingPoint.cpp
index a20dd17e89..eb8df62b12 100644
--- a/Source/Core/Core/PowerPC/Jit64/Jit_FloatingPoint.cpp
+++ b/Source/Core/Core/PowerPC/Jit64/Jit_FloatingPoint.cpp
@@ -10,8 +10,8 @@
using namespace Gen;
-static const u64 GC_ALIGNED16(psSignBits2[2]) = {0x8000000000000000ULL, 0x0000000000000000ULL};
-static const u64 GC_ALIGNED16(psAbsMask2[2]) = {0x7FFFFFFFFFFFFFFFULL, 0xFFFFFFFFFFFFFFFFULL};
+static const u64 GC_ALIGNED16(psSignBits[2]) = {0x8000000000000000ULL, 0x0000000000000000ULL};
+static const u64 GC_ALIGNED16(psAbsMask[2]) = {0x7FFFFFFFFFFFFFFFULL, 0xFFFFFFFFFFFFFFFFULL};
static const double GC_ALIGNED16(half_qnan_and_s32_max[2]) = {0x7FFFFFFF, -0x80000};
void Jit64::fp_tri_op(int d, int a, int b, bool reversible, bool single, void (XEmitter::*op)(Gen::X64Reg, Gen::OpArg), UGeckoInstruction inst, bool roundRHS)
@@ -149,7 +149,7 @@ void Jit64::fmaddXX(UGeckoInstruction inst)
else //(n)madd
ADDSD(XMM0, fpr.R(b));
if (inst.SUBOP5 == 31) //nmadd
- PXOR(XMM0, M((void*)&psSignBits2));
+ PXOR(XMM0, M((void*)&psSignBits));
}
fpr.BindToRegister(d, false);
//YES it is necessary to dupe the result :(
@@ -185,13 +185,13 @@ void Jit64::fsign(UGeckoInstruction inst)
case 40: // fnegx
// We can cheat and not worry about clobbering the top half by using masks
// that don't modify the top half.
- PXOR(fpr.RX(d), M((void*)&psSignBits2));
+ PXOR(fpr.RX(d), M((void*)&psSignBits));
break;
case 264: // fabsx
- PAND(fpr.RX(d), M((void*)&psAbsMask2));
+ PAND(fpr.RX(d), M((void*)&psAbsMask));
break;
case 136: // fnabs
- POR(fpr.RX(d), M((void*)&psSignBits2));
+ POR(fpr.RX(d), M((void*)&psSignBits));
break;
default:
PanicAlert("fsign bleh");