Lines Matching full:opcode
6 # Usage: awk -f gen-insn-attr-x86.awk x86-opcode-map.txt > inat-tables.c
37 print "/* x86 opcode map generated from x86-opcode-map.txt */"
130 # escape opcode table
141 # AVX/escape opcode table
145 if (tname == "") # AVX only opcode table
148 if (aid == -1 && eid == -1) # primary opcode table
268 # check if escaped opcode
287 opcode = $(i++)
292 # parse one opcode
305 # check if group opcode
306 if (match(opcode, group_expr)) {
307 if (!(opcode in group)) {
308 group[opcode] = ggid
311 flags = add_flags(flags, "INAT_MAKE_GROUP(" group[opcode] ")")
318 if (match(opcode, rex_expr))
322 if (match(opcode, fpu_expr))
330 else if (match(ext, vexok_expr) || match(opcode, vexok_opcode_expr))
335 if (!prefix_num[opcode])
336 semantic_error("Unknown prefix: " opcode)
337 flags = add_flags(flags, "INAT_MAKE_PREFIX(" prefix_num[opcode] ")")
368 # print escape opcode map's array
369 print "/* Escape opcode map array */"
377 # print group opcode map's array
378 print "/* Group opcode map array */"
386 # print AVX opcode map's array
387 print "/* AVX opcode map array */"
398 print "/* Escape opcode map array */"
403 print "/* Group opcode map array */"
408 print "/* AVX opcode map array */"
416 # print escape opcode map's array
417 print "\t/* Print Escape opcode map array */"
424 # print group opcode map's array
425 print "\t/* Print Group opcode map array */"
431 # print AVX opcode map's array
432 print "\t/* Print AVX opcode map array */"