summaryrefslogtreecommitdiff
path: root/insns.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-09-18 13:01:32 -0700
committerH. Peter Anvin <hpa@zytor.com>2007-09-18 13:01:32 -0700
commit41c9f6fde06091199f1a95e0c045230baaa25bf4 (patch)
tree35df1b3c570cd4e3611acd94f7e2ee0b51d45f3e /insns.h
parent5255fd1f36eece1cbf4000ffc3120dbcb9bf5038 (diff)
downloadnasm-41c9f6fde06091199f1a95e0c045230baaa25bf4.tar.gz
Implement "oword" (128 bits) as a first-class size
Implement oword, reso, do, as well as the SO flag to instructions. No instructions are actually flagged with SO yet, but this allows us to specify 128-bit sizes in instruction patterns.
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 c7fa75a0..b5d6caf7 100644
--- a/insns.h
+++ b/insns.h
@@ -68,6 +68,7 @@ extern const struct itemplate * const * const itable[];
#define IF_SW 0x00000008UL /* unsized operands can't be non-word */
#define IF_SD 0x0000000CUL /* unsized operands can't be non-dword */
#define IF_SQ 0x00000010UL /* unsized operands can't be non-qword */
+#define IF_SO 0x00000014UL /* unsized operands can't be non-oword */
#define IF_SMASK 0x0000001CUL /* mask for unsized argument size */
#define IF_AR0 0x00000020UL /* SB, SW, SD applies to argument 0 */
#define IF_AR1 0x00000040UL /* SB, SW, SD applies to argument 1 */