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

Side by Side Diff: src/IceTargetLoweringMIPS32.h

Issue 2339323004: [SubZero] Use DIV instruction instead of TargetHelperCall (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 4 years, 3 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/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 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 } 280 }
281 281
282 void _cvt_s_l(Variable *Dest, Variable *Src) { 282 void _cvt_s_l(Variable *Dest, Variable *Src) {
283 Context.insert<InstMIPS32Cvt_s_l>(Dest, Src); 283 Context.insert<InstMIPS32Cvt_s_l>(Dest, Src);
284 } 284 }
285 285
286 void _cvt_s_w(Variable *Dest, Variable *Src) { 286 void _cvt_s_w(Variable *Dest, Variable *Src) {
287 Context.insert<InstMIPS32Cvt_s_w>(Dest, Src); 287 Context.insert<InstMIPS32Cvt_s_w>(Dest, Src);
288 } 288 }
289 289
290 void _teq(Variable *Src0, Variable *Src1, const uint32_t TrapCode) {
291 Context.insert<InstMIPS32Teq>(Src0, Src1, TrapCode);
292 }
293
obucinac 2016/09/16 10:30:42 Alphabetize
jaydeep.patil 2016/09/16 10:39:07 Done.
290 void _div(Variable *Dest, Variable *Src0, Variable *Src1) { 294 void _div(Variable *Dest, Variable *Src0, Variable *Src1) {
291 Context.insert<InstMIPS32Div>(Dest, Src0, Src1); 295 Context.insert<InstMIPS32Div>(Dest, Src0, Src1);
292 } 296 }
293 297
294 void _div_d(Variable *Dest, Variable *Src0, Variable *Src1) { 298 void _div_d(Variable *Dest, Variable *Src0, Variable *Src1) {
295 Context.insert<InstMIPS32Div_d>(Dest, Src0, Src1); 299 Context.insert<InstMIPS32Div_d>(Dest, Src0, Src1);
296 } 300 }
297 301
298 void _div_s(Variable *Dest, Variable *Src0, Variable *Src1) { 302 void _div_s(Variable *Dest, Variable *Src0, Variable *Src1) {
299 Context.insert<InstMIPS32Div_s>(Dest, Src0, Src1); 303 Context.insert<InstMIPS32Div_s>(Dest, Src0, Src1);
(...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after
843 explicit TargetHeaderMIPS32(GlobalContext *Ctx); 847 explicit TargetHeaderMIPS32(GlobalContext *Ctx);
844 848
845 private: 849 private:
846 ~TargetHeaderMIPS32() = default; 850 ~TargetHeaderMIPS32() = default;
847 }; 851 };
848 852
849 } // end of namespace MIPS32 853 } // end of namespace MIPS32
850 } // end of namespace Ice 854 } // end of namespace Ice
851 855
852 #endif // SUBZERO_SRC_ICETARGETLOWERINGMIPS32_H 856 #endif // SUBZERO_SRC_ICETARGETLOWERINGMIPS32_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698