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

Unified Diff: crosstest/runtests.sh

Issue 362463002: Subzero: lower the rest of the atomic operations. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: comment cleanup 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 side-by-side diff with in-line comments
Download patch
Index: crosstest/runtests.sh
diff --git a/crosstest/runtests.sh b/crosstest/runtests.sh
index 0bc4cf24f88b019bcf89055c61f4f8ace358ab0d..2718cf4be885a1d82eccb0472572564299e579f7 100755
--- a/crosstest/runtests.sh
+++ b/crosstest/runtests.sh
@@ -62,6 +62,17 @@ for optlevel in ${OPTLEVELS} ; do
--driver=test_icmp_main.cpp \
--output=test_icmp_O${optlevel}
+ # Compile the non-subzero object files straight from source
+ # since the native LLVM backend does not understand how to
+ # lower NaCl-specific intrinsics.
+ ./crosstest.py -O${optlevel} --prefix=Subzero_ --target=x8632 \
+ --dir="${OUTDIR}" \
+ --llvm-bin-path="${LLVM_BIN_PATH}" \
+ --test=test_sync_atomic.cpp \
+ --crosstest-bitcode=0 \
+ --driver=test_sync_atomic_main.cpp \
+ --output=test_sync_atomic_O${optlevel}
+
done
for optlevel in ${OPTLEVELS} ; do
@@ -72,4 +83,5 @@ for optlevel in ${OPTLEVELS} ; do
"${OUTDIR}"/test_fcmp_O${optlevel}
"${OUTDIR}"/test_global_O${optlevel}
"${OUTDIR}"/test_icmp_O${optlevel}
+ "${OUTDIR}"/test_sync_atomic_O${optlevel}
done

Powered by Google App Engine
This is Rietveld 408576698