Add srd and srw

Signed-off-by: Anton Blanchard <anton@linux.ibm.com>
pull/9/head
Anton Blanchard 5 years ago committed by Anton Blanchard
parent 73daacbcd4
commit 0fd18c2455

@ -268,6 +268,12 @@ begin
result := result_with_carry(63 downto 0); result := result_with_carry(63 downto 0);
ctrl_tmp.carry <= result_with_carry(64); ctrl_tmp.carry <= result_with_carry(64);
result_en := 1; 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 => when OP_SUBF =>
result := ppc_subf(e.read_data1, e.read_data2); result := ppc_subf(e.read_data1, e.read_data2);
result_en := 1; result_en := 1;

Loading…
Cancel
Save