aboutsummaryrefslogtreecommitdiff
path: root/target-i386
diff options
context:
space:
mode:
Diffstat (limited to 'target-i386')
-rw-r--r--target-i386/ops_sse.h4
-rw-r--r--target-i386/translate.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/target-i386/ops_sse.h b/target-i386/ops_sse.h
index 99d483a287..35ac2117fd 100644
--- a/target-i386/ops_sse.h
+++ b/target-i386/ops_sse.h
@@ -20,7 +20,7 @@
*/
#if SHIFT == 0
#define Reg MMXReg
-#define XMM_ONLY(x...)
+#define XMM_ONLY(...)
#define B(n) MMX_B(n)
#define W(n) MMX_W(n)
#define L(n) MMX_L(n)
@@ -28,7 +28,7 @@
#define SUFFIX _mmx
#else
#define Reg XMMReg
-#define XMM_ONLY(x...) x
+#define XMM_ONLY(...) __VA_ARGS__
#define B(n) XMM_B(n)
#define W(n) XMM_W(n)
#define L(n) XMM_L(n)
diff --git a/target-i386/translate.c b/target-i386/translate.c
index 8df3ea439c..3933697ef1 100644
--- a/target-i386/translate.c
+++ b/target-i386/translate.c
@@ -42,7 +42,7 @@
#ifdef TARGET_X86_64
#define X86_64_ONLY(x) x
-#define X86_64_DEF(x...) x
+#define X86_64_DEF(...) __VA_ARGS__
#define CODE64(s) ((s)->code64)
#define REX_X(s) ((s)->rex_x)
#define REX_B(s) ((s)->rex_b)
@@ -52,7 +52,7 @@
#endif
#else
#define X86_64_ONLY(x) NULL
-#define X86_64_DEF(x...)
+#define X86_64_DEF(...)
#define CODE64(s) 0
#define REX_X(s) 0
#define REX_B(s) 0