================
@@ -24,6 +24,7 @@ typedef float __m128_u __attribute__((__vector_size__(16), 
__aligned__(1)));
 /* Unsigned types */
 typedef unsigned int __v4su __attribute__((__vector_size__(16)));
 typedef unsigned short __v8hu __attribute__((__vector_size__(16)));
+typedef unsigned char __v16qu __attribute__((__vector_size__(16)));
----------------
markbhasawut wrote:

The compiler complains about there is no builtin type `__v16qu` which 
_mm_avg_pu8 now required. 
```c++
static __inline__ __m64 __DEFAULT_FN_ATTRS_SSE2_CONSTEXPR
_mm_avg_pu8(__m64 __a, __m64 __b) {
  return __trunc64(__builtin_ia32_pavgb128((__v16qu)__anyext128(__a),
                                           (__v16qu)__anyext128(__b)));
}
``` 

https://github.com/llvm/llvm-project/pull/157464
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to