OLD | NEW |
(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 movntq %mm0, (%ebx) |
| 21 .byte 0 |
| 22 |
| 23 global_bytes no_rewrite_code_post_rewrite |
| 24 movntq %mm0, (%ebx) |
| 25 .byte 0 |
| 26 |
| 27 global_bytes movntq_code |
| 28 movntq %mm0, (%ebx) |
| 29 .byte 0 |
| 30 |
| 31 global_bytes movntq_code_post_rewrite |
| 32 movq %mm0, (%ebx) |
| 33 .byte 0 |
| 34 |
| 35 global_bytes movntdq_code |
| 36 movntdq %xmm0, (%edx) |
| 37 .byte 0 |
| 38 |
| 39 global_bytes movntdq_code_post_rewrite |
| 40 movdqa %xmm0, (%edx) |
| 41 .byte 0 |
OLD | NEW |