From 6dddca951151c953fdab6f3e57b9385150d8b90b Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sun, 29 Oct 2006 01:58:37 -0500 Subject: Add an integer microcode register. --HG-- extra : convert_revision : f23dbfdfe44e8e6cdd6948000669ad4f743b9fb4 --- src/arch/sparc/isa_traits.hh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/arch/sparc/isa_traits.hh') diff --git a/src/arch/sparc/isa_traits.hh b/src/arch/sparc/isa_traits.hh index fb09121a3..46a0ebbfb 100644 --- a/src/arch/sparc/isa_traits.hh +++ b/src/arch/sparc/isa_traits.hh @@ -57,13 +57,17 @@ namespace SparcISA //This makes sure the big endian versions of certain functions are used. using namespace BigEndianGuest; - // SPARC have a delay slot + // SPARC has a delay slot #define ISA_HAS_DELAY_SLOT 1 // SPARC NOP (sethi %(hi(0), g0) const MachInst NoopMachInst = 0x01000000; - const int NumIntRegs = 32; + const int NumRegularIntRegs = 32; + const int NumMicroIntRegs = 1; + const int NumIntRegs = + NumRegularIntRegs + + NumMicroIntRegs; const int NumFloatRegs = 64; const int NumMiscRegs = 40; -- cgit v1.2.3