summaryrefslogtreecommitdiff
path: root/thirdparty/embree/common/simd/wasm/emulation.h
blob: 778ab4ae6a5ae0b448ded5462bf0b8b75d771f07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright 2009-2020 Intel Corporation
// SPDX-License-Identifier: Apache-2.0

#pragma once

// According to https://emscripten.org/docs/porting/simd.html, _MM_SET_EXCEPTION_MASK and
// _mm_setcsr are unavailable in WebAssembly.

#define _MM_SET_EXCEPTION_MASK(x)

__forceinline void _mm_setcsr(unsigned int)
{
}