| 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..a967ca602150baf19cc4d4ebb743b32971101bef
|
| --- /dev/null
|
| +++ b/src/trusted/validator/validation_rewrite_32_test_data.S
|
| @@ -0,0 +1,41 @@
|
| +/*
|
| + * 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.
|
| + */
|
| +
|
| +.data
|
| +
|
| +/* This macro is used to define two global symbols for the same byte sequence:
|
| + * 'name' and '_name'. This is to work around the linkage issue across OS and
|
| + * compilers. */
|
| +.macro global_bytes name
|
| + .global \name
|
| +\name:
|
| + .global _\name
|
| +_\name:
|
| +.endm
|
| +
|
| + global_bytes no_rewrite_code
|
| + movntq %mm0, (%ebx)
|
| + .byte 0
|
| +
|
| + global_bytes no_rewrite_code_post_rewrite
|
| + movntq %mm0, (%ebx)
|
| + .byte 0
|
| +
|
| + global_bytes movntq_code
|
| + movntq %mm0, (%ebx)
|
| + .byte 0
|
| +
|
| + global_bytes movntq_code_post_rewrite
|
| + movq %mm0, (%ebx)
|
| + .byte 0
|
| +
|
| + global_bytes movntdq_code
|
| + movntdq %xmm0, (%edx)
|
| + .byte 0
|
| +
|
| + global_bytes movntdq_code_post_rewrite
|
| + movdqa %xmm0, (%edx)
|
| + .byte 0
|
|
|