mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-10-10 00:25:06 -04:00
Add support for ymm0 in instructions
Make it possible to use ymm0 as a fixed operand in instructions
This commit is contained in:
4
nasm.h
4
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 */
|
||||
|
||||
Reference in New Issue
Block a user