projects
/
riscv-isa-sim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98b1a67
)
obscure fmv bug where fp reg size was not defined
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Fri, 2 Nov 2018 11:25:21 +0000
(11:25 +0000)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Fri, 2 Nov 2018 11:25:21 +0000
(11:25 +0000)
id_regs.py
patch
|
blob
|
history
diff --git
a/id_regs.py
b/id_regs.py
index 7e9dda08f62fea409a395b99ce2c42b40bddf791..86d4db9e56c5165da6a51158fe6adbab61dc481c 100644
(file)
--- a/
id_regs.py
+++ b/
id_regs.py
@@
-87,6
+87,10
@@
def find_registers(fname, insn, twin_predication, immed_offset, is_branch):
flen = 64
elif "f32(" in f:
flen = 32
+ elif insn == 'fmv_x_w':
+ flen = 32
+ elif insn == 'fmv_x_d':
+ flen = 64
for pattern in patterns:
x = f.find(pattern)
if x == -1: