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

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: Alphabetize 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 487 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 } 498 }
499 499
500 void _sw(Variable *Value, OperandMIPS32Mem *Mem) { 500 void _sw(Variable *Value, OperandMIPS32Mem *Mem) {
501 Context.insert<InstMIPS32Sw>(Value, Mem); 501 Context.insert<InstMIPS32Sw>(Value, Mem);
502 } 502 }
503 503
504 void _swc1(Variable *Value, OperandMIPS32Mem *Mem) { 504 void _swc1(Variable *Value, OperandMIPS32Mem *Mem) {
505 Context.insert<InstMIPS32Swc1>(Value, Mem); 505 Context.insert<InstMIPS32Swc1>(Value, Mem);
506 } 506 }
507 507
508 void _teq(Variable *Src0, Variable *Src1, const uint32_t TrapCode) {
Jim Stichnoth 2016/09/16 16:33:02 I would remove the "const" here.
jaydeep.patil 2016/09/19 03:30:51 Done.
509 Context.insert<InstMIPS32Teq>(Src0, Src1, TrapCode);
510 }
511
508 void _trunc_l_d(Variable *Dest, Variable *Src) { 512 void _trunc_l_d(Variable *Dest, Variable *Src) {
509 Context.insert<InstMIPS32Trunc_l_d>(Dest, Src); 513 Context.insert<InstMIPS32Trunc_l_d>(Dest, Src);
510 } 514 }
511 515
512 void _trunc_l_s(Variable *Dest, Variable *Src) { 516 void _trunc_l_s(Variable *Dest, Variable *Src) {
513 Context.insert<InstMIPS32Trunc_l_s>(Dest, Src); 517 Context.insert<InstMIPS32Trunc_l_s>(Dest, Src);
514 } 518 }
515 519
516 void _trunc_w_d(Variable *Dest, Variable *Src) { 520 void _trunc_w_d(Variable *Dest, Variable *Src) {
517 Context.insert<InstMIPS32Trunc_w_d>(Dest, Src); 521 Context.insert<InstMIPS32Trunc_w_d>(Dest, Src);
(...skipping 325 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