summaryrefslogtreecommitdiff
path: root/nasm.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-05-20 16:47:12 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-05-20 16:47:12 -0700
commitee7fc29a30f935e027ab501d7987f0e572af215b (patch)
tree3ce601fbffa865d2f1b5fe79e5592540888fd7a1 /nasm.h
parent711b0c1e396d634c35fee3757d807ae874bc3571 (diff)
downloadnasm-ee7fc29a30f935e027ab501d7987f0e572af215b.tar.gz
Add support for ymm0 in instructions
Make it possible to use ymm0 as a fixed operand in instructions
Diffstat (limited to 'nasm.h')
-rw-r--r--nasm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/nasm.h b/nasm.h
index 38cb0021..b1f05116 100644
--- a/nasm.h
+++ b/nasm.h
@@ -423,6 +423,9 @@ enum {
* With XMMREG:
* 16: XMM0
*
+ * With YMMREG:
+ * 16: YMM0
+ *
* With MEMORY:
* 16: MEM_OFFS (this is a simple offset)
* 17: IP_REL (IP-relative offset)
@@ -497,6 +500,7 @@ typedef uint32_t opflags_t;
#define XMM0 0x04019000U /* XMM register zero */
#define RM_YMM 0x08008000U /* YMM (AVX) operand */
#define YMMREG 0x08009000U /* YMM (AVX) register */
+#define YMM0 0x08019000U /* YMM register zero */
#define REG_CDT 0x00101004U /* CRn, DRn and TRn */
#define REG_CREG 0x00111004U /* CRn */
#define REG_DREG 0x00121004U /* DRn */