OLD | NEW |
1 #!/bin/sh | 1 #!/bin/sh |
2 | 2 |
3 # TODO: Retire this script and move the individual tests into the lit | 3 # TODO: Retire this script and move the individual tests into the lit |
4 # framework, to leverage parallel testing and other lit goodness. | 4 # framework, to leverage parallel testing and other lit goodness. |
5 | 5 |
6 set -eux | 6 set -eux |
7 | 7 |
8 OPTLEVELS="m1 2" | 8 OPTLEVELS="m1 2" |
9 ATTRIBUTES="sse2 sse4.1" | 9 ATTRIBUTES="sse2 sse4.1" |
10 OUTDIR=Output | 10 OUTDIR=Output |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 ./crosstest.py -O${optlevel} --mattr ${attribute} \ | 47 ./crosstest.py -O${optlevel} --mattr ${attribute} \ |
48 --prefix=Subzero_ \ | 48 --prefix=Subzero_ \ |
49 --target=x8632 \ | 49 --target=x8632 \ |
50 --dir="${OUTDIR}" \ | 50 --dir="${OUTDIR}" \ |
51 --llvm-bin-path="${LLVM_BIN_PATH}" \ | 51 --llvm-bin-path="${LLVM_BIN_PATH}" \ |
52 --test=test_bitmanip.cpp --test=test_bitmanip_intrin.ll \ | 52 --test=test_bitmanip.cpp --test=test_bitmanip_intrin.ll \ |
53 --driver=test_bitmanip_main.cpp \ | 53 --driver=test_bitmanip_main.cpp \ |
54 --output=test_bitmanip_O${optlevel}_${attribute} | 54 --output=test_bitmanip_O${optlevel}_${attribute} |
55 | 55 |
56 ./crosstest.py -O${optlevel} --mattr ${attribute} \ | 56 ./crosstest.py -O${optlevel} --mattr ${attribute} \ |
| 57 --prefix=Subzero_ --target=x8632 \ |
| 58 --dir="${OUTDIR}" \ |
| 59 --llvm-bin-path="${LLVM_BIN_PATH}" \ |
| 60 --test=test_calling_conv.cpp \ |
| 61 --driver=test_calling_conv_main.cpp \ |
| 62 --output=test_calling_conv_O${optlevel}_${attribute} |
| 63 |
| 64 ./crosstest.py -O${optlevel} --mattr ${attribute} \ |
57 --prefix=Subzero_ \ | 65 --prefix=Subzero_ \ |
58 --target=x8632 \ | 66 --target=x8632 \ |
59 --dir="${OUTDIR}" \ | 67 --dir="${OUTDIR}" \ |
60 --llvm-bin-path="${LLVM_BIN_PATH}" \ | 68 --llvm-bin-path="${LLVM_BIN_PATH}" \ |
61 --test=test_cast.cpp --test=test_cast_to_u1.ll \ | 69 --test=test_cast.cpp --test=test_cast_to_u1.ll \ |
62 --driver=test_cast_main.cpp \ | 70 --driver=test_cast_main.cpp \ |
63 --output=test_cast_O${optlevel}_${attribute} | 71 --output=test_cast_O${optlevel}_${attribute} |
64 | 72 |
65 ./crosstest.py -O${optlevel} --mattr ${attribute} \ | 73 ./crosstest.py -O${optlevel} --mattr ${attribute} \ |
66 --prefix=Subzero_ \ | 74 --prefix=Subzero_ \ |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 | 138 |
131 done | 139 done |
132 done | 140 done |
133 | 141 |
134 for optlevel in ${OPTLEVELS} ; do | 142 for optlevel in ${OPTLEVELS} ; do |
135 for attribute in ${ATTRIBUTES}; do | 143 for attribute in ${ATTRIBUTES}; do |
136 "${OUTDIR}"/simple_loop_O${optlevel}_${attribute} | 144 "${OUTDIR}"/simple_loop_O${optlevel}_${attribute} |
137 "${OUTDIR}"/mem_intrin_O${optlevel}_${attribute} | 145 "${OUTDIR}"/mem_intrin_O${optlevel}_${attribute} |
138 "${OUTDIR}"/test_arith_O${optlevel}_${attribute} | 146 "${OUTDIR}"/test_arith_O${optlevel}_${attribute} |
139 "${OUTDIR}"/test_bitmanip_O${optlevel}_${attribute} | 147 "${OUTDIR}"/test_bitmanip_O${optlevel}_${attribute} |
| 148 "${OUTDIR}"/test_calling_conv_O${optlevel}_${attribute} |
140 "${OUTDIR}"/test_cast_O${optlevel}_${attribute} | 149 "${OUTDIR}"/test_cast_O${optlevel}_${attribute} |
141 "${OUTDIR}"/test_fcmp_O${optlevel}_${attribute} | 150 "${OUTDIR}"/test_fcmp_O${optlevel}_${attribute} |
142 "${OUTDIR}"/test_global_O${optlevel}_${attribute} | 151 "${OUTDIR}"/test_global_O${optlevel}_${attribute} |
143 "${OUTDIR}"/test_icmp_O${optlevel}_${attribute} | 152 "${OUTDIR}"/test_icmp_O${optlevel}_${attribute} |
144 "${OUTDIR}"/test_select_O${optlevel}_${attribute} | 153 "${OUTDIR}"/test_select_O${optlevel}_${attribute} |
145 "${OUTDIR}"/test_stacksave_O${optlevel}_${attribute} | 154 "${OUTDIR}"/test_stacksave_O${optlevel}_${attribute} |
146 "${OUTDIR}"/test_sync_atomic_O${optlevel}_${attribute} | 155 "${OUTDIR}"/test_sync_atomic_O${optlevel}_${attribute} |
147 "${OUTDIR}"/test_vector_ops_O${optlevel}_${attribute} | 156 "${OUTDIR}"/test_vector_ops_O${optlevel}_${attribute} |
148 done | 157 done |
149 done | 158 done |
OLD | NEW |