Lines Matching +full:sub +full:- +full:group
4 ## Copyright(c) 2019-2024 Qualcomm Innovation Center, Inc. All Rights Reserved.
30 str = m.group(1)
31 str += ":".join(["%d"] * len(m.group(2)))
32 str += m.group(3)
33 if ("S" in m.group(1)) and (len(m.group(2)) == 1):
35 elif ("C" in m.group(1)) and (len(m.group(2)) == 1):
42 opswithequal_re = "[-+^&|!<>=]?="
44 assignment_re = "[-+^&|]?="
62 pc -= 1
81 if am and len(am.group(0)) == me - ms:
83 if ms > 0 and s[ms - 1] != " ":
101 immext_casere = re.compile(r"IMMEXT\(([A-Za-z])")
103 with open(sys.argv[-1], "w") as f:
111 if m.group(1).isupper():
116 beh = hex_common.regre.sub(regprinter, beh)
117 beh = hex_common.absimmre.sub(r"#%s0x%x", beh)
118 beh = hex_common.relimmre.sub(r"PC+%s%d", beh)
138 f.write(f", insn->regno[{regno}]")
140 f.write(f", sreg2str(insn->regno[{regno}])")
142 f.write(f", creg2str(insn->regno[{regno}])")
144 f.write(f", insn->regno[{regno}] + 1" f", insn->regno[{regno}]")
155 f.write(',insn->extension_valid?"##":""')
157 f.write(',insn->extension_valid?"#":""')
164 f.write(',insn->extension_valid?"##":""')
166 f.write(',insn->extension_valid?"#":""')
170 f.write(f", insn->immed[{ii}]")