diff options
author | Masami Hiramatsu <mhiramat@redhat.com> | 2009-10-27 16:42:11 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-10-29 03:47:45 -0400 |
commit | 04d46c1b13b02e1e5c24eb270a01cf3f94ee4d04 (patch) | |
tree | b5a4b8c1229b1b1defe2d6671319ff0cfbe21ada /arch/x86/tools | |
parent | 7f387d3f2421781610588faa2f49ae5f1737b137 (diff) |
x86: Merge INAT_REXPFX into INAT_PFX_*
Merge INAT_REXPFX into INAT_PFX_* macro and rename it to
INAT_PFX_REX.
Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Jim Keniston <jkenisto@us.ibm.com>
Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Frank Ch. Eigler <fche@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jason Baron <jbaron@redhat.com>
Cc: K.Prasad <prasad@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
LKML-Reference: <20091027204211.30545.58090.stgit@harusame>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/tools')
-rw-r--r-- | arch/x86/tools/gen-insn-attr-x86.awk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/tools/gen-insn-attr-x86.awk b/arch/x86/tools/gen-insn-attr-x86.awk index 19ba096b7dd1..7d5492951e22 100644 --- a/arch/x86/tools/gen-insn-attr-x86.awk +++ b/arch/x86/tools/gen-insn-attr-x86.awk | |||
@@ -278,7 +278,7 @@ function convert_operands(opnd, i,imm,mod) | |||
278 | 278 | ||
279 | # check REX prefix | 279 | # check REX prefix |
280 | if (match(opcode, rex_expr)) | 280 | if (match(opcode, rex_expr)) |
281 | flags = add_flags(flags, "INAT_REXPFX") | 281 | flags = add_flags(flags, "INAT_MAKE_PREFIX(INAT_PFX_REX)") |
282 | 282 | ||
283 | # check coprocessor escape : TODO | 283 | # check coprocessor escape : TODO |
284 | if (match(opcode, fpu_expr)) | 284 | if (match(opcode, fpu_expr)) |
@@ -316,7 +316,7 @@ END { | |||
316 | # print escape opcode map's array | 316 | # print escape opcode map's array |
317 | print "/* Escape opcode map array */" | 317 | print "/* Escape opcode map array */" |
318 | print "const insn_attr_t const *inat_escape_tables[INAT_ESC_MAX + 1]" \ | 318 | print "const insn_attr_t const *inat_escape_tables[INAT_ESC_MAX + 1]" \ |
319 | "[INAT_LPREFIX_MAX + 1] = {" | 319 | "[INAT_LSTPFX_MAX + 1] = {" |
320 | for (i = 0; i < geid; i++) | 320 | for (i = 0; i < geid; i++) |
321 | for (j = 0; j < max_lprefix; j++) | 321 | for (j = 0; j < max_lprefix; j++) |
322 | if (etable[i,j]) | 322 | if (etable[i,j]) |
@@ -325,7 +325,7 @@ END { | |||
325 | # print group opcode map's array | 325 | # print group opcode map's array |
326 | print "/* Group opcode map array */" | 326 | print "/* Group opcode map array */" |
327 | print "const insn_attr_t const *inat_group_tables[INAT_GRP_MAX + 1]"\ | 327 | print "const insn_attr_t const *inat_group_tables[INAT_GRP_MAX + 1]"\ |
328 | "[INAT_LPREFIX_MAX + 1] = {" | 328 | "[INAT_LSTPFX_MAX + 1] = {" |
329 | for (i = 0; i < ggid; i++) | 329 | for (i = 0; i < ggid; i++) |
330 | for (j = 0; j < max_lprefix; j++) | 330 | for (j = 0; j < max_lprefix; j++) |
331 | if (gtable[i,j]) | 331 | if (gtable[i,j]) |