diff options
author | H. Peter Anvin <hpa@zytor.com> | 2007-09-18 13:01:32 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2007-09-18 13:01:32 -0700 |
commit | 41c9f6fde06091199f1a95e0c045230baaa25bf4 (patch) | |
tree | 35df1b3c570cd4e3611acd94f7e2ee0b51d45f3e /assemble.c | |
parent | 5255fd1f36eece1cbf4000ffc3120dbcb9bf5038 (diff) | |
download | nasm-41c9f6fde06091199f1a95e0c045230baaa25bf4.tar.gz nasm-41c9f6fde06091199f1a95e0c045230baaa25bf4.tar.bz2 nasm-41c9f6fde06091199f1a95e0c045230baaa25bf4.zip |
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 'assemble.c')
-rw-r--r-- | assemble.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1720,6 +1720,9 @@ static int matches(const struct itemplate *itemp, insn * instruction, int bits) case IF_SQ: size[i] = BITS64; break; + case IF_SO: + size[i] = BITS128; + break; default: break; } @@ -1742,6 +1745,10 @@ static int matches(const struct itemplate *itemp, insn * instruction, int bits) asize = BITS64; oprs = itemp->operands; break; + case IF_SO: + asize = BITS128; + oprs = itemp->operands; + break; default: break; } |