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

Side by Side Diff: src/IceTargetLoweringMIPS32.h

Issue 2446273003: [SubZero] Generate relocations for MIPS (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Addressed review comments Created 4 years, 1 month 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/IceInstMIPS32.cpp ('k') | src/IceTargetLoweringMIPS32.cpp » ('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/IceTargetLoweringMIPS32.h - MIPS32 lowering ---*- C++-*-===// 1 //===- subzero/src/IceTargetLoweringMIPS32.h - MIPS32 lowering ---*- 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 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 } 198 }
199 199
200 void _abs_d(Variable *Dest, Variable *Src) { 200 void _abs_d(Variable *Dest, Variable *Src) {
201 Context.insert<InstMIPS32Abs_d>(Dest, Src); 201 Context.insert<InstMIPS32Abs_d>(Dest, Src);
202 } 202 }
203 203
204 void _abs_s(Variable *Dest, Variable *Src) { 204 void _abs_s(Variable *Dest, Variable *Src) {
205 Context.insert<InstMIPS32Abs_s>(Dest, Src); 205 Context.insert<InstMIPS32Abs_s>(Dest, Src);
206 } 206 }
207 207
208 void _addi(Variable *Dest, Variable *Src, uint32_t Imm) {
209 Context.insert<InstMIPS32Addi>(Dest, Src, Imm);
210 }
211
208 void _add_d(Variable *Dest, Variable *Src0, Variable *Src1) { 212 void _add_d(Variable *Dest, Variable *Src0, Variable *Src1) {
209 Context.insert<InstMIPS32Add_d>(Dest, Src0, Src1); 213 Context.insert<InstMIPS32Add_d>(Dest, Src0, Src1);
210 } 214 }
211 215
212 void _add_s(Variable *Dest, Variable *Src0, Variable *Src1) { 216 void _add_s(Variable *Dest, Variable *Src0, Variable *Src1) {
213 Context.insert<InstMIPS32Add_s>(Dest, Src0, Src1); 217 Context.insert<InstMIPS32Add_s>(Dest, Src0, Src1);
214 } 218 }
215 219
216 void _addiu(Variable *Dest, Variable *Src, uint32_t Imm) { 220 void _addiu(Variable *Dest, Variable *Src, uint32_t Imm) {
217 Context.insert<InstMIPS32Addiu>(Dest, Src, Imm); 221 Context.insert<InstMIPS32Addiu>(Dest, Src, Imm);
(...skipping 664 matching lines...) Expand 10 before | Expand all | Expand 10 after
882 explicit TargetHeaderMIPS32(GlobalContext *Ctx); 886 explicit TargetHeaderMIPS32(GlobalContext *Ctx);
883 887
884 private: 888 private:
885 ~TargetHeaderMIPS32() = default; 889 ~TargetHeaderMIPS32() = default;
886 }; 890 };
887 891
888 } // end of namespace MIPS32 892 } // end of namespace MIPS32
889 } // end of namespace Ice 893 } // end of namespace Ice
890 894
891 #endif // SUBZERO_SRC_ICETARGETLOWERINGMIPS32_H 895 #endif // SUBZERO_SRC_ICETARGETLOWERINGMIPS32_H
OLDNEW
« no previous file with comments | « src/IceInstMIPS32.cpp ('k') | src/IceTargetLoweringMIPS32.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698