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

Unified Diff: src/trusted/validator/validation_rewrite_test.cc

Issue 1837733002: x86 validator: Implement rewriting "movntps" to "movaps" on x86-32 (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Created 4 years, 9 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 | « no previous file | src/trusted/validator/validation_rewrite_test_data.S » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/validator/validation_rewrite_test.cc
diff --git a/src/trusted/validator/validation_rewrite_test.cc b/src/trusted/validator/validation_rewrite_test.cc
index a392f697cfd77ac52ebdd617bc48664335ea6e8c..f981dfcab168d66c66ad7914583eb13dd298f809 100644
--- a/src/trusted/validator/validation_rewrite_test.cc
+++ b/src/trusted/validator/validation_rewrite_test.cc
@@ -38,6 +38,7 @@ struct TestCode {
DECLARE_TEMPLATE(no_rewrite_code)
#if NACL_BUILD_SUBARCH == 32
DECLARE_TEMPLATE(movntq_code)
+DECLARE_TEMPLATE(movntps_code)
DECLARE_TEMPLATE(movntdq_code)
DECLARE_TEMPLATE(prefetchnta_code)
#else
@@ -114,6 +115,10 @@ TEST_F(ValidationMovntRewriteTests, RewriteMovntq) {
TestRewrite(&t_movntq_code);
}
+TEST_F(ValidationMovntRewriteTests, RewriteMovntps) {
+ TestRewrite(&t_movntps_code);
+}
+
TEST_F(ValidationMovntRewriteTests, RewriteMovntdq) {
TestRewrite(&t_movntdq_code);
}
« no previous file with comments | « no previous file | src/trusted/validator/validation_rewrite_test_data.S » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698