From: Luke Kenneth Casson Leighton Date: Fri, 28 Jun 2019 10:06:32 +0000 (+0100) Subject: remove auto-gen of #define for suboffset args X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3e6abb8ad4dc91d585dde412519436ce77a2517c;p=riscv-isa-sim.git remove auto-gen of #define for suboffset args --- diff --git a/id_regs.py b/id_regs.py index 04d9163..7525aca 100644 --- a/id_regs.py +++ b/id_regs.py @@ -202,13 +202,9 @@ def find_registers(fname, insn, twin_predication, immed_offset, is_branch): res.append('#define PRED_ARGS %s' % ','.join(predargs)) offsargs = [] - suboargs = [] for i in range(len(predargs)): offsargs.append(predargs[i].replace('pred', 'offs').replace("&", '')) res.append('#define OFFS_ARGS %s' % ','.join(offsargs)) - for i in range(len(predargs)): - suboargs.append(predargs[i].replace('pred', 'subo').replace("&", '')) - res.append('#define SUBO_ARGS %s' % ','.join(suboargs)) return '\n'.join(res)