mirror of
https://github.com/reactos/reactos.git
synced 2026-05-30 23:33:24 +08:00
[KERNEL32_APITEST] Enable SSE for TestSSEExceptions. CORE-17202
Clang will not let us use SSE intrinsics at all when compiling for a target that doesn't support SSE. Since this test is a special case, we can simply fix this by changing the options for one function. The alternative would be to use our own inline functions for the intrinsics instead of the builtins, like we do for GCC.
This commit is contained in:
@@ -102,6 +102,9 @@ static LONG WINAPI ExceptionFilterSSEException(LPEXCEPTION_POINTERS exp)
|
||||
return EXCEPTION_CONTINUE_EXECUTION;
|
||||
}
|
||||
|
||||
#ifdef __clang__
|
||||
__attribute__((__target__("sse")))
|
||||
#endif
|
||||
static
|
||||
VOID TestSSEExceptions(VOID)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user