registers.hh (13613:a19963be12ca) | registers.hh (13622:ba31c2a23eca) |
---|---|
1/* 2 * Copyright (c) 2007 The Hewlett-Packard Development Company 3 * Copyright (c) 2013 Advanced Micro Devices, Inc. 4 * All rights reserved. 5 * 6 * The license below extends only to copyright in the software and shall 7 * not be construed as granting a license to any other intellectual 8 * property including but not limited to intellectual property relating --- 82 unchanged lines hidden (view full) --- 91const int ReturnAddressReg = 0; 92const int ReturnValueReg = INTREG_RAX; 93const int FramePointerReg = INTREG_RBP; 94 95// Some OS syscalls use a second register (rdx) to return a second 96// value 97const int SyscallPseudoReturnReg = INTREG_RDX; 98 | 1/* 2 * Copyright (c) 2007 The Hewlett-Packard Development Company 3 * Copyright (c) 2013 Advanced Micro Devices, Inc. 4 * All rights reserved. 5 * 6 * The license below extends only to copyright in the software and shall 7 * not be construed as granting a license to any other intellectual 8 * property including but not limited to intellectual property relating --- 82 unchanged lines hidden (view full) --- 91const int ReturnAddressReg = 0; 92const int ReturnValueReg = INTREG_RAX; 93const int FramePointerReg = INTREG_RBP; 94 95// Some OS syscalls use a second register (rdx) to return a second 96// value 97const int SyscallPseudoReturnReg = INTREG_RDX; 98 |
99typedef uint64_t CCReg; 100 | |
101// Not applicable to x86 102using VecElem = ::DummyVecElem; 103using VecReg = ::DummyVecReg; 104using ConstVecReg = ::DummyConstVecReg; 105using VecRegContainer = ::DummyVecRegContainer; 106constexpr unsigned NumVecElemPerVecReg = ::DummyNumVecElemPerVecReg; 107constexpr size_t VecRegSizeBytes = ::DummyVecRegSizeBytes; 108 109// Not applicable to x86 110using VecPredReg = ::DummyVecPredReg; 111using ConstVecPredReg = ::DummyConstVecPredReg; 112using VecPredRegContainer = ::DummyVecPredRegContainer; 113constexpr size_t VecPredRegSizeBits = ::DummyVecPredRegSizeBits; 114constexpr bool VecPredRegHasPackedRepr = ::DummyVecPredRegHasPackedRepr; 115 116} // namespace X86ISA 117 118#endif // __ARCH_X86_REGFILE_HH__ | 99// Not applicable to x86 100using VecElem = ::DummyVecElem; 101using VecReg = ::DummyVecReg; 102using ConstVecReg = ::DummyConstVecReg; 103using VecRegContainer = ::DummyVecRegContainer; 104constexpr unsigned NumVecElemPerVecReg = ::DummyNumVecElemPerVecReg; 105constexpr size_t VecRegSizeBytes = ::DummyVecRegSizeBytes; 106 107// Not applicable to x86 108using VecPredReg = ::DummyVecPredReg; 109using ConstVecPredReg = ::DummyConstVecPredReg; 110using VecPredRegContainer = ::DummyVecPredRegContainer; 111constexpr size_t VecPredRegSizeBits = ::DummyVecPredRegSizeBits; 112constexpr bool VecPredRegHasPackedRepr = ::DummyVecPredRegHasPackedRepr; 113 114} // namespace X86ISA 115 116#endif // __ARCH_X86_REGFILE_HH__ |