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

Unified Diff: src/trusted/validator/validation_rewrite_32_test_data.S

Issue 1269113003: Rewrite non-temporal instructions Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Format Created 5 years, 4 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: src/trusted/validator/validation_rewrite_32_test_data.S
diff --git a/src/trusted/validator/validation_rewrite_32_test_data.S b/src/trusted/validator/validation_rewrite_32_test_data.S
new file mode 100644
index 0000000000000000000000000000000000000000..91ef135decc589a797cbdd75a449fc85ad80d39e
--- /dev/null
+++ b/src/trusted/validator/validation_rewrite_32_test_data.S
@@ -0,0 +1,35 @@
+/*
+ * Copyright 2015 The Native Client Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#include "native_client/src/include/nacl_asm.h"
+
+#define GLOBAL_SYM(name) .global IDENTIFIER(name); IDENTIFIER(name):
+
+.data
+
+GLOBAL_SYM(no_rewrite_code)
+ movntq %mm0, (%ebx)
+GLOBAL_SYM(no_rewrite_code_end)
+
+GLOBAL_SYM(no_rewrite_code_post_rewrite)
+ movntq %mm0, (%ebx)
+GLOBAL_SYM(no_rewrite_code_post_rewrite_end)
+
+GLOBAL_SYM(movntq_code)
+ movntq %mm0, (%ebx)
+GLOBAL_SYM(movntq_code_end)
+
+GLOBAL_SYM(movntq_code_post_rewrite)
+ movq %mm0, (%ebx)
+GLOBAL_SYM(movntq_code_post_rewrite_end)
+
+GLOBAL_SYM(movntdq_code)
+ movntdq %xmm0, (%edx)
+GLOBAL_SYM(movntdq_code_end)
+
+GLOBAL_SYM(movntdq_code_post_rewrite)
+ movdqa %xmm0, (%edx)
+GLOBAL_SYM(movntdq_code_post_rewrite_end)
« no previous file with comments | « src/trusted/validator/validation_rewrite_32_test.cc ('k') | src/trusted/validator/validation_rewrite_64_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698