registers.hh (13556:9f57bb56153a) | registers.hh (13583:f7482392b097) |
---|---|
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; --- 31 unchanged lines hidden (view full) --- 40 41namespace SparcISA 42{ 43 44using SparcISAInst::MaxInstSrcRegs; 45using SparcISAInst::MaxInstDestRegs; 46using SparcISAInst::MaxMiscDestRegs; 47 | 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; --- 31 unchanged lines hidden (view full) --- 40 41namespace SparcISA 42{ 43 44using SparcISAInst::MaxInstSrcRegs; 45using SparcISAInst::MaxInstDestRegs; 46using SparcISAInst::MaxMiscDestRegs; 47 |
48typedef RegVal IntReg; 49typedef RegVal MiscReg; 50typedef FloatRegVal FloatReg; 51typedef RegVal FloatRegBits; 52 | |
53// dummy typedef since we don't have CC regs 54typedef uint8_t CCReg; 55 56// dummy typedefs since we don't have vector regs 57constexpr unsigned NumVecElemPerVecReg = 2; 58using VecElem = uint32_t; 59using VecReg = ::VecRegT<VecElem, NumVecElemPerVecReg, false>; 60using ConstVecReg = ::VecRegT<VecElem, NumVecElemPerVecReg, true>; --- 24 unchanged lines hidden --- | 48// dummy typedef since we don't have CC regs 49typedef uint8_t CCReg; 50 51// dummy typedefs since we don't have vector regs 52constexpr unsigned NumVecElemPerVecReg = 2; 53using VecElem = uint32_t; 54using VecReg = ::VecRegT<VecElem, NumVecElemPerVecReg, false>; 55using ConstVecReg = ::VecRegT<VecElem, NumVecElemPerVecReg, true>; --- 24 unchanged lines hidden --- |