| OLD | NEW |
| 1 //===- subzero/src/IceTargetLoweringX8632Traits.h - x86-32 traits -*- C++ -*-=// | 1 //===- subzero/src/IceTargetLoweringX8632Traits.h - x86-32 traits -*- C++ -*-=// |
| 2 // | 2 // |
| 3 // The Subzero Code Generator | 3 // The Subzero Code Generator |
| 4 // | 4 // |
| 5 // This file is distributed under the University of Illinois Open Source | 5 // This file is distributed under the University of Illinois Open Source |
| 6 // License. See LICENSE.TXT for details. | 6 // License. See LICENSE.TXT for details. |
| 7 // | 7 // |
| 8 //===----------------------------------------------------------------------===// | 8 //===----------------------------------------------------------------------===// |
| 9 /// | 9 /// |
| 10 /// \file | 10 /// \file |
| (...skipping 561 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 572 First = false; | 572 First = false; |
| 573 Str << getRegName(Register); | 573 Str << getRegName(Register); |
| 574 } | 574 } |
| 575 Str << "}\n"; | 575 Str << "}\n"; |
| 576 } | 576 } |
| 577 } | 577 } |
| 578 } | 578 } |
| 579 | 579 |
| 580 /// The maximum number of arguments to pass in XMM registers | 580 /// The maximum number of arguments to pass in XMM registers |
| 581 static const uint32_t X86_MAX_XMM_ARGS = 4; | 581 static const uint32_t X86_MAX_XMM_ARGS = 4; |
| 582 /// The maximum number of arguments to pass in GPR registers |
| 583 static const uint32_t X86_MAX_GPR_ARGS = 0; |
| 582 /// The number of bits in a byte | 584 /// The number of bits in a byte |
| 583 static const uint32_t X86_CHAR_BIT = 8; | 585 static const uint32_t X86_CHAR_BIT = 8; |
| 584 /// Stack alignment. This is defined in IceTargetLoweringX8632.cpp because it | 586 /// Stack alignment. This is defined in IceTargetLoweringX8632.cpp because it |
| 585 /// is used as an argument to std::max(), and the default std::less<T> has an | 587 /// is used as an argument to std::max(), and the default std::less<T> has an |
| 586 /// operator(T const&, T const&) which requires this member to have an | 588 /// operator(T const&, T const&) which requires this member to have an |
| 587 /// address. | 589 /// address. |
| 588 static const uint32_t X86_STACK_ALIGNMENT_BYTES; | 590 static const uint32_t X86_STACK_ALIGNMENT_BYTES; |
| 589 /// Size of the return address on the stack | 591 /// Size of the return address on the stack |
| 590 static const uint32_t X86_RET_IP_SIZE_BYTES = 4; | 592 static const uint32_t X86_RET_IP_SIZE_BYTES = 4; |
| 591 /// The number of different NOP instructions | 593 /// The number of different NOP instructions |
| (...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 871 | 873 |
| 872 } // end of namespace X86Internal | 874 } // end of namespace X86Internal |
| 873 | 875 |
| 874 namespace X8632 { | 876 namespace X8632 { |
| 875 using Traits = ::Ice::X86Internal::MachineTraits<TargetX8632>; | 877 using Traits = ::Ice::X86Internal::MachineTraits<TargetX8632>; |
| 876 } // end of namespace X8632 | 878 } // end of namespace X8632 |
| 877 | 879 |
| 878 } // end of namespace Ice | 880 } // end of namespace Ice |
| 879 | 881 |
| 880 #endif // SUBZERO_SRC_ICETARGETLOWERINGX8632TRAITS_H | 882 #endif // SUBZERO_SRC_ICETARGETLOWERINGX8632TRAITS_H |
| OLD | NEW |