summaryrefslogtreecommitdiff
path: root/insns.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-09-12 21:58:51 -0700
committerH. Peter Anvin <hpa@zytor.com>2007-09-12 21:58:51 -0700
commitcb9b690ae6d4bc7124faa9600cb10320d288143b (patch)
tree262b89b46318a1ab85d850c4cf9880ab51feb219 /insns.h
parentdaffd793726d852001ba1fef3b7b0d87d5396bf1 (diff)
downloadnasm-cb9b690ae6d4bc7124faa9600cb10320d288143b.tar.gz
Add (untested!) SSSE3, SSE4.1, SSE4.2 instructions
Add the SSSE3, SSE4.1 and SSE4.2 instruction sets. Change \332 to be a literal 0xF2 prefix, by analog with \333 for 0xF3 prefix (the previous \332 flag changed to \335). This is necessary to get the REX prefix in the right place for instructions that use it. We are going to have to go in and change existing instruction patterns which use these, as well.
Diffstat (limited to 'insns.h')
-rw-r--r--insns.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/insns.h b/insns.h
index 706ee7cd..4deccf94 100644
--- a/insns.h
+++ b/insns.h
@@ -103,6 +103,7 @@ extern const struct itemplate * const * const itable[];
#define IF_WILLAMETTE 0x08000000UL /* Willamette instructions */
#define IF_PRESCOTT 0x09000000UL /* Prescott instructions */
#define IF_X86_64 0x0A000000UL /* x86-64 instruction (long or legacy mode) */
+#define IF_NEHALEM 0x0B000000UL /* Nehalem instruction */
#define IF_X64 (IF_LONG|IF_X86_64)
#define IF_IA64 0x0F000000UL /* IA64 instructions (in x86 mode) */
#define IF_CYRIX 0x10000000UL /* Cyrix-specific instruction */