0.2.0-dev Download ZIP
13 lines ·315 B Raw
| 1 | // Copyright 2009-2020 Intel Corporation |
| 2 | // SPDX-License-Identifier: Apache-2.0 |
| 3 | |
| 4 | #pragma once |
| 5 | |
| 6 | // According to https://emscripten.org/docs/porting/simd.html, _MM_SET_EXCEPTION_MASK and |
| 7 | // _mm_setcsr are unavailable in WebAssembly. |
| 8 | |
| 9 | #define _MM_SET_EXCEPTION_MASK(x) |
| 10 | |
| 11 | __forceinline void _mm_setcsr(unsigned int) |
| 12 | { |
| 13 | } |