summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Arm64Emitter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/Common/Arm64Emitter.cpp')
-rw-r--r--Source/Core/Common/Arm64Emitter.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/Core/Common/Arm64Emitter.cpp b/Source/Core/Common/Arm64Emitter.cpp
index 139d90d40e..2430db8b0a 100644
--- a/Source/Core/Common/Arm64Emitter.cpp
+++ b/Source/Core/Common/Arm64Emitter.cpp
@@ -38,8 +38,6 @@ static uint64_t LargestPowerOf2Divisor(uint64_t value)
return value & -(int64_t)value;
}
-#define V8_UINT64_C(x) ((uint64_t)(x))
-
bool IsImmArithmetic(uint64_t input, u32* val, bool* shift)
{
if (input < 4096)
@@ -151,7 +149,7 @@ bool IsImmLogical(uint64_t value, unsigned int width, unsigned int* n, unsigned
clz_a = CountLeadingZeros(a, kXRegSizeInBits);
int clz_c = CountLeadingZeros(c, kXRegSizeInBits);
d = clz_a - clz_c;
- mask = ((V8_UINT64_C(1) << d) - 1);
+ mask = ((UINT64_C(1) << d) - 1);
out_n = 0;
}
else
@@ -177,7 +175,7 @@ bool IsImmLogical(uint64_t value, unsigned int width, unsigned int* n, unsigned
// the general case above, and set the N bit in the output.
clz_a = CountLeadingZeros(a, kXRegSizeInBits);
d = 64;
- mask = ~V8_UINT64_C(0);
+ mask = ~UINT64_C(0);
out_n = 1;
}
}