summaryrefslogtreecommitdiff
path: root/x86
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2017-12-29 16:46:10 +0300
committerH. Peter Anvin <hpa@zytor.com>2018-01-08 12:53:19 -0800
commita8f3698cf31a9379cf85416c6cb40c3340e90adb (patch)
treeaa996c6ee64f151e2ead60c31559d25cdf8a30dc /x86
parentfe2f6de2ee85959747a4e4a99ea43a38509cc3b2 (diff)
downloadnasm-a8f3698cf31a9379cf85416c6cb40c3340e90adb.tar.gz
insns-iflags: Add AES, VAES flags
In sake of https://bugzilla.nasm.us/show_bug.cgi?id=3392454 Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to 'x86')
-rw-r--r--x86/insns-iflags.ph40
1 files changed, 21 insertions, 19 deletions
diff --git a/x86/insns-iflags.ph b/x86/insns-iflags.ph
index 84eda8f5..e1b74805 100644
--- a/x86/insns-iflags.ph
+++ b/x86/insns-iflags.ph
@@ -139,31 +139,33 @@ my %insns_flag_bit = (
"OBSOLETE" => [ 93, "Instruction removed from architecture"],
"VEX" => [ 94, "VEX or XOP encoded instruction"],
"EVEX" => [ 95, "EVEX encoded instruction"],
+ "AES" => [ 96, "AES instructions"],
+ "VAES" => [ 97, "AES AVX instructions"],
#
- # dword bound, index 3 - cpu type flags
+ # dword bound, cpu type flags
#
# The CYRIX and AMD flags should have the highest bit values; the
# disassembler selection algorithm depends on it.
#
- "8086" => [ 96, "8086"],
- "186" => [ 97, "186+"],
- "286" => [ 98, "286+"],
- "386" => [ 99, "386+"],
- "486" => [100, "486+"],
- "PENT" => [101, "Pentium"],
- "P6" => [102, "P6"],
- "KATMAI" => [103, "Katmai"],
- "WILLAMETTE" => [104, "Willamette"],
- "PRESCOTT" => [105, "Prescott"],
- "X86_64" => [106, "x86-64 (long or legacy mode)"],
- "NEHALEM" => [107, "Nehalem"],
- "WESTMERE" => [108, "Westmere"],
- "SANDYBRIDGE" => [109, "Sandy Bridge"],
- "FUTURE" => [110, "Future processor (not yet disclosed)"],
- "IA64" => [111, "IA64 (in x86 mode)"],
- "CYRIX" => [126, "Cyrix-specific"],
- "AMD" => [127, "AMD-specific"],
+ "8086" => [128, "8086"],
+ "186" => [129, "186+"],
+ "286" => [130, "286+"],
+ "386" => [131, "386+"],
+ "486" => [132, "486+"],
+ "PENT" => [133, "Pentium"],
+ "P6" => [134, "P6"],
+ "KATMAI" => [135, "Katmai"],
+ "WILLAMETTE" => [136, "Willamette"],
+ "PRESCOTT" => [137, "Prescott"],
+ "X86_64" => [138, "x86-64 (long or legacy mode)"],
+ "NEHALEM" => [139, "Nehalem"],
+ "WESTMERE" => [140, "Westmere"],
+ "SANDYBRIDGE" => [141, "Sandy Bridge"],
+ "FUTURE" => [142, "Future processor (not yet disclosed)"],
+ "IA64" => [143, "IA64 (in x86 mode)"],
+ "CYRIX" => [144, "Cyrix-specific"],
+ "AMD" => [145, "AMD-specific"],
);
my %insns_flag_hash = ();