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 */"
135 # escape opcode table
146 # AVX/escape opcode table
150 if (tname == "") # AVX only opcode table
153 if (aid == -1 && eid == -1) # primary opcode table
273 # check if escaped opcode
292 opcode = $(i++)
297 # parse one opcode
310 # check if group opcode
311 if (match(opcode, group_expr)) {
312 if (!(opcode in group)) {
313 group[opcode] = ggid
316 flags = add_flags(flags, "INAT_MAKE_GROUP(" group[opcode] ")")
327 if (match(opcode, rex_expr))
331 if (match(opcode, fpu_expr))
341 else if (match(ext, vexok_expr) || match(opcode, vexok_opcode_expr))
346 if (!prefix_num[opcode])
347 semantic_error("Unknown prefix: " opcode)
348 flags = add_flags(flags, "INAT_MAKE_PREFIX(" prefix_num[opcode] ")")
381 # print escape opcode map's array
382 print "/* Escape opcode map array */"
390 # print group opcode map's array
391 print "/* Group opcode map array */"
399 # print AVX opcode map's array
400 print "/* AVX opcode map array */"
411 print "/* Escape opcode map array */"
416 print "/* Group opcode map array */"
421 print "/* AVX opcode map array */"
429 # print escape opcode map's array
430 print "\t/* Print Escape opcode map array */"
437 # print group opcode map's array
438 print "\t/* Print Group opcode map array */"
444 # print AVX opcode map's array
445 print "\t/* Print AVX opcode map array */"