From: Luke Kenneth Casson Leighton Date: Mon, 15 Oct 2018 06:49:26 +0000 (+0100) Subject: add rvc_sp redirection/offset overload X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8a40c15a5fb9a49757e482ce7e604c4ff9990975;p=riscv-isa-sim.git add rvc_sp redirection/offset overload also found weird bug where RVC_FRS1/2 were not being detected, how it was not found earlier is a mystery, code should not have compiled! --- diff --git a/id_regs.py b/id_regs.py index 3563f60..8a96032 100644 --- a/id_regs.py +++ b/id_regs.py @@ -39,9 +39,10 @@ def list_insns(): res.append((os.path.join(insns_dir, fname), insn)) return res -cintpatterns = [ 'WRITE_RVC_RS1S', 'WRITE_RVC_RS2S', - 'RVC_RS1', 'RVC_RS2', 'RVC_RS1S', 'RVC_RS2S', ] -cfloatpatterns = [ 'WRITE_RVC_FRS2S', 'RVC_FRS2 ', 'RVC_FRS2S '] +cintpatterns = [ 'WRITE_RVC_RS1S', 'WRITE_RVC_RS2S', 'RVC_SP', + 'RVC_RS1', 'RVC_RS2', 'RVC_RS1S', 'RVC_RS2S', + ] +cfloatpatterns = [ 'WRITE_RVC_FRS2S', 'RVC_FRS2', 'RVC_FRS2S'] intpatterns = ['WRITE_RD' , 'RS1', 'RS2', 'RS3'] floatpatterns = ['WRITE_FRD', 'FRS1', 'FRS2', 'FRS3'] patterns = intpatterns + floatpatterns @@ -50,16 +51,17 @@ patterns += cfloatpatterns allfloats = floatpatterns + cfloatpatterns floatmask = (1<