From be46ee5337150b4e578a97485ee02868f8948278 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Wed, 7 Nov 2018 09:20:42 +0000 Subject: [PATCH] attempting to get rv32 mv working --- id_regs.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/id_regs.py b/id_regs.py index 03e255d..a1fdf67 100644 --- a/id_regs.py +++ b/id_regs.py @@ -95,12 +95,12 @@ def find_registers(fname, insn, twin_predication, immed_offset, is_branch): src_flen = 128 dest_flen = 128 if split[1].startswith('w'): - src_flen = 32 + dest_flen = 32 elif split[1].startswith('d'): - src_flen = 64 + dest_flen = 64 elif split[1].startswith('q'): - src_flen = 128 - elif "f128(" in f: + dest_flen = 128 + if "f128(" in f: src_flen = 128 dest_flen = 128 elif "f64(" in f or insn == 'fsd': -- 2.30.2