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

Side by Side Diff: crosstest/runtests.sh

Issue 396993009: Lower stacksave and restore intrinsics. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: rebase Created 6 years, 5 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_stacksave.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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 --driver=test_global_main.cpp \ 64 --driver=test_global_main.cpp \
65 --output=test_global_O${optlevel} 65 --output=test_global_O${optlevel}
66 66
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 \
75 --dir="${OUTDIR}" \
76 --llvm-bin-path="${LLVM_BIN_PATH}" \
77 --test=test_stacksave.c \
78 --driver=test_stacksave_main.c \
79 --output=test_stacksave_O${optlevel}
80
74 # Compile the non-subzero object files straight from source 81 # Compile the non-subzero object files straight from source
75 # since the native LLVM backend does not understand how to 82 # since the native LLVM backend does not understand how to
76 # lower NaCl-specific intrinsics. 83 # lower NaCl-specific intrinsics.
77 ./crosstest.py -O${optlevel} --prefix=Subzero_ --target=x8632 \ 84 ./crosstest.py -O${optlevel} --prefix=Subzero_ --target=x8632 \
78 --dir="${OUTDIR}" \ 85 --dir="${OUTDIR}" \
79 --llvm-bin-path="${LLVM_BIN_PATH}" \ 86 --llvm-bin-path="${LLVM_BIN_PATH}" \
80 --test=test_sync_atomic.cpp \ 87 --test=test_sync_atomic.cpp \
81 --crosstest-bitcode=0 \ 88 --crosstest-bitcode=0 \
82 --driver=test_sync_atomic_main.cpp \ 89 --driver=test_sync_atomic_main.cpp \
83 --output=test_sync_atomic_O${optlevel} 90 --output=test_sync_atomic_O${optlevel}
84 91
85 ./crosstest.py -O${optlevel} --prefix=Subzero_ --target=x8632 \ 92 ./crosstest.py -O${optlevel} --prefix=Subzero_ --target=x8632 \
86 --dir="${OUTDIR}" \ 93 --dir="${OUTDIR}" \
87 --llvm-bin-path="${LLVM_BIN_PATH}" \ 94 --llvm-bin-path="${LLVM_BIN_PATH}" \
88 --test=test_vector_ops.ll \ 95 --test=test_vector_ops.ll \
89 --driver=test_vector_ops_main.cpp \ 96 --driver=test_vector_ops_main.cpp \
90 --output=test_vector_ops_O${optlevel} 97 --output=test_vector_ops_O${optlevel}
91 98
92 done 99 done
93 100
94 for optlevel in ${OPTLEVELS} ; do 101 for optlevel in ${OPTLEVELS} ; do
95 "${OUTDIR}"/simple_loop_O${optlevel} 102 "${OUTDIR}"/simple_loop_O${optlevel}
96 "${OUTDIR}"/mem_intrin_O${optlevel} 103 "${OUTDIR}"/mem_intrin_O${optlevel}
97 "${OUTDIR}"/test_arith_O${optlevel} 104 "${OUTDIR}"/test_arith_O${optlevel}
98 "${OUTDIR}"/test_bitmanip_O${optlevel} 105 "${OUTDIR}"/test_bitmanip_O${optlevel}
99 "${OUTDIR}"/test_cast_O${optlevel} 106 "${OUTDIR}"/test_cast_O${optlevel}
100 "${OUTDIR}"/test_fcmp_O${optlevel} 107 "${OUTDIR}"/test_fcmp_O${optlevel}
101 "${OUTDIR}"/test_global_O${optlevel} 108 "${OUTDIR}"/test_global_O${optlevel}
102 "${OUTDIR}"/test_icmp_O${optlevel} 109 "${OUTDIR}"/test_icmp_O${optlevel}
110 "${OUTDIR}"/test_stacksave_O${optlevel}
103 "${OUTDIR}"/test_sync_atomic_O${optlevel} 111 "${OUTDIR}"/test_sync_atomic_O${optlevel}
104 "${OUTDIR}"/test_vector_ops_O${optlevel} 112 "${OUTDIR}"/test_vector_ops_O${optlevel}
105 done 113 done
OLDNEW
« no previous file with comments | « no previous file | crosstest/test_stacksave.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698