| 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 "native_client/src/include/build_config.h" |
| 8 | 9 |
| 9 #if NACL_WINDOWS | 10 #if NACL_WINDOWS |
| 10 /* | 11 /* |
| 11 * This header declares the _mm_getcsr function. | 12 * This header declares the _mm_getcsr function. |
| 12 */ | 13 */ |
| 13 #include <mmintrin.h> | 14 #include <mmintrin.h> |
| 14 #endif | 15 #endif |
| 15 | 16 |
| 16 #include "native_client/src/shared/platform/nacl_log.h" | 17 #include "native_client/src/shared/platform/nacl_log.h" |
| 17 #include "native_client/src/trusted/service_runtime/nacl_app_thread.h" | 18 #include "native_client/src/trusted/service_runtime/nacl_app_thread.h" |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 } | 149 } |
| 149 | 150 |
| 150 | 151 |
| 151 void NaClSignalContextUnsetClobberedRegisters( | 152 void NaClSignalContextUnsetClobberedRegisters( |
| 152 struct NaClSignalContext *sig_ctx) { | 153 struct NaClSignalContext *sig_ctx) { |
| 153 sig_ctx->eax = 0; | 154 sig_ctx->eax = 0; |
| 154 sig_ctx->ecx = 0; | 155 sig_ctx->ecx = 0; |
| 155 sig_ctx->edx = 0; | 156 sig_ctx->edx = 0; |
| 156 sig_ctx->flags = 0; | 157 sig_ctx->flags = 0; |
| 157 } | 158 } |
| OLD | NEW |