From 0fd18c24558f646eb1ed044df45ce791bce4c4a6 Mon Sep 17 00:00:00 2001 From: Anton Blanchard Date: Wed, 28 Aug 2019 14:50:11 +1000 Subject: [PATCH] Add srd and srw Signed-off-by: Anton Blanchard --- execute1.vhdl | 6 ++++++ 1 file changed, 6 insertions(+) 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; -- 2.30.2