From 77be322e8f89d6e954fbf512a5bf7a54420c3caa Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Tue, 23 Oct 2018 06:11:32 +0100 Subject: [PATCH] add type store categorisation --- id_regs.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/id_regs.py b/id_regs.py index 3bbd0b8..ab31521 100644 --- a/id_regs.py +++ b/id_regs.py @@ -190,8 +190,12 @@ if __name__ == '__main__': txt += "#define INSN_TYPE_BRANCH\n" is_branch = 'STD' # standard branch if insn in ['lb', 'lbu', 'lw', 'lwu', 'ld', 'ldu']: + load_insn = True twin_predication = True txt += "#define INSN_TYPE_LOAD\n" + elif insn in ['sb', 'sbu', 'sw', 'swu', 'sd', 'sdu']: + twin_predication = True + txt += "#define INSN_TYPE_STORE\n" elif insn in ['c_lwsp', 'c_ldsp', 'c_lqsp', 'c_flwsp', 'c_fldsp']: twin_predication = True immed_offset = 'LD' -- 2.30.2