Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(806)

Side by Side Diff: src/IceTargetLoweringX8664Traits.h

Issue 1266673003: Subzero. Implements x86-64 lowerCall. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: git pull & painful merge. Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 //===- subzero/src/IceTargetLoweringX8664Traits.h - x86-64 traits -*- C++ -*-=// 1 //===- subzero/src/IceTargetLoweringX8664Traits.h - x86-64 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 421 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 Str << " "; 432 Str << " ";
433 First = false; 433 First = false;
434 Str << getRegName(Register, IceType_i32); 434 Str << getRegName(Register, IceType_i32);
435 } 435 }
436 Str << "}\n"; 436 Str << "}\n";
437 } 437 }
438 } 438 }
439 } 439 }
440 440
441 /// The maximum number of arguments to pass in XMM registers 441 /// The maximum number of arguments to pass in XMM registers
442 static const uint32_t X86_MAX_XMM_ARGS = 4; 442 static const uint32_t X86_MAX_XMM_ARGS = 8;
443 /// The maximum number of arguments to pass in GPR registers
444 static const uint32_t X86_MAX_GPR_ARGS = 6;
443 /// The number of bits in a byte 445 /// The number of bits in a byte
444 static const uint32_t X86_CHAR_BIT = 8; 446 static const uint32_t X86_CHAR_BIT = 8;
445 /// Stack alignment. This is defined in IceTargetLoweringX8664.cpp because it 447 /// Stack alignment. This is defined in IceTargetLoweringX8664.cpp because it
446 /// is used as an argument to std::max(), and the default std::less<T> has an 448 /// is used as an argument to std::max(), and the default std::less<T> has an
447 /// operator(T const&, T const&) which requires this member to have an 449 /// operator(T const&, T const&) which requires this member to have an
448 /// address. 450 /// address.
449 static const uint32_t X86_STACK_ALIGNMENT_BYTES; 451 static const uint32_t X86_STACK_ALIGNMENT_BYTES;
450 /// Size of the return address on the stack 452 /// Size of the return address on the stack
451 static const uint32_t X86_RET_IP_SIZE_BYTES = 4; 453 static const uint32_t X86_RET_IP_SIZE_BYTES = 4;
452 /// The number of different NOP instructions 454 /// The number of different NOP instructions
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
707 709
708 } // end of namespace X86Internal 710 } // end of namespace X86Internal
709 711
710 namespace X8664 { 712 namespace X8664 {
711 using Traits = ::Ice::X86Internal::MachineTraits<TargetX8664>; 713 using Traits = ::Ice::X86Internal::MachineTraits<TargetX8664>;
712 } // end of namespace X8664 714 } // end of namespace X8664
713 715
714 } // end of namespace Ice 716 } // end of namespace Ice
715 717
716 #endif // SUBZERO_SRC_ICETARGETLOWERINGX8664TRAITS_H 718 #endif // SUBZERO_SRC_ICETARGETLOWERINGX8664TRAITS_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698