Lines Matching +full:a +full:- +full:za +full:- +full:z
1 #!/bin/awk -f
2 # SPDX-License-Identifier: GPL-2.0
3 # gen-insn-attr-x86.awk: Instruction attribute table generator
6 # Usage: awk -f gen-insn-attr-x86.awk x86-opcode-map.txt > inat-tables.c
11 return "Your awk has a printf-format problem."
21 eid = -1 # escape id
22 gid = -1 # group id
23 aid = -1 # AVX id
37 print "/* x86 opcode map generated from x86-opcode-map.txt */"
46 opnd_expr = "^[A-Za-z/]"
49 group_expr = "^Grp[0-9A-Za-z]+"
51 imm_expr = "^[IJAOL][a-z]"
65 modrm_expr = "^([CDEGMNPQRSUVW/][a-z]+|NTA|T[012])"
78 # All opcodes starting with lower-case 'v', 'k' or with (v1) superscript
90 prefix_num["Operand-Size"] = "INAT_PFX_OPNDSZ"
102 prefix_num["Address-Size"] = "INAT_PFX_ADDRSZ"
153 if (aid == -1 && eid == -1) # primary opcode table
177 if (gid != -1) {
265 /^[0-9a-f]+:/ {
269 idx = "0x" substr($1, 1, index($1,":") - 1)
308 semantic_error($i " is not a separator")