aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--translate-i386.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/translate-i386.c b/translate-i386.c
index 9ef7a3b058..359fe61e38 100644
--- a/translate-i386.c
+++ b/translate-i386.c
@@ -112,7 +112,6 @@ extern int loglevel;
#define PREFIX_LOCK 0x04
#define PREFIX_DATA 0x08
#define PREFIX_ADR 0x10
-#define PREFIX_FWAIT 0x20
typedef struct DisasContext {
/* current insn context */
@@ -1440,9 +1439,6 @@ long disas_insn(DisasContext *s, uint8_t *pc_start)
case 0x67:
prefixes |= PREFIX_ADR;
goto next_byte;
- case 0x9b:
- prefixes |= PREFIX_FWAIT;
- goto next_byte;
}
if (prefixes & PREFIX_DATA)
@@ -3256,6 +3252,8 @@ long disas_insn(DisasContext *s, uint8_t *pc_start)
/* misc */
case 0x90: /* nop */
break;
+ case 0x9b: /* fwait */
+ break;
case 0xcc: /* int3 */
gen_exception(s, EXCP03_INT3, s->pc - s->cs_base);
break;