mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 07:18:17 +02:00
util/u_sse: Fix _mm_shuffle_epi8 prototype for clang.
Clang does not support __artificial__. Instead match precisely what's in the clang headers.
This commit is contained in:
parent
45a60e2e7a
commit
f0c296773d
1 changed files with 6 additions and 1 deletions
|
|
@ -175,7 +175,12 @@ static INLINE void u_print_ps(const char *name, __m128 r)
|
|||
* MSVC will never get in here as its intrinsics support do not rely on
|
||||
* compiler command line options.
|
||||
*/
|
||||
static __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
|
||||
static __inline __m128i
|
||||
#ifdef __clang__
|
||||
__attribute__((__always_inline__, __nodebug__))
|
||||
#else
|
||||
__attribute__((__gnu_inline__, __always_inline__, __artificial__))
|
||||
#endif
|
||||
_mm_shuffle_epi8(__m128i a, __m128i mask)
|
||||
{
|
||||
__m128i result;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue