From: Paul Mackerras Date: Sat, 12 Oct 2019 05:15:20 +0000 (+1100) Subject: decode2: Fix 32-bit flag passed to divider X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5c0ba90722edfeb1d7147b755e1e4bdee72faa94;p=microwatt.git 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 --- diff --git a/decode2.vhdl b/decode2.vhdl index 8651b76..05819ee 100644 --- 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