From 5c0ba90722edfeb1d7147b755e1e4bdee72faa94 Mon Sep 17 00:00:00 2001 From: Paul Mackerras Date: Sat, 12 Oct 2019 16:15:20 +1100 Subject: [PATCH] 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 --- decode2.vhdl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2