diff options
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]) |