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

Side by Side Diff: src/IceTargetLoweringARM32.h

Issue 1678523002: Subzero: Fix a mul lowering error. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: 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 | « no previous file | src/IceTargetLoweringX86BaseImpl.h » ('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/IceTargetLoweringARM32.h - ARM32 lowering ----*- C++ -*-===// 1 //===- subzero/src/IceTargetLoweringARM32.h - ARM32 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 745 matching lines...) Expand 10 before | Expand all | Expand 10 after
756 void _udiv(Variable *Dest, Variable *Src0, Variable *Src1, 756 void _udiv(Variable *Dest, Variable *Src0, Variable *Src1,
757 CondARM32::Cond Pred = CondARM32::AL) { 757 CondARM32::Cond Pred = CondARM32::AL) {
758 Context.insert<InstARM32Udiv>(Dest, Src0, Src1, Pred); 758 Context.insert<InstARM32Udiv>(Dest, Src0, Src1, Pred);
759 } 759 }
760 void _umull(Variable *DestLo, Variable *DestHi, Variable *Src0, 760 void _umull(Variable *DestLo, Variable *DestHi, Variable *Src0,
761 Variable *Src1, CondARM32::Cond Pred = CondARM32::AL) { 761 Variable *Src1, CondARM32::Cond Pred = CondARM32::AL) {
762 Context.insert<InstARM32Umull>(DestLo, DestHi, Src0, Src1, Pred); 762 Context.insert<InstARM32Umull>(DestLo, DestHi, Src0, Src1, Pred);
763 // Model the modification to the second dest as a fake def. Note that the 763 // Model the modification to the second dest as a fake def. Note that the
764 // def is not predicated. 764 // def is not predicated.
765 Context.insert<InstFakeDef>(DestHi, DestLo); 765 Context.insert<InstFakeDef>(DestHi, DestLo);
766 Context.insert<InstFakeUse>(DestHi);
766 } 767 }
767 void _uxt(Variable *Dest, Variable *Src0, 768 void _uxt(Variable *Dest, Variable *Src0,
768 CondARM32::Cond Pred = CondARM32::AL) { 769 CondARM32::Cond Pred = CondARM32::AL) {
769 Context.insert<InstARM32Uxt>(Dest, Src0, Pred); 770 Context.insert<InstARM32Uxt>(Dest, Src0, Pred);
770 } 771 }
771 void _vabs(Variable *Dest, Variable *Src, 772 void _vabs(Variable *Dest, Variable *Src,
772 CondARM32::Cond Pred = CondARM32::AL) { 773 CondARM32::Cond Pred = CondARM32::AL) {
773 Context.insert<InstARM32Vabs>(Dest, Src, Pred); 774 Context.insert<InstARM32Vabs>(Dest, Src, Pred);
774 } 775 }
775 void _vadd(Variable *Dest, Variable *Src0, Variable *Src1) { 776 void _vadd(Variable *Dest, Variable *Src0, Variable *Src1) {
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after
1216 private: 1217 private:
1217 ~TargetHeaderARM32() = default; 1218 ~TargetHeaderARM32() = default;
1218 1219
1219 TargetARM32Features CPUFeatures; 1220 TargetARM32Features CPUFeatures;
1220 }; 1221 };
1221 1222
1222 } // end of namespace ARM32 1223 } // end of namespace ARM32
1223 } // end of namespace Ice 1224 } // end of namespace Ice
1224 1225
1225 #endif // SUBZERO_SRC_ICETARGETLOWERINGARM32_H 1226 #endif // SUBZERO_SRC_ICETARGETLOWERINGARM32_H
OLDNEW
« no previous file with comments | « no previous file | src/IceTargetLoweringX86BaseImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698