OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The Native Client Authors. All rights reserved. | 2 * Copyright (c) 2012 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 <float.h> | 7 #include <float.h> |
8 #include <string.h> | 8 #include <string.h> |
9 | 9 |
| 10 #include "native_client/src/include/build_config.h" |
| 11 |
10 /* | 12 /* |
11 * This header declares the _mm_getcsr function. | 13 * This header declares the _mm_getcsr function. |
12 */ | 14 */ |
13 #if NACL_WINDOWS | 15 #if NACL_WINDOWS |
14 #include <mmintrin.h> | 16 #include <mmintrin.h> |
15 #else | 17 #else |
16 #include <xmmintrin.h> | 18 #include <xmmintrin.h> |
17 #endif | 19 #endif |
18 | 20 |
19 #include "native_client/src/shared/platform/nacl_log.h" | 21 #include "native_client/src/shared/platform/nacl_log.h" |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 sig_ctx->rsi = 0; | 129 sig_ctx->rsi = 0; |
128 sig_ctx->rdi = 0; | 130 sig_ctx->rdi = 0; |
129 | 131 |
130 sig_ctx->r8 = 0; | 132 sig_ctx->r8 = 0; |
131 sig_ctx->r9 = 0; | 133 sig_ctx->r9 = 0; |
132 sig_ctx->r10 = 0; | 134 sig_ctx->r10 = 0; |
133 sig_ctx->r11 = 0; | 135 sig_ctx->r11 = 0; |
134 | 136 |
135 sig_ctx->flags = 0; | 137 sig_ctx->flags = 0; |
136 } | 138 } |
OLD | NEW |