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

Side by Side Diff: src/trusted/validator/validation_rewrite_test_data.S

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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright 2016 The Native Client Authors. All rights reserved. 2 * Copyright 2016 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 #include "native_client/src/include/build_config.h" 7 #include "native_client/src/include/build_config.h"
8 #include "native_client/src/include/nacl_asm.h" 8 #include "native_client/src/include/nacl_asm.h"
9 9
10 #define GLOBAL_SYM(name) .global IDENTIFIER(name); IDENTIFIER(name): 10 #define GLOBAL_SYM(name) .global IDENTIFIER(name); IDENTIFIER(name):
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 mov %edi,%edi 92 mov %edi,%edi
93 nop 93 nop
94 nop 94 nop
95 nop 95 nop
96 nop 96 nop
97 nop 97 nop
98 nop 98 nop
99 nop 99 nop
100 GLOBAL_SYM(prefetchnta_rip_relative_code_post_rewrite_end) 100 GLOBAL_SYM(prefetchnta_rip_relative_code_post_rewrite_end)
101 101
102 GLOBAL_SYM(movntq_code)
103 mov %ebx,%ebx
104 movntq %mm0,(%r15,%rbx,1)
105 GLOBAL_SYM(movntq_code_end)
106
107 GLOBAL_SYM(movntq_code_post_rewrite)
108 mov %ebx,%ebx
109 movq %mm0,(%r15,%rbx,1)
110 GLOBAL_SYM(movntq_code_post_rewrite_end)
111
102 GLOBAL_SYM(movntps_code) 112 GLOBAL_SYM(movntps_code)
103 mov %ebx,%ebx 113 mov %ebx,%ebx
104 movntps %xmm0,(%r15,%rbx,1) 114 movntps %xmm0,(%r15,%rbx,1)
105 GLOBAL_SYM(movntps_code_end) 115 GLOBAL_SYM(movntps_code_end)
106 116
107 GLOBAL_SYM(movntps_code_post_rewrite) 117 GLOBAL_SYM(movntps_code_post_rewrite)
108 mov %ebx,%ebx 118 mov %ebx,%ebx
109 movaps %xmm0,(%r15,%rbx,1) 119 movaps %xmm0,(%r15,%rbx,1)
110 GLOBAL_SYM(movntps_code_post_rewrite_end) 120 GLOBAL_SYM(movntps_code_post_rewrite_end)
111 121
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 movdqa %xmm15,(%r15,%rcx,1) /* offset 10, length 6 */ 229 movdqa %xmm15,(%r15,%rcx,1) /* offset 10, length 6 */
220 mov %ecx,%ecx /* offset 16, length 2 */ 230 mov %ecx,%ecx /* offset 16, length 2 */
221 movdqa %xmm15,(%r15,%rcx,1) /* offset 18, length 6 */ 231 movdqa %xmm15,(%r15,%rcx,1) /* offset 18, length 6 */
222 nop /* offset 24, length 1 */ 232 nop /* offset 24, length 1 */
223 mov %edx,%edx /* offset 25, length 2 */ 233 mov %edx,%edx /* offset 25, length 2 */
224 mov %r9d,(%r15,%rdx,1) /* offset 27, length 4 */ 234 mov %r9d,(%r15,%rdx,1) /* offset 27, length 4 */
225 nop /* offset 32, length 1 */ 235 nop /* offset 32, length 1 */
226 GLOBAL_SYM(last_movnti_cross_bundle_by_one_post_rewrite_end) 236 GLOBAL_SYM(last_movnti_cross_bundle_by_one_post_rewrite_end)
227 237
228 #endif 238 #endif
OLDNEW
« no previous file with comments | « src/trusted/validator/validation_rewrite_test.cc ('k') | src/trusted/validator_ragel/dfa_validate_common.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698