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

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

Issue 1863433002: x86 validator: Implement rewriting "movntq" to "movq" on x86-64 (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Created 4 years, 8 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 e1d1bace2f497afae7ee2b6a2515fdc4863a8a77..a392f697cfd77ac52ebdd617bc48664335ea6e8c 100644
--- a/src/trusted/validator/validation_rewrite_test.cc
+++ b/src/trusted/validator/validation_rewrite_test.cc
@@ -44,6 +44,7 @@ DECLARE_TEMPLATE(prefetchnta_code)
DECLARE_TEMPLATE(off_webstore_movnt_code)
DECLARE_TEMPLATE(prefetchnta_code)
DECLARE_TEMPLATE(prefetchnta_rip_relative_code)
+DECLARE_TEMPLATE(movntq_code)
DECLARE_TEMPLATE(movntps_code)
DECLARE_TEMPLATE(movnti_code)
DECLARE_TEMPLATE(movnti_code2)
@@ -138,6 +139,10 @@ TEST_F(ValidationMovntRewriteTests, RewritePrefetchntaRipRelative) {
TestRewrite(&t_prefetchnta_rip_relative_code);
}
+TEST_F(ValidationMovntRewriteTests, RewriteMovntq) {
+ TestRewrite(&t_movntq_code);
+}
+
TEST_F(ValidationMovntRewriteTests, RewriteMovntps) {
TestRewrite(&t_movntps_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