summaryrefslogtreecommitdiff
path: root/insns.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2010-08-19 17:04:36 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2010-08-19 17:04:36 -0700
commit5d62e57a0c8fd4b2aa9c9b671ba43be2817d789f (patch)
treeeb53a6dcc21a3112769ebaa2aa4069f6d6a3880b /insns.h
parent23f0b16c21467aefd2b8ae5c507af902d102d39e (diff)
downloadnasm-5d62e57a0c8fd4b2aa9c9b671ba43be2817d789f.tar.gz
nasm-5d62e57a0c8fd4b2aa9c9b671ba43be2817d789f.tar.bz2
nasm-5d62e57a0c8fd4b2aa9c9b671ba43be2817d789f.zip
ndisasm: handle VEX.LIG
A lot of instructions ignore the L bit in the VEX prefix, just like a lot of instructions ignore the W bit, so don't use them in the sub-table select. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'insns.h')
-rw-r--r--insns.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/insns.h b/insns.h
index 4ae2499..4f3dd80 100644
--- a/insns.h
+++ b/insns.h
@@ -32,7 +32,7 @@ struct disasm_index {
/* Tables for the assembler and disassembler, respectively */
extern const struct itemplate * const nasm_instructions[];
extern const struct disasm_index itable[256];
-extern const struct disasm_index * const itable_vex[2][32][8];
+extern const struct disasm_index * const itable_vex[2][32][4];
/* Common table for the byte codes */
extern const uint8_t nasm_bytecodes[];