projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef8b771
)
Replace the Alpha No op with a SPARC one.
author
Gabe Black
<gblack@eecs.umich.edu>
Tue, 24 Oct 2006 19:50:41 +0000
(15:50 -0400)
committer
Gabe Black
<gblack@eecs.umich.edu>
Tue, 24 Oct 2006 19:50:41 +0000
(15:50 -0400)
--HG--
extra : convert_revision :
bed03e63dc80bf24f21bad08e6553d7aab92c7b3
src/arch/sparc/isa_traits.hh
patch
|
blob
|
history
diff --git
a/src/arch/sparc/isa_traits.hh
b/src/arch/sparc/isa_traits.hh
index 6d5aa4251b0f0b05777468477f2265766cca26ea..de54e168b96040b03fdaef8e4155feb5f0ed04ff 100644
(file)
--- a/
src/arch/sparc/isa_traits.hh
+++ b/
src/arch/sparc/isa_traits.hh
@@
-57,12
+57,11
@@
namespace SparcISA
//This makes sure the big endian versions of certain functions are used.
using namespace BigEndianGuest;
- //
Alpha Does NOT
have a delay slot
+ //
SPARC
have a delay slot
#define ISA_HAS_DELAY_SLOT 1
- //TODO this needs to be a SPARC Noop
- // Alpha UNOP (ldq_u r31,0(r0))
- const MachInst NoopMachInst = 0x2ffe0000;
+ // SPARC NOP (sethi %(hi(0), g0)
+ const MachInst NoopMachInst = 0x01000000;
const int NumIntRegs = 32;
const int NumFloatRegs = 64;