aboutsummaryrefslogtreecommitdiff
path: root/opcodes/i386-gen.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2019-10-30 09:06:42 +0100
committerJan Beulich <jbeulich@suse.com>2019-10-30 09:06:42 +0100
commita2cebd03faf935d292b524e999787d379a6b04ad (patch)
tree18a537981dabb36920121eacb51bb30e6ad62c66 /opcodes/i386-gen.c
parent507916b8551f6227da9fe8071267c164a3014b79 (diff)
downloadgdb-a2cebd03faf935d292b524e999787d379a6b04ad.zip
gdb-a2cebd03faf935d292b524e999787d379a6b04ad.tar.gz
gdb-a2cebd03faf935d292b524e999787d379a6b04ad.tar.bz2
x86: slightly rearrange struct insn_template
This avoids holes between the individual fields, (potentially) shrinking the overall template table size by 4 bytes per entry.
Diffstat (limited to 'opcodes/i386-gen.c')
-rw-r--r--opcodes/i386-gen.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/opcodes/i386-gen.c b/opcodes/i386-gen.c
index 1c5082e..c48c675 100644
--- a/opcodes/i386-gen.c
+++ b/opcodes/i386-gen.c
@@ -1294,8 +1294,7 @@ output_i386_opcode (FILE *table, const char *name, char *str,
}
fprintf (table, " { \"%s\", %s, %s, %s, %s,\n",
- name, operands, base_opcode, extension_opcode,
- opcode_length);
+ name, base_opcode, extension_opcode, opcode_length, operands);
process_i386_cpu_flag (table, cpu_flags, 0, ",", " ", lineno);