summaryrefslogtreecommitdiff
path: root/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpu.h')
-rwxr-xr-xcpu.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/cpu.h b/cpu.h
index ab545d2..7f01dad 100755
--- a/cpu.h
+++ b/cpu.h
@@ -117,7 +117,7 @@ inline bool HasMMX() {return false;}
#define ASL(x) label##x:*newline*
#define ASJ(x, y, z) x label##y*newline*
#define ASC(x, y) x label##y*newline*
- #define AS_HEX(y) y##h
+ #define AS_HEX(y) 0##y##h
#elif defined(__GNUC__)
// define these in two steps to allow arguments to be expanded
#define GNU_AS1(x) #x ";"
@@ -146,6 +146,9 @@ inline bool HasMMX() {return false;}
#define AS_HEX(y) 0x##y
#endif
+#define IF0(y)
+#define IF1(y) y
+
#ifdef CRYPTOPP_GENERATE_X64_MASM
#define ASM_MOD(x, y) ((x) MOD (y))
#define XMMWORD_PTR XMMWORD PTR