diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2012-07-05 22:28:58 +0100 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2012-07-07 09:05:45 +0000 |
commit | a87dacc89ad7a033578851ca5e0b7525968dbc1c (patch) | |
tree | 1c0e1c1b7049b7f7c5b65007a9e7b9cd97f360c2 | |
parent | eeae63a7aa3ca6a36c90ee2cce770be497fe1377 (diff) | |
download | qemu-a87dacc89ad7a033578851ca5e0b7525968dbc1c.tar.gz qemu-a87dacc89ad7a033578851ca5e0b7525968dbc1c.tar.bz2 qemu-a87dacc89ad7a033578851ca5e0b7525968dbc1c.zip |
target-i386: Remove unused macros
Commit 11f8cdb removed all the uses of the X86_64_ONLY
macro. The BUGGY_64() macro has been unused for a long time:
it originally marked some ops which couldn't be enabled
because of issues with the pre-TCG code generation scheme.
Remove the now-unnecessary definitions of both macros.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
-rw-r--r-- | target-i386/translate.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/target-i386/translate.c b/target-i386/translate.c index a00a6a14cc..8d696eaa61 100644 --- a/target-i386/translate.c +++ b/target-i386/translate.c @@ -38,17 +38,11 @@ #define PREFIX_ADR 0x10 #ifdef TARGET_X86_64 -#define X86_64_ONLY(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) -/* XXX: gcc generates push/pop in some opcodes, so we cannot use them */ -#if 1 -#define BUGGY_64(x) NULL -#endif #else -#define X86_64_ONLY(x) NULL #define X86_64_DEF(...) #define CODE64(s) 0 #define REX_X(s) 0 |