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" | 10 #include "native_client/src/include/build_config.h" |
11 | 11 |
12 /* | 12 /* |
13 * This header declares the _mm_getcsr function. | 13 * This header declares the _mm_getcsr function. |
14 */ | 14 */ |
15 #if NACL_WINDOWS | 15 #if NACL_WINDOWS |
16 #include <mmintrin.h> | 16 #include <intrin.h> |
17 #else | 17 #else |
18 #include <xmmintrin.h> | 18 #include <xmmintrin.h> |
19 #endif | 19 #endif |
20 | 20 |
21 #include "native_client/src/shared/platform/nacl_log.h" | 21 #include "native_client/src/shared/platform/nacl_log.h" |
22 #include "native_client/src/trusted/service_runtime/nacl_app_thread.h" | 22 #include "native_client/src/trusted/service_runtime/nacl_app_thread.h" |
23 #include "native_client/src/trusted/service_runtime/nacl_signal.h" | 23 #include "native_client/src/trusted/service_runtime/nacl_signal.h" |
24 #include "native_client/src/trusted/service_runtime/nacl_tls.h" | 24 #include "native_client/src/trusted/service_runtime/nacl_tls.h" |
25 #include "native_client/src/trusted/service_runtime/sel_ldr.h" | 25 #include "native_client/src/trusted/service_runtime/sel_ldr.h" |
26 #include "native_client/src/trusted/service_runtime/sel_rt.h" | 26 #include "native_client/src/trusted/service_runtime/sel_rt.h" |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 sig_ctx->rsi = 0; | 129 sig_ctx->rsi = 0; |
130 sig_ctx->rdi = 0; | 130 sig_ctx->rdi = 0; |
131 | 131 |
132 sig_ctx->r8 = 0; | 132 sig_ctx->r8 = 0; |
133 sig_ctx->r9 = 0; | 133 sig_ctx->r9 = 0; |
134 sig_ctx->r10 = 0; | 134 sig_ctx->r10 = 0; |
135 sig_ctx->r11 = 0; | 135 sig_ctx->r11 = 0; |
136 | 136 |
137 sig_ctx->flags = 0; | 137 sig_ctx->flags = 0; |
138 } | 138 } |
OLD | NEW |