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

Side by Side Diff: src/IceTargetLoweringARM32.h

Issue 1881623002: Subzero. ARM32. Vector shifts. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fixes GPLUSPLUS build Created 4 years, 8 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/IceInstARM32.def ('k') | src/IceTargetLoweringARM32.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/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 866 matching lines...) Expand 10 before | Expand all | Expand 10 after
877 } 877 }
878 void _vmla(Variable *Dest, Variable *Src0, Variable *Src1) { 878 void _vmla(Variable *Dest, Variable *Src0, Variable *Src1) {
879 Context.insert<InstARM32Vmla>(Dest, Src0, Src1); 879 Context.insert<InstARM32Vmla>(Dest, Src0, Src1);
880 } 880 }
881 void _vmls(Variable *Dest, Variable *Src0, Variable *Src1) { 881 void _vmls(Variable *Dest, Variable *Src0, Variable *Src1) {
882 Context.insert<InstARM32Vmls>(Dest, Src0, Src1); 882 Context.insert<InstARM32Vmls>(Dest, Src0, Src1);
883 } 883 }
884 void _vmul(Variable *Dest, Variable *Src0, Variable *Src1) { 884 void _vmul(Variable *Dest, Variable *Src0, Variable *Src1) {
885 Context.insert<InstARM32Vmul>(Dest, Src0, Src1); 885 Context.insert<InstARM32Vmul>(Dest, Src0, Src1);
886 } 886 }
887 void _vneg(Variable *Dest, Variable *Src0) {
888 Context.insert<InstARM32Vneg>(Dest, Src0, CondARM32::AL)
889 ->setSignType(InstARM32::FS_Signed);
890 }
887 void _vorr(Variable *Dest, Variable *Src0, Variable *Src1) { 891 void _vorr(Variable *Dest, Variable *Src0, Variable *Src1) {
888 Context.insert<InstARM32Vorr>(Dest, Src0, Src1); 892 Context.insert<InstARM32Vorr>(Dest, Src0, Src1);
889 } 893 }
894 InstARM32Vshl *_vshl(Variable *Dest, Variable *Src0, Variable *Src1) {
895 return Context.insert<InstARM32Vshl>(Dest, Src0, Src1);
896 }
890 void _vsqrt(Variable *Dest, Variable *Src, 897 void _vsqrt(Variable *Dest, Variable *Src,
891 CondARM32::Cond Pred = CondARM32::AL) { 898 CondARM32::Cond Pred = CondARM32::AL) {
892 Context.insert<InstARM32Vsqrt>(Dest, Src, Pred); 899 Context.insert<InstARM32Vsqrt>(Dest, Src, Pred);
893 } 900 }
894 void _vsub(Variable *Dest, Variable *Src0, Variable *Src1) { 901 void _vsub(Variable *Dest, Variable *Src0, Variable *Src1) {
895 Context.insert<InstARM32Vsub>(Dest, Src0, Src1); 902 Context.insert<InstARM32Vsub>(Dest, Src0, Src1);
896 } 903 }
897 904
898 // Iterates over the CFG and determines the maximum outgoing stack arguments 905 // Iterates over the CFG and determines the maximum outgoing stack arguments
899 // bytes. This information is later used during addProlog() to pre-allocate 906 // bytes. This information is later used during addProlog() to pre-allocate
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after
1335 private: 1342 private:
1336 ~TargetHeaderARM32() = default; 1343 ~TargetHeaderARM32() = default;
1337 1344
1338 TargetARM32Features CPUFeatures; 1345 TargetARM32Features CPUFeatures;
1339 }; 1346 };
1340 1347
1341 } // end of namespace ARM32 1348 } // end of namespace ARM32
1342 } // end of namespace Ice 1349 } // end of namespace Ice
1343 1350
1344 #endif // SUBZERO_SRC_ICETARGETLOWERINGARM32_H 1351 #endif // SUBZERO_SRC_ICETARGETLOWERINGARM32_H
OLDNEW
« no previous file with comments | « src/IceInstARM32.def ('k') | src/IceTargetLoweringARM32.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698