Replace the Alpha No op with a SPARC one.
--HG-- extra : convert_revision : bed03e63dc80bf24f21bad08e6553d7aab92c7b3
This commit is contained in:
parent
ef8b7713ca
commit
1b1495930c
1 changed files with 3 additions and 4 deletions
|
@ -57,12 +57,11 @@ namespace SparcISA
|
||||||
//This makes sure the big endian versions of certain functions are used.
|
//This makes sure the big endian versions of certain functions are used.
|
||||||
using namespace BigEndianGuest;
|
using namespace BigEndianGuest;
|
||||||
|
|
||||||
// Alpha Does NOT have a delay slot
|
// SPARC have a delay slot
|
||||||
#define ISA_HAS_DELAY_SLOT 1
|
#define ISA_HAS_DELAY_SLOT 1
|
||||||
|
|
||||||
//TODO this needs to be a SPARC Noop
|
// SPARC NOP (sethi %(hi(0), g0)
|
||||||
// Alpha UNOP (ldq_u r31,0(r0))
|
const MachInst NoopMachInst = 0x01000000;
|
||||||
const MachInst NoopMachInst = 0x2ffe0000;
|
|
||||||
|
|
||||||
const int NumIntRegs = 32;
|
const int NumIntRegs = 32;
|
||||||
const int NumFloatRegs = 64;
|
const int NumFloatRegs = 64;
|
||||||
|
|
Loading…
Reference in a new issue