1/*
2 * Copyright (c) 2006 The Regents of The University of Michigan
3 * Copyright (c) 2007 MIPS Technologies, Inc.
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright

--- 261 unchanged lines hidden (view full) ---

270 MISCREG_LLFLAG = 257,
271 MISCREG_TP_VALUE,
272
273 MISCREG_NUMREGS
274};
275
276const int NumMiscRegs = MISCREG_NUMREGS;
277
278// These help enumerate all the registers for dependence tracking.
279const int FP_Reg_Base = NumIntRegs;
280const int CC_Reg_Base = FP_Reg_Base + NumFloatRegs;
281const int Misc_Reg_Base = CC_Reg_Base + NumCCRegs; // NumCCRegs == 0
282const int Max_Reg_Index = Misc_Reg_Base + NumMiscRegs;
283
278const int TotalNumRegs = NumIntRegs + NumFloatRegs + NumMiscRegs;
279
286typedef uint16_t RegIndex;
287
280typedef uint32_t IntReg;
281
282// floating point register file entry type
283typedef uint32_t FloatRegBits;
284typedef float FloatReg;
285
286// cop-0/cop-1 system control register
287typedef uint64_t MiscReg;

--- 13 unchanged lines hidden ---