summaryrefslogtreecommitdiff
path: root/insns.pl
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2012-02-25 10:19:56 -0800
committerH. Peter Anvin <hpa@zytor.com>2012-02-25 10:19:56 -0800
commit7849dd07b94248a696009229f97f6412781b5337 (patch)
treeb804bf575c90d9cfdf430b94a3bade6612d00129 /insns.pl
parentb9bc63c75721a08e964b471a516c78a112c3b03a (diff)
downloadnasm-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-xinsns.pl7
1 files changed, 4 insertions, 3 deletions
diff --git a/insns.pl b/insns.pl
index 69dbb777..694726c7 100755
--- a/insns.pl
+++ b/insns.pl
@@ -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,