registers.hh (13611:c8b7847b4171) registers.hh (13617:34a793c681ce)
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
49typedef RegVal IntReg;
50
51// Floating point register file entry type
52typedef RegVal FloatReg;
53typedef RegVal MiscReg;
54
55// dummy typedef since we don't have CC regs
56typedef uint8_t CCReg;
57
58// Not applicable to Power
59using VecElem = ::DummyVecElem;
60using VecReg = ::DummyVecReg;
61using ConstVecReg = ::DummyConstVecReg;
62using VecRegContainer = ::DummyVecRegContainer;

--- 60 unchanged lines hidden ---
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;

--- 60 unchanged lines hidden ---