From: Anton Blanchard Date: Wed, 28 Aug 2019 04:50:11 +0000 (+1000) Subject: Add srd and srw X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0fd18c24558f646eb1ed044df45ce791bce4c4a6;p=microwatt.git Add srd and srw Signed-off-by: Anton Blanchard --- diff --git a/execute1.vhdl b/execute1.vhdl index ae34c1f..0069465 100644 --- a/execute1.vhdl +++ b/execute1.vhdl @@ -268,6 +268,12 @@ begin result := result_with_carry(63 downto 0); ctrl_tmp.carry <= result_with_carry(64); result_en := 1; + when OP_SRD => + result := ppc_srd(e.read_data1, e.read_data2); + result_en := 1; + when OP_SRW => + result := ppc_srw(e.read_data1, e.read_data2); + result_en := 1; when OP_SUBF => result := ppc_subf(e.read_data1, e.read_data2); result_en := 1;