mirror of
https://github.com/antonblanchard/microwatt.git
synced 2026-04-14 07:29:47 +00:00
decode2: Fix 32-bit flag passed to divider
Previously the 32-bit flag passed to the divider was always wrong; this fixes it. Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user