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

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

Issue 1276543006: Experimental: Bundle revalidation inside user callback Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Fix error checking 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 unified diff | Download patch
OLDNEW
(Empty)
1 /*
2 * Copyright 2015 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file.
5 */
6
7 .data
8
9 /* This macro is used to define two global symbols for the same byte sequence:
10 * 'name' and '_name'. This is to work around the linkage issue across OS and
11 * compilers. */
12 .macro global_bytes name
13 .global \name
14 \name:
15 .global _\name
16 _\name:
17 .endm
18
19 global_bytes no_rewrite_code
20 mov %edi,%edi
21 movnti %rax,0x68(%r15,%rdi,1)
22 .byte 0
23
24 global_bytes no_rewrite_code_post_rewrite
25 mov %edi,%edi
26 movnti %rax,0x68(%r15,%rdi,1)
27 .byte 0
28
29 global_bytes prefetchnta_code
30 mov %edi,%edi
31 prefetchnta (%r15,%rdi,1)
32 .byte 0
33
34 global_bytes prefetchnta_code_post_rewrite
35 mov %edi,%edi
36 nop
37 nop
38 nop
39 nop
40 nop
41 .byte 0
42
43 global_bytes movntps_code
44 mov %ebx,%ebx
45 movntps %xmm0,(%r15,%rbx,1)
46 .byte 0
47
48 global_bytes movntps_code_post_rewrite
49 mov %ebx,%ebx
50 movaps %xmm0,(%r15,%rbx,1)
51 .byte 0
52
53 global_bytes movnti_code
54 mov %edi,%edi
55 movnti %rax,0x68(%r15,%rdi,1)
56 .byte 0
57
58 global_bytes movnti_code_post_rewrite
59 mov %edi,%edi
60 mov %rax,0x68(%r15,%rdi,1)
61 nop
62 .byte 0
63
64 global_bytes movnti_code2
65 mov %edx,%edx
66 movnti %r9d,(%r15,%rdx,1)
67 .byte 0
68
69 global_bytes movnti_code2_post_rewrite
70 mov %edx,%edx
71 mov %r9d,(%r15,%rdx,1)
72 nop
73 .byte 0
74
75 global_bytes movntdq_code
76 mov %edx,%edx
77 movntdq %xmm0,0x10(%r15,%rdx,1)
78 .byte 0
79
80 global_bytes movntdq_code_post_rewrite
81 mov %edx,%edx
82 movdqa %xmm0,0x10(%r15,%rdx,1)
83 .byte 0
84
85 global_bytes movntdq_code2
86 mov %ecx,%ecx
87 movntdq %xmm15,(%r15,%rcx,1)
88 .byte 0
89
90 global_bytes movntdq_code2_post_rewrite
91 mov %ecx,%ecx
92 movdqa %xmm15,(%r15,%rcx,1)
93 .byte 0
OLDNEW
« no previous file with comments | « src/trusted/validator/validation_rewrite_64_test.cc ('k') | src/trusted/validator_ragel/dfa_validate_32.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698