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

Unified Diff: tests/validator/nacl.scons

Issue 1309953002: x86 validator: Rewrite non-temporal stores into cached memory accesses (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Review nit Created 4 years, 10 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
« no previous file with comments | « src/trusted/validator_ragel/dfa_validate_common.c ('k') | tests/validator/rewrite_nontemporals.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/validator/nacl.scons
diff --git a/tests/validator/nacl.scons b/tests/validator/nacl.scons
index 25777cacf7535aac79936e1a55f94a82b32bc5bc..3112368a45016b6a54f44b9572189907ca49e027 100644
--- a/tests/validator/nacl.scons
+++ b/tests/validator/nacl.scons
@@ -5,6 +5,24 @@
Import('env')
+# Some of the inline assembly constraints in this test aren't supported by
+# the old version of GCC that the nacl-glibc toolchain uses, so we disable
+# the test for that case.
+if (env.Bit('build_x86') and env.AllowInlineAssembly() and
+ not env.Bit('nacl_glibc')):
+ rewrite_nontemporals_nexe = env.ComponentProgram(
+ 'rewrite_nontemporals_test', ['rewrite_nontemporals.c'],
+ EXTRA_LIBS=['${NONIRT_LIBS}'])
+
+ node = env.CommandSelLdrTestNacl(
+ 'rewrite_nontemporals_test.out',
+ rewrite_nontemporals_nexe)
+
+ env.AddNodeToTestSuite(node,
+ ['small_tests', 'nonpexe_tests'],
+ 'run_rewrite_nontemporals_test')
+
+
# The following test is specific to the x86_64 sandbox, and is not portable.
if env.Bit('build_x86_64') and env.AllowInlineAssembly():
lahf_sahf_nexe = env.ComponentProgram(
« no previous file with comments | « src/trusted/validator_ragel/dfa_validate_common.c ('k') | tests/validator/rewrite_nontemporals.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698