Lines Matching +full:0 +full:- +full:9 +full:a +full:- +full:fa +full:- +full:f
1 #!/bin/awk -f
2 # SPDX-License-Identifier: GPL-2.0-only
3 # gen-insn-x86-dat.awk: script to convert data for the insn-x86 test
9 print " * Generated by gen-insn-x86-dat.sh and gen-insn-x86-dat.awk"
10 print " * from insn-x86-dat-src.c for inclusion by insn-x86.c"
15 rel = 0
16 going = 0
24 going = 0
27 /^\s*[0-9a-fA-F]+\:/ {
29 colon_pos = index($0, ":")
30 useful_line = substr($0, colon_pos + 1)
31 first_pos = match(useful_line, "[0-9a-fA-F]")
35 len = 0
37 if (match($i, "^[0-9a-fA-F][0-9a-fA-F]$")) {
38 printf "0x%s, ", $i
48 rel = 0
55 expecting_pos = index($0, expecting_str)
56 useful_line = substr($0, expecting_pos + expecting_len)