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

Side by Side Diff: src/IceTargetLoweringX8664Traits.h

Issue 1651163002: Subzero. Enables moar complex relocation offsets. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: make format Created 4 years, 10 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
« no previous file with comments | « src/IceTargetLoweringX8664.cpp ('k') | tests_lit/assembler/x86/sandboxing.ll » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 67
68 using Cond = ::Ice::CondX8664; 68 using Cond = ::Ice::CondX8664;
69 69
70 using RegisterSet = ::Ice::RegX8664; 70 using RegisterSet = ::Ice::RegX8664;
71 static constexpr SizeT StackPtr = RegX8664::Reg_rsp; 71 static constexpr SizeT StackPtr = RegX8664::Reg_rsp;
72 static constexpr SizeT FramePtr = RegX8664::Reg_rbp; 72 static constexpr SizeT FramePtr = RegX8664::Reg_rbp;
73 static constexpr GPRRegister Encoded_Reg_Accumulator = 73 static constexpr GPRRegister Encoded_Reg_Accumulator =
74 RegX8664::Encoded_Reg_eax; 74 RegX8664::Encoded_Reg_eax;
75 static constexpr GPRRegister Encoded_Reg_Counter = RegX8664::Encoded_Reg_ecx; 75 static constexpr GPRRegister Encoded_Reg_Counter = RegX8664::Encoded_Reg_ecx;
76 static constexpr FixupKind FK_PcRel = llvm::ELF::R_X86_64_PC32; 76 static constexpr FixupKind FK_PcRel = llvm::ELF::R_X86_64_PC32;
77 static constexpr FixupKind FK_Abs = llvm::ELF::R_X86_64_32; 77 static constexpr FixupKind FK_Abs = llvm::ELF::R_X86_64_32S;
78 static constexpr FixupKind FK_Gotoff = llvm::ELF::R_X86_64_GOTOFF64; 78 static constexpr FixupKind FK_Gotoff = llvm::ELF::R_X86_64_GOTOFF64;
79 static constexpr FixupKind FK_GotPC = llvm::ELF::R_X86_64_GOTPC32; 79 static constexpr FixupKind FK_GotPC = llvm::ELF::R_X86_64_GOTPC32;
80 80
81 class Operand { 81 class Operand {
82 public: 82 public:
83 enum RexBits { 83 enum RexBits {
84 RexNone = 0x00, 84 RexNone = 0x00,
85 RexBase = 0x40, 85 RexBase = 0x40,
86 RexW = RexBase | (1 << 3), 86 RexW = RexBase | (1 << 3),
87 RexR = RexBase | (1 << 2), 87 RexR = RexBase | (1 << 2),
(...skipping 957 matching lines...) Expand 10 before | Expand all | Expand 10 after
1045 const char *FldString; // s, l, or <blank> 1045 const char *FldString; // s, l, or <blank>
1046 } TypeAttributes[]; 1046 } TypeAttributes[];
1047 }; 1047 };
1048 1048
1049 using Traits = ::Ice::X8664::TargetX8664Traits; 1049 using Traits = ::Ice::X8664::TargetX8664Traits;
1050 } // end of namespace X8664 1050 } // end of namespace X8664
1051 1051
1052 } // end of namespace Ice 1052 } // end of namespace Ice
1053 1053
1054 #endif // SUBZERO_SRC_ICETARGETLOWERINGX8664TRAITS_H 1054 #endif // SUBZERO_SRC_ICETARGETLOWERINGX8664TRAITS_H
OLDNEW
« no previous file with comments | « src/IceTargetLoweringX8664.cpp ('k') | tests_lit/assembler/x86/sandboxing.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698