registers.hh (13617:34a793c681ce) registers.hh (13622:ba31c2a23eca)
1/*
2 * Copyright (c) 2009 The University of Edinburgh
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;

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

41
42using PowerISAInst::MaxInstSrcRegs;
43using PowerISAInst::MaxInstDestRegs;
44
45// Power writes a misc register outside of the isa parser, so it can't
46// be detected by it. Manually add it here.
47const int MaxMiscDestRegs = PowerISAInst::MaxMiscDestRegs + 1;
48
1/*
2 * Copyright (c) 2009 The University of Edinburgh
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;

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

41
42using PowerISAInst::MaxInstSrcRegs;
43using PowerISAInst::MaxInstDestRegs;
44
45// Power writes a misc register outside of the isa parser, so it can't
46// be detected by it. Manually add it here.
47const int MaxMiscDestRegs = PowerISAInst::MaxMiscDestRegs + 1;
48
49// dummy typedef since we don't have CC regs
50typedef uint8_t CCReg;
51
52// Not applicable to Power
53using VecElem = ::DummyVecElem;
54using VecReg = ::DummyVecReg;
55using ConstVecReg = ::DummyConstVecReg;
56using VecRegContainer = ::DummyVecRegContainer;
57constexpr unsigned NumVecElemPerVecReg = ::DummyNumVecElemPerVecReg;
58constexpr size_t VecRegSizeBytes = ::DummyVecRegSizeBytes;
59

--- 57 unchanged lines hidden ---
49// Not applicable to Power
50using VecElem = ::DummyVecElem;
51using VecReg = ::DummyVecReg;
52using ConstVecReg = ::DummyConstVecReg;
53using VecRegContainer = ::DummyVecRegContainer;
54constexpr unsigned NumVecElemPerVecReg = ::DummyNumVecElemPerVecReg;
55constexpr size_t VecRegSizeBytes = ::DummyVecRegSizeBytes;
56

--- 57 unchanged lines hidden ---