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

Side by Side Diff: crosstest/runtests.sh

Issue 417653004: Lower the select instruction when the operands are of vector type. (Closed) Base URL: https://gerrit.chromium.org/gerrit/p/native_client/pnacl-subzero.git@master
Patch Set: Grammar Created 6 years, 4 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 | crosstest/test_select.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 #!/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 OUTDIR=Output 9 OUTDIR=Output
10 # Clean the output directory to avoid reusing stale results. 10 # Clean the output directory to avoid reusing stale results.
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 ./crosstest.py -O${optlevel} --prefix=Subzero_ --target=x8632 \ 67 ./crosstest.py -O${optlevel} --prefix=Subzero_ --target=x8632 \
68 --dir="${OUTDIR}" \ 68 --dir="${OUTDIR}" \
69 --llvm-bin-path="${LLVM_BIN_PATH}" \ 69 --llvm-bin-path="${LLVM_BIN_PATH}" \
70 --test=test_icmp.cpp \ 70 --test=test_icmp.cpp \
71 --driver=test_icmp_main.cpp \ 71 --driver=test_icmp_main.cpp \
72 --output=test_icmp_O${optlevel} 72 --output=test_icmp_O${optlevel}
73 73
74 ./crosstest.py -O${optlevel} --prefix=Subzero_ --target=x8632 \ 74 ./crosstest.py -O${optlevel} --prefix=Subzero_ --target=x8632 \
75 --dir="${OUTDIR}" \ 75 --dir="${OUTDIR}" \
76 --llvm-bin-path="${LLVM_BIN_PATH}" \ 76 --llvm-bin-path="${LLVM_BIN_PATH}" \
77 --test=test_select.ll \
78 --driver=test_select_main.cpp \
79 --output=test_select_O${optlevel}
80
81 ./crosstest.py -O${optlevel} --prefix=Subzero_ --target=x8632 \
82 --dir="${OUTDIR}" \
83 --llvm-bin-path="${LLVM_BIN_PATH}" \
77 --test=test_stacksave.c \ 84 --test=test_stacksave.c \
78 --driver=test_stacksave_main.c \ 85 --driver=test_stacksave_main.c \
79 --output=test_stacksave_O${optlevel} 86 --output=test_stacksave_O${optlevel}
80 87
81 # Compile the non-subzero object files straight from source 88 # Compile the non-subzero object files straight from source
82 # since the native LLVM backend does not understand how to 89 # since the native LLVM backend does not understand how to
83 # lower NaCl-specific intrinsics. 90 # lower NaCl-specific intrinsics.
84 ./crosstest.py -O${optlevel} --prefix=Subzero_ --target=x8632 \ 91 ./crosstest.py -O${optlevel} --prefix=Subzero_ --target=x8632 \
85 --dir="${OUTDIR}" \ 92 --dir="${OUTDIR}" \
86 --llvm-bin-path="${LLVM_BIN_PATH}" \ 93 --llvm-bin-path="${LLVM_BIN_PATH}" \
(...skipping 13 matching lines...) Expand all
100 107
101 for optlevel in ${OPTLEVELS} ; do 108 for optlevel in ${OPTLEVELS} ; do
102 "${OUTDIR}"/simple_loop_O${optlevel} 109 "${OUTDIR}"/simple_loop_O${optlevel}
103 "${OUTDIR}"/mem_intrin_O${optlevel} 110 "${OUTDIR}"/mem_intrin_O${optlevel}
104 "${OUTDIR}"/test_arith_O${optlevel} 111 "${OUTDIR}"/test_arith_O${optlevel}
105 "${OUTDIR}"/test_bitmanip_O${optlevel} 112 "${OUTDIR}"/test_bitmanip_O${optlevel}
106 "${OUTDIR}"/test_cast_O${optlevel} 113 "${OUTDIR}"/test_cast_O${optlevel}
107 "${OUTDIR}"/test_fcmp_O${optlevel} 114 "${OUTDIR}"/test_fcmp_O${optlevel}
108 "${OUTDIR}"/test_global_O${optlevel} 115 "${OUTDIR}"/test_global_O${optlevel}
109 "${OUTDIR}"/test_icmp_O${optlevel} 116 "${OUTDIR}"/test_icmp_O${optlevel}
117 "${OUTDIR}"/test_select_O${optlevel}
110 "${OUTDIR}"/test_stacksave_O${optlevel} 118 "${OUTDIR}"/test_stacksave_O${optlevel}
111 "${OUTDIR}"/test_sync_atomic_O${optlevel} 119 "${OUTDIR}"/test_sync_atomic_O${optlevel}
112 "${OUTDIR}"/test_vector_ops_O${optlevel} 120 "${OUTDIR}"/test_vector_ops_O${optlevel}
113 done 121 done
OLDNEW
« no previous file with comments | « no previous file | crosstest/test_select.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698