diff options
author | Nathan Binkert <nate@binkert.org> | 2008-11-10 11:51:18 -0800 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2008-11-10 11:51:18 -0800 |
commit | eb5d9ba72b0309e7f98c382e3a80ce0601dbe084 (patch) | |
tree | db510966579937d92bdacf4ad00b949e1ef0a5a8 /src/arch | |
parent | c25d966b06061402894b99a2362cb109275b73d1 (diff) | |
download | gem5-eb5d9ba72b0309e7f98c382e3a80ce0601dbe084.tar.xz |
pseudo inst: Add rpns (read processor nanoseconds) instruction.
This instruction basically returns the number of nanoseconds that the CPU
has been running.
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/alpha/isa/decoder.isa | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/arch/alpha/isa/decoder.isa b/src/arch/alpha/isa/decoder.isa index 270940df2..115cf7fa7 100644 --- a/src/arch/alpha/isa/decoder.isa +++ b/src/arch/alpha/isa/decoder.isa @@ -806,6 +806,9 @@ decode OPCODE default Unknown::unknown() { 0x04: quiesceTime({{ R0 = PseudoInst::quiesceTime(xc->tcBase()); }}, IsNonSpeculative, IsUnverifiable); + 0x07: rpns({{ + R0 = PseudoInst::rpns(xc->tcBase()); + }}, IsNonSpeculative, IsUnverifiable); 0x10: deprecated_ivlb({{ warn_once("Obsolete M5 ivlb instruction encountered.\n"); }}); |