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])"
80 # All opcodes starting with lower-case 'v', 'k' or with (v1) superscript
92 prefix_num["Operand-Size"] = "INAT_PFX_OPNDSZ"
104 prefix_num["Address-Size"] = "INAT_PFX_ADDRSZ"
155 if (aid == -1 && eid == -1) # primary opcode table
179 if (gid != -1) {
267 /^[0-9a-f]+:/ {
271 idx = "0x" substr($1, 1, index($1,":") - 1)
310 semantic_error($i " is not a separator")
324 # check invalid in 64-bit (and no only64)