projects
/
microwatt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbb1a36
)
decode2: Fix 32-bit flag passed to divider
author
Paul Mackerras
<paulus@ozlabs.org>
Sat, 12 Oct 2019 05:15:20 +0000
(16:15 +1100)
committer
Paul Mackerras
<paulus@ozlabs.org>
Sat, 12 Oct 2019 05:16:11 +0000
(16:16 +1100)
Previously the 32-bit flag passed to the divider was always wrong;
this fixes it.
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
decode2.vhdl
patch
|
blob
|
history
diff --git
a/decode2.vhdl
b/decode2.vhdl
index 8651b763cd53b6138e62d3e03ba165129a05b629..05819eead4c11c8261a34af2dedfd0afa388ddca 100644
(file)
--- a/
decode2.vhdl
+++ b/
decode2.vhdl
@@
-249,7
+249,7
@@
begin
-- r = RC bit (record condition code)
v.d.write_reg := decode_output_reg(d_in.decode.output_reg_a, d_in.insn);
v.d.is_modulus := not d_in.insn(8);
- v.d.is_32bit :=
not
d_in.insn(2);
+ v.d.is_32bit := d_in.insn(2);
if d_in.insn(8) = '1' then
signed_division := d_in.insn(6);
else