mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-03-13 17:57:12 +08:00
insns.pl - add handling of pp VEX/XOP fields
We already have such kind of aliases for L field (via l0 and l1). Via p0,p1,p2 it's become easier to follow AMD docs while encoding VEX/XOP commands. Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
parent
40b81a40c7
commit
52fb2575f3
8
insns.pl
8
insns.pl
@ -677,11 +677,13 @@ sub byte_code_compile($) {
|
||||
$w = 2;
|
||||
} elsif ($oq eq 'ww') {
|
||||
$w = 3;
|
||||
} elsif ($oq eq '66') {
|
||||
} elsif ($oq eq 'p0') {
|
||||
$p = 0;
|
||||
} elsif ($oq eq '66' || $oq eq 'p1') {
|
||||
$p = 1;
|
||||
} elsif ($oq eq 'f3') {
|
||||
} elsif ($oq eq 'f3' || $oq eq 'p2') {
|
||||
$p = 2;
|
||||
} elsif ($oq eq 'f2') {
|
||||
} elsif ($oq eq 'f2' || $oq eq 'p3') {
|
||||
$p = 3;
|
||||
} elsif ($oq eq '0f') {
|
||||
$m = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user