registers.hh (13615:5cc9363f5ab7) | registers.hh (13622:ba31c2a23eca) |
---|---|
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 --- 269 unchanged lines hidden (view full) --- 278 279 MISCREG_NUMREGS 280}; 281 282const int NumMiscRegs = MISCREG_NUMREGS; 283 284const int TotalNumRegs = NumIntRegs + NumFloatRegs + NumMiscRegs; 285 | 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 --- 269 unchanged lines hidden (view full) --- 278 279 MISCREG_NUMREGS 280}; 281 282const int NumMiscRegs = MISCREG_NUMREGS; 283 284const int TotalNumRegs = NumIntRegs + NumFloatRegs + NumMiscRegs; 285 |
286// dummy typedef since we don't have CC regs 287typedef uint8_t CCReg; 288 | |
289// Not applicable to MIPS 290using VecElem = ::DummyVecElem; 291using VecReg = ::DummyVecReg; 292using ConstVecReg = ::DummyConstVecReg; 293using VecRegContainer = ::DummyVecRegContainer; 294constexpr unsigned NumVecElemPerVecReg = ::DummyNumVecElemPerVecReg; 295constexpr size_t VecRegSizeBytes = ::DummyVecRegSizeBytes; 296 297// Not applicable to MIPS 298using VecPredReg = ::DummyVecPredReg; 299using ConstVecPredReg = ::DummyConstVecPredReg; 300using VecPredRegContainer = ::DummyVecPredRegContainer; 301constexpr size_t VecPredRegSizeBits = ::DummyVecPredRegSizeBits; 302constexpr bool VecPredRegHasPackedRepr = ::DummyVecPredRegHasPackedRepr; 303 304} // namespace MipsISA 305 306#endif | 286// Not applicable to MIPS 287using VecElem = ::DummyVecElem; 288using VecReg = ::DummyVecReg; 289using ConstVecReg = ::DummyConstVecReg; 290using VecRegContainer = ::DummyVecRegContainer; 291constexpr unsigned NumVecElemPerVecReg = ::DummyNumVecElemPerVecReg; 292constexpr size_t VecRegSizeBytes = ::DummyVecRegSizeBytes; 293 294// Not applicable to MIPS 295using VecPredReg = ::DummyVecPredReg; 296using ConstVecPredReg = ::DummyConstVecPredReg; 297using VecPredRegContainer = ::DummyVecPredRegContainer; 298constexpr size_t VecPredRegSizeBits = ::DummyVecPredRegSizeBits; 299constexpr bool VecPredRegHasPackedRepr = ::DummyVecPredRegHasPackedRepr; 300 301} // namespace MipsISA 302 303#endif |