diff options
author | H. Peter Anvin <hpa@zytor.com> | 2012-02-10 11:11:08 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2012-02-10 11:11:08 -0800 |
commit | 44454be952d4c7b2d17fccdad0be8e0b2b693559 (patch) | |
tree | 5000cbf79eb5e5d0dd60e944ca28f2d09d65fff8 /insns.pl | |
parent | b17da041cbb3bfb4129b59b134cd4aa7e4e78d69 (diff) | |
download | nasm-44454be952d4c7b2d17fccdad0be8e0b2b693559.tar.gz nasm-44454be952d4c7b2d17fccdad0be8e0b2b693559.tar.bz2 nasm-44454be952d4c7b2d17fccdad0be8e0b2b693559.zip |
insns: create a symbolic "wait" token for the \341 byte code
Create a symbolic name "wait" for the \341 byte code, so we don't have
to open-code it.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'insns.pl')
-rwxr-xr-x | insns.pl | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -742,6 +742,8 @@ sub byte_code_compile($$) { push(@codes, 0335); } elsif ($op eq 'nohi') { # Use spl/bpl/sil/dil even without REX push(@codes, 0325); + } elsif ($op eq 'wait') { # Needs a wait prefix + push(@codes, 0341); } elsif ($op eq 'vsibx' || $op eq 'vm32x' || $op eq 'vm64x') { # This instruction takes XMM VSIB push(@codes, 0374); |