diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-04-21 22:44:55 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-04-21 22:44:55 -0400 |
commit | 7117e80702d70ac635e50a05deb85f672bd3a464 (patch) | |
tree | f05b3af305dfa45f60d0ab5392971fc44a971b45 /nasm.h | |
parent | a762ca544b10bcbf2f832f4a687c067f928c13c6 (diff) | |
download | nasm-7117e80702d70ac635e50a05deb85f672bd3a464.tar.gz |
Initial support for YMM (AVX) registers
Add support for ymm0..15 registers, and the "ymmreg" qualifier.
No support yet for "yword" or "dy".
Diffstat (limited to 'nasm.h')
-rw-r--r-- | nasm.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -440,8 +440,9 @@ enum { * 24: FPUREG * 25: RM_MMX (MMXREG) * 26: RM_XMM (XMMREG) + * 27: RM_YMM (YMMREG) * - * Bits 27, 31 are currently unallocated. + * Bit 31 is currently unallocated. * * 30: SAME_AS * Special flag only used in instruction patterns; means this operand @@ -496,6 +497,8 @@ typedef uint32_t opflags_t; #define RM_XMM 0x04008000U /* XMM (SSE) operand */ #define XMMREG 0x04009000U /* XMM (SSE) register */ #define XMM0 0x04019000U /* XMM register zero */ +#define RM_YMM 0x08008000U /* YMM (AVX) operand */ +#define YMMREG 0x08009000U /* YMM (AVX) register */ #define REG_CDT 0x00101004U /* CRn, DRn and TRn */ #define REG_CREG 0x00111004U /* CRn */ #define REG_DREG 0x00121004U /* DRn */ |