projects
/
platform
/
upstream
/
nasm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add {vex3} and {vex2} prefixes by analogy with {evex}
[platform/upstream/nasm.git]
/
parser.c
diff --git
a/parser.c
b/parser.c
index
f73c7b5
..
4f0898c
100644
(file)
--- a/
parser.c
+++ b/
parser.c
@@
-102,7
+102,9
@@
static int prefix_slot(int prefix)
case P_ASP:
return PPS_ASIZE;
case P_EVEX:
- return PPS_EVEX;
+ case P_VEX3:
+ case P_VEX2:
+ return PPS_VEX;
default:
nasm_error(ERR_PANIC, "Invalid value %d passed to prefix_slot()", prefix);
return -1;