diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-05-20 16:47:12 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-05-20 16:47:12 -0700 |
commit | ee7fc29a30f935e027ab501d7987f0e572af215b (patch) | |
tree | 3ce601fbffa865d2f1b5fe79e5592540888fd7a1 /nasm.h | |
parent | 711b0c1e396d634c35fee3757d807ae874bc3571 (diff) | |
download | nasm-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.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 */ |