1/* 2 * Copyright (c) 2003-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 43 unchanged lines hidden (view full) --- 52 53namespace SparcISA 54{ 55 class RegFile; 56 57 //This makes sure the big endian versions of certain functions are used. 58 using namespace BigEndianGuest; 59 |
60 // SPARC has a delay slot |
61 #define ISA_HAS_DELAY_SLOT 1 62 63 // SPARC NOP (sethi %(hi(0), g0) 64 const MachInst NoopMachInst = 0x01000000; 65 |
66 const int NumRegularIntRegs = 32; 67 const int NumMicroIntRegs = 1; 68 const int NumIntRegs = 69 NumRegularIntRegs + 70 NumMicroIntRegs; |
71 const int NumFloatRegs = 64; 72 const int NumMiscRegs = 40; 73 74 // These enumerate all the registers for dependence tracking. 75 enum DependenceTags { 76 // 0..31 are the integer regs 0..31 77 // 32..95 are the FP regs 0..31, i.e. use (reg + FP_Base_DepTag) 78 FP_Base_DepTag = NumIntRegs, --- 63 unchanged lines hidden --- |