[PATCH] D22829: [Test-suite] Halide bitcode tests for AArch64.
Alina Sbirlea via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 26 12:23:18 PDT 2016
asbirlea created this revision.
asbirlea added reviewers: llvm-commits, MatzeB, mehdi_amini.
Herald added subscribers: rengolin, aemerson.
Adding to test-suite some unit tests for AArch64 in bitcode format.
Source: Halide's simd_ops application.
Note this is a rather large patch due to the number of bitcode tests.
https://reviews.llvm.org/D22829
Files:
Bitcode/CMakeLists.txt
Bitcode/simd_ops/AArch64_halide_runtime.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_abs_1026.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_abs_1027.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_abs_1028.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_abs_366.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_abs_367.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_abs_368.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_abs_38.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_abs_39.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_abs_40.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_abs_697.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_abs_698.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_abs_699.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_add_1029.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_add_1030.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_add_1031.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_add_1032.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_add_1033.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_add_1034.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_add_1036.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_add_1037.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_add_369.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_add_370.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_add_371.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_add_372.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_add_373.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_add_374.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_add_376.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_add_377.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_add_41.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_add_42.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_add_43.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_add_44.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_add_45.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_add_46.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_add_48.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_add_49.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_add_700.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_add_701.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_add_702.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_add_703.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_add_704.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_add_705.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_add_707.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_add_708.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_addhn_1038.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_addhn_1039.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_addhn_1040.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_addhn_1041.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_addhn_378.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_addhn_379.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_addhn_380.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_addhn_381.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_addhn_50.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_addhn_51.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_addhn_52.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_addhn_53.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_addhn_709.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_addhn_710.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_addhn_711.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_addhn_712.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_bsl_1054.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_bsl_394.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_bsl_66.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_bsl_725.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_cmeq_1055.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_cmeq_1056.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_cmeq_1057.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_cmeq_1058.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_cmeq_1059.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_cmeq_1060.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_cmeq_395.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_cmeq_396.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_cmeq_397.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_cmeq_398.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_cmeq_399.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_cmeq_400.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_cmeq_67.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_cmeq_68.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_cmeq_69.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_cmeq_70.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_cmeq_71.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_cmeq_72.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_cmeq_726.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_cmeq_727.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_cmeq_728.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_cmeq_729.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_cmeq_730.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_cmeq_731.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_cmgt_1062.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_cmgt_1064.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_cmgt_1066.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_cmgt_402.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_cmgt_404.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_cmgt_406.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_cmgt_733.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_cmgt_735.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_cmgt_737.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_cmgt_74.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_cmgt_76.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_cmgt_78.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_cmhi_1063.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_cmhi_1065.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_cmhi_1067.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_cmhi_403.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_cmhi_405.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_cmhi_407.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_cmhi_734.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_cmhi_736.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_cmhi_738.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_cmhi_75.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_cmhi_77.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_cmhi_79.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_dup_1075.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_dup_1076.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_dup_1077.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_dup_1078.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_dup_1079.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_dup_1080.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_dup_1081.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_dup_415.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_dup_416.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_dup_417.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_dup_418.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_dup_419.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_dup_420.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_dup_421.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_dup_746.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_dup_747.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_dup_748.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_dup_749.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_dup_750.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_dup_751.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_dup_752.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_dup_87.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_dup_88.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_dup_89.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_dup_90.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_dup_91.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_dup_92.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_dup_93.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fabs_1025.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fabs_365.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fabs_37.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fabs_696.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fadd_1035.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fadd_375.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fadd_47.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fadd_706.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fcmeq_1061.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fcmeq_401.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fcmeq_73.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fcmeq_732.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fcmgt_1068.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fcmgt_408.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fcmgt_739.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fcmgt_80.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fcvtzs_1072.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fcvtzs_412.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fcvtzs_743.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fcvtzs_84.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fcvtzu_1071.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fcvtzu_411.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fcvtzu_742.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fcvtzu_83.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fdiv_1073.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fdiv_1074.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fdiv_413.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fdiv_414.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fdiv_744.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fdiv_745.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fdiv_85.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fdiv_86.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fmax_1130.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fmax_139.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fmax_470.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fmax_801.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fmin_1137.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fmin_146.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fmin_477.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fmin_808.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fmla_153.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fmla_484.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fmls_160.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fmls_491.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fmul_1177.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fmul_1184.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fmul_188.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fmul_195.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fmul_519.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fmul_526.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fmul_848.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fmul_855.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fneg_1200.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fneg_1201.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fneg_211.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fneg_212.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fneg_542.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fneg_543.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fneg_871.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fneg_872.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_frecpe_1241.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_frecpe_252.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_frecpe_583.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_frecpe_912.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_frecps_1242.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_frecps_253.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_frecps_584.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_frecps_913.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_frsqrte_1249.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_frsqrte_260.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_frsqrte_591.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_frsqrte_920.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_frsqrts_1250.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_frsqrts_261.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_frsqrts_592.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_frsqrts_921.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fsqrt_1281.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fsqrt_1282.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fsqrt_292.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fsqrt_293.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fsqrt_623.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fsqrt_624.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fsqrt_952.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fsqrt_953.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fsub_1293.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fsub_1300.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fsub_304.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fsub_311.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fsub_635.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fsub_642.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fsub_964.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_fsub_971.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_ld2_1103.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_ld2_1104.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_ld2_1105.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_ld2_1106.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_ld2_1107.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_ld2_1108.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_ld2_1109.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_ld2_112.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_ld2_113.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_ld2_114.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_ld2_115.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_ld2_116.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_ld2_117.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_ld2_118.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_ld2_443.bc
Bitcode/simd_ops/AArch64_scalar_tests/scalar_test_op_ld2_444.bc
(2534 more files...)
Index: Bitcode/simd_ops/simd_ops.cpp
===================================================================
--- Bitcode/simd_ops/simd_ops.cpp
+++ Bitcode/simd_ops/simd_ops.cpp
@@ -6,6 +6,14 @@
#define posix_memalign(p, a, s) (((*(p)) = _aligned_malloc((s), (a))), *(p) ?0 :errno)
#endif
+#if defined(__aarch64__)
+#define FACTOR 5
+#elif defined(__arm__)
+#define FACTOR 4
+#else
+#define FACTOR 1
+#endif
+
template<typename T>
T rand_value() {
return (T)(rand() * 0.125) - 100;
@@ -57,7 +65,7 @@
seed = time(NULL);
srand (seed);
}
- int W = 256, H = 100;
+ int W = 256*FACTOR, H = 100;
// Make some input buffers
buffer_t bufs[] = {
make_buffer<float>(W, H),
@@ -71,6 +79,7 @@
make_buffer<int64_t>(W, H),
make_buffer<uint64_t>(W, H)
};
+ W/=FACTOR;
int NO = 2;
buffer_t out[] = {
Index: Bitcode/simd_ops/CMakeLists.txt
===================================================================
--- Bitcode/simd_ops/CMakeLists.txt
+++ Bitcode/simd_ops/CMakeLists.txt
@@ -11,7 +11,7 @@
string(REGEX REPLACE ".[cp]+$" "" pathbc ${sourcebc})
string(REGEX REPLACE ".*/" "" namebc ${pathbc})
string(REPLACE "." "" namebc ${namebc})
- set(Source ${CMAKE_CURRENT_SOURCE_DIR}/simd_ops.cpp ${CMAKE_CURRENT_SOURCE_DIR}/simd_op_check_runtime.bc ${CMAKE_CURRENT_SOURCE_DIR}/${ARCH}_tests/${namebc}.bc ${CMAKE_CURRENT_SOURCE_DIR}/${ARCH}_scalar_tests/scalar_${namebc}.bc)
+ set(Source ${CMAKE_CURRENT_SOURCE_DIR}/simd_ops.cpp ${CMAKE_CURRENT_SOURCE_DIR}/${ARCH}_halide_runtime.bc ${CMAKE_CURRENT_SOURCE_DIR}/${ARCH}_tests/${namebc}.bc ${CMAKE_CURRENT_SOURCE_DIR}/${ARCH}_scalar_tests/scalar_${namebc}.bc)
set(PROG simd_ops_${namebc})
llvm_multisource()
endforeach()
Index: Bitcode/CMakeLists.txt
===================================================================
--- Bitcode/CMakeLists.txt
+++ Bitcode/CMakeLists.txt
@@ -1,6 +1,6 @@
if(NOT TEST_SUITE_BENCHMARKING_ONLY)
llvm_add_subdirectories(Regression)
- if(ARCH STREQUAL "x86")
+ if(ARCH STREQUAL "x86" OR ARCH STREQUAL "AArch64")
llvm_add_subdirectories(simd_ops)
endif()
endif()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22829.65570.patch
Type: text/x-patch
Size: 2144 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160726/cba257ca/attachment.bin>
More information about the llvm-commits
mailing list