[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:
Thomas Faber 2020-08-15 21:39:34 +02:00
parent 44ae567e39
commit 32f17b34f5
No known key found for this signature in database
GPG key ID: 076E7C3D44720826

View file

@ -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)
{