projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f97db1
)
arch-power: Add DARN instruction
author
kajoljain379
<kajoljain797@gmail.com>
Tue, 19 Mar 2019 08:37:43 +0000
(14:07 +0530)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sun, 24 Jan 2021 03:59:24 +0000
(
03:59
+0000)
* Added DARN instruction.
* Right now not returning random number, Just Setting value to -1.
* Need to FIX that instruction.
Change-Id: I9b6fd7557232c16fda144f4a424bfffb62de33cc
Signed-off-by: kajoljain379 <kajoljain797@gmail.com>
src/arch/power/isa/decoder.isa
patch
|
blob
|
history
diff --git
a/src/arch/power/isa/decoder.isa
b/src/arch/power/isa/decoder.isa
index 239b4e9c0f0b6612200209e049ddc2abf26e3d4e..a2f12b42726985fa94a7447e5ea6217bf90c75e0 100644
(file)
--- a/
src/arch/power/isa/decoder.isa
+++ b/
src/arch/power/isa/decoder.isa
@@
-484,6
+484,14
@@
decode PO default Unknown::unknown() {
}
}});
+ //TODO: Right now we doesn't support DARN instruction
+ // Not returning random number, Just Setting value to -1.
+ //Need to FIX that instruction
+
+ 755: darn({{
+ Rt = -1;
+ }});
+
777: modsd({{
int64_t src1 = Ra_sd;
int64_t src2 = Rb_sd;