projects
/
gem5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
arch-power: Add time base instructions
[gem5.git]
/
src
/
arch
/
power
/
isa
/
decoder.isa
diff --git
a/src/arch/power/isa/decoder.isa
b/src/arch/power/isa/decoder.isa
index 4ecee98cdcf3e9ced48415e4b219e1a5a8805179..aeee29a034289071de4841612ac52a78b2f79d17 100644
(file)
--- a/
src/arch/power/isa/decoder.isa
+++ b/
src/arch/power/isa/decoder.isa
@@
-973,6
+973,8
@@
decode PO default Unknown::unknown() {
0x100: mflr({{ Rt = LR; }});
0x120: mfctr({{ Rt = CTR; }});
0x1f9: mftar({{ Rt = TAR; }});
+ 0x188: mftb({{ Rt = curTick(); }});
+ 0x1a8: mftbu({{ Rt_uw = curTick() >> 32; }});
}
467: decode SPR {