aboutsummaryrefslogtreecommitdiff
path: root/opcodes/i386-opc.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2007-09-26 04:42:47 +0000
committerH.J. Lu <hjl.tools@gmail.com>2007-09-26 04:42:47 +0000
commit4dffcebc10670489b064181a62e9588e72fb566a (patch)
tree5afda928aebbd6b85b99edaa635d72b92c598f01 /opcodes/i386-opc.h
parentc828a49faf94e9b2cba6d2870a5bfeaef2da5a3f (diff)
downloadfsf-binutils-gdb-4dffcebc10670489b064181a62e9588e72fb566a.zip
fsf-binutils-gdb-4dffcebc10670489b064181a62e9588e72fb566a.tar.gz
fsf-binutils-gdb-4dffcebc10670489b064181a62e9588e72fb566a.tar.bz2
gas/
2007-09-25 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (output_insn): Use i.tm.opcode_length to check opcode length. opcodes/ 2007-09-25 H.J. Lu <hongjiu.lu@intel.com> * i386-gen.c (process_i386_opcodes): Process opcode_length. * i386-opc.h (template): Add opcode_length. * 386-opc.tbl: Likewise. * i386-tbl.h: Regenerated.
Diffstat (limited to 'opcodes/i386-opc.h')
-rw-r--r--opcodes/i386-opc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/opcodes/i386-opc.h b/opcodes/i386-opc.h
index 158e6f9..b052e81 100644
--- a/opcodes/i386-opc.h
+++ b/opcodes/i386-opc.h
@@ -416,6 +416,9 @@ typedef struct template
unsigned int extension_opcode;
#define None 0xffff /* If no extension_opcode is possible. */
+ /* Opcode length. */
+ unsigned char opcode_length;
+
/* cpu feature flags */
i386_cpu_flags cpu_flags;