registers.hh (13338:c59f7e47e31d) registers.hh (13555:63f799e313fd)
1/*
2 * Copyright (c) 2010-2011, 2014, 2016 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

57const int MaxInstSrcRegs = ArmISAInst::MaxInstDestRegs +
58 ArmISAInst::MaxInstSrcRegs;
59using ArmISAInst::MaxInstDestRegs;
60using ArmISAInst::MaxMiscDestRegs;
61
62typedef uint64_t IntReg;
63
64// floating point register file entry type
1/*
2 * Copyright (c) 2010-2011, 2014, 2016 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

57const int MaxInstSrcRegs = ArmISAInst::MaxInstDestRegs +
58 ArmISAInst::MaxInstSrcRegs;
59using ArmISAInst::MaxInstDestRegs;
60using ArmISAInst::MaxMiscDestRegs;
61
62typedef uint64_t IntReg;
63
64// floating point register file entry type
65typedef uint32_t FloatRegBits;
66typedef float FloatReg;
65typedef uint64_t FloatRegBits;
66typedef double FloatReg;
67
68// Number of VecElem per Vector Register, computed based on the vector length
69constexpr unsigned NumVecElemPerVecReg = 4;
70using VecElem = uint32_t;
71using VecReg = ::VecRegT<VecElem, NumVecElemPerVecReg, false>;
72using ConstVecReg = ::VecRegT<VecElem, NumVecElemPerVecReg, true>;
73using VecRegContainer = VecReg::Container;
74

--- 50 unchanged lines hidden ---
67
68// Number of VecElem per Vector Register, computed based on the vector length
69constexpr unsigned NumVecElemPerVecReg = 4;
70using VecElem = uint32_t;
71using VecReg = ::VecRegT<VecElem, NumVecElemPerVecReg, false>;
72using ConstVecReg = ::VecRegT<VecElem, NumVecElemPerVecReg, true>;
73using VecRegContainer = VecReg::Container;
74

--- 50 unchanged lines hidden ---