diff options
author | H. Peter Anvin <hpa@zytor.com> | 2012-02-25 10:19:56 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2012-02-25 10:19:56 -0800 |
commit | 7849dd07b94248a696009229f97f6412781b5337 (patch) | |
tree | b804bf575c90d9cfdf430b94a3bade6612d00129 /insns.pl | |
parent | b9bc63c75721a08e964b471a516c78a112c3b03a (diff) | |
download | nasm-7849dd07b94248a696009229f97f6412781b5337.tar.gz |
Add a "nohle" byte code to skip an instruction pattern
The a2/a3 mem_offs MOV opcodes are invalid with XRELEASE; those
instructions instead have to use a modrm form. Therefore give a way
to annotate those instruction patters so the pattern matcher will move
on to the next pattern, rather than selecting them and then issue a
warning.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'insns.pl')
-rwxr-xr-x | insns.pl | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -707,9 +707,10 @@ sub byte_code_compile($$) { 'repe' => 0335, 'nohi' => 0325, # Use spl/bpl/sil/dil even without REX 'wait' => 0341, # Needs a wait prefix - 'hlexr' => 0271, - 'hlenl' => 0272, - 'hle' => 0273, + 'nohle' => 0240, + 'hlexr' => 0241, + 'hlenl' => 0242, + 'hle' => 0243, # This instruction takes XMM VSIB 'vsibx' => 0374, 'vm32x' => 0374, |