summaryrefslogtreecommitdiff
path: root/disasm.c
diff options
context:
space:
mode:
Diffstat (limited to 'disasm.c')
-rw-r--r--disasm.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/disasm.c b/disasm.c
index eace1e9..6498610 100644
--- a/disasm.c
+++ b/disasm.c
@@ -408,7 +408,7 @@ static int matches(const struct itemplate *t, uint8_t *data,
return false;
if (prefix->rep == 0xF2)
- drep = P_REPNE;
+ drep = (t->flags & IF_BND ? P_BND : P_REPNE);
else if (prefix->rep == 0xF3)
drep = P_REP;
@@ -862,11 +862,6 @@ static int matches(const struct itemplate *t, uint8_t *data,
case 0371:
break;
- case 0372:
- if (prefix->rep == 0xF2)
- drep = P_BND;
- break;
-
case 0374:
eat = EA_XMMVSIB;
break;