OLD | NEW |
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 839 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
850 } | 850 } |
851 void _vadd(Variable *Dest, Variable *Src0, Variable *Src1) { | 851 void _vadd(Variable *Dest, Variable *Src0, Variable *Src1) { |
852 Context.insert<InstARM32Vadd>(Dest, Src0, Src1); | 852 Context.insert<InstARM32Vadd>(Dest, Src0, Src1); |
853 } | 853 } |
854 void _vand(Variable *Dest, Variable *Src0, Variable *Src1) { | 854 void _vand(Variable *Dest, Variable *Src0, Variable *Src1) { |
855 Context.insert<InstARM32Vand>(Dest, Src0, Src1); | 855 Context.insert<InstARM32Vand>(Dest, Src0, Src1); |
856 } | 856 } |
857 InstARM32Vbsl *_vbsl(Variable *Dest, Variable *Src0, Variable *Src1) { | 857 InstARM32Vbsl *_vbsl(Variable *Dest, Variable *Src0, Variable *Src1) { |
858 return Context.insert<InstARM32Vbsl>(Dest, Src0, Src1); | 858 return Context.insert<InstARM32Vbsl>(Dest, Src0, Src1); |
859 } | 859 } |
| 860 void _vceq(Variable *Dest, Variable *Src0, Variable *Src1) { |
| 861 Context.insert<InstARM32Vceq>(Dest, Src0, Src1); |
| 862 } |
| 863 InstARM32Vcge *_vcge(Variable *Dest, Variable *Src0, Variable *Src1) { |
| 864 return Context.insert<InstARM32Vcge>(Dest, Src0, Src1); |
| 865 } |
| 866 InstARM32Vcgt *_vcgt(Variable *Dest, Variable *Src0, Variable *Src1) { |
| 867 return Context.insert<InstARM32Vcgt>(Dest, Src0, Src1); |
| 868 } |
860 void _vcvt(Variable *Dest, Variable *Src, InstARM32Vcvt::VcvtVariant Variant, | 869 void _vcvt(Variable *Dest, Variable *Src, InstARM32Vcvt::VcvtVariant Variant, |
861 CondARM32::Cond Pred = CondARM32::AL) { | 870 CondARM32::Cond Pred = CondARM32::AL) { |
862 Context.insert<InstARM32Vcvt>(Dest, Src, Variant, Pred); | 871 Context.insert<InstARM32Vcvt>(Dest, Src, Variant, Pred); |
863 } | 872 } |
864 void _vdiv(Variable *Dest, Variable *Src0, Variable *Src1) { | 873 void _vdiv(Variable *Dest, Variable *Src0, Variable *Src1) { |
865 Context.insert<InstARM32Vdiv>(Dest, Src0, Src1); | 874 Context.insert<InstARM32Vdiv>(Dest, Src0, Src1); |
866 } | 875 } |
867 void _vcmp(Variable *Src0, Variable *Src1, | 876 void _vcmp(Variable *Src0, Variable *Src1, |
868 CondARM32::Cond Pred = CondARM32::AL) { | 877 CondARM32::Cond Pred = CondARM32::AL) { |
869 Context.insert<InstARM32Vcmp>(Src0, Src1, Pred); | 878 Context.insert<InstARM32Vcmp>(Src0, Src1, Pred); |
(...skipping 10 matching lines...) Expand all Loading... |
880 } | 889 } |
881 void _vmla(Variable *Dest, Variable *Src0, Variable *Src1) { | 890 void _vmla(Variable *Dest, Variable *Src0, Variable *Src1) { |
882 Context.insert<InstARM32Vmla>(Dest, Src0, Src1); | 891 Context.insert<InstARM32Vmla>(Dest, Src0, Src1); |
883 } | 892 } |
884 void _vmls(Variable *Dest, Variable *Src0, Variable *Src1) { | 893 void _vmls(Variable *Dest, Variable *Src0, Variable *Src1) { |
885 Context.insert<InstARM32Vmls>(Dest, Src0, Src1); | 894 Context.insert<InstARM32Vmls>(Dest, Src0, Src1); |
886 } | 895 } |
887 void _vmul(Variable *Dest, Variable *Src0, Variable *Src1) { | 896 void _vmul(Variable *Dest, Variable *Src0, Variable *Src1) { |
888 Context.insert<InstARM32Vmul>(Dest, Src0, Src1); | 897 Context.insert<InstARM32Vmul>(Dest, Src0, Src1); |
889 } | 898 } |
| 899 void _vmvn(Variable *Dest, Variable *Src0) { |
| 900 Context.insert<InstARM32Vmvn>(Dest, Src0, CondARM32::AL); |
| 901 } |
890 void _vneg(Variable *Dest, Variable *Src0) { | 902 void _vneg(Variable *Dest, Variable *Src0) { |
891 Context.insert<InstARM32Vneg>(Dest, Src0, CondARM32::AL) | 903 Context.insert<InstARM32Vneg>(Dest, Src0, CondARM32::AL) |
892 ->setSignType(InstARM32::FS_Signed); | 904 ->setSignType(InstARM32::FS_Signed); |
893 } | 905 } |
894 void _vorr(Variable *Dest, Variable *Src0, Variable *Src1) { | 906 void _vorr(Variable *Dest, Variable *Src0, Variable *Src1) { |
895 Context.insert<InstARM32Vorr>(Dest, Src0, Src1); | 907 Context.insert<InstARM32Vorr>(Dest, Src0, Src1); |
896 } | 908 } |
897 InstARM32Vshl *_vshl(Variable *Dest, Variable *Src0, Variable *Src1) { | 909 InstARM32Vshl *_vshl(Variable *Dest, Variable *Src0, Variable *Src1) { |
898 return Context.insert<InstARM32Vshl>(Dest, Src0, Src1); | 910 return Context.insert<InstARM32Vshl>(Dest, Src0, Src1); |
899 } | 911 } |
(...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1353 private: | 1365 private: |
1354 ~TargetHeaderARM32() = default; | 1366 ~TargetHeaderARM32() = default; |
1355 | 1367 |
1356 TargetARM32Features CPUFeatures; | 1368 TargetARM32Features CPUFeatures; |
1357 }; | 1369 }; |
1358 | 1370 |
1359 } // end of namespace ARM32 | 1371 } // end of namespace ARM32 |
1360 } // end of namespace Ice | 1372 } // end of namespace Ice |
1361 | 1373 |
1362 #endif // SUBZERO_SRC_ICETARGETLOWERINGARM32_H | 1374 #endif // SUBZERO_SRC_ICETARGETLOWERINGARM32_H |
OLD | NEW |