projects
/
microwatt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73daacb
)
Add srd and srw
author
Anton Blanchard
<anton@linux.ibm.com>
Wed, 28 Aug 2019 04:50:11 +0000
(14:50 +1000)
committer
Anton Blanchard
<anton@ozlabs.org>
Wed, 28 Aug 2019 04:50:37 +0000
(14:50 +1000)
Signed-off-by: Anton Blanchard <anton@linux.ibm.com>
execute1.vhdl
patch
|
blob
|
history
diff --git
a/execute1.vhdl
b/execute1.vhdl
index ae34c1fb9c0069643587b757a092208a1131938f..00694652f5ed1e12bd76f1818674baebb19b9199 100644
(file)
--- 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;