Need help with uchar support
Matthias Kretz
[please enable javascript to see the address]
Thu Nov 19 11:06:01 CET 2015
Hi Paul,
On Tuesday, November 17, 2015 07:40:40 PM paul elsner wrote:
> currently I try to add uchar support for Vc. See
> paulelsner/add_uchar_support
> I'm struggling with the simd_cast function. A lot of unit test targets does
> not compile.
>
> Can someone take a look? I found simd_cast at many places, but I'm not sure
> where to add uchar.
Full simd_cast support is going to be a lot of work. :(
simd_cast allows any cast from N Vector<T>/SimdArray<T, K> objects to M
Vector<U>/SimdArray<U, L> objects. You'll need to add uchar simd_cast
implementations to sse/simd_cast.h, avx/simd_cast.h, and mic/simd_cast.h. The
scalar implementation, by default, already just calls static_cast. The
SimdArray simd_casts are using the Vector<T, Abi> simd_cast implementations,
so that should be covered as well.
Cheers,
Matthias
More information about the Vc-devel
mailing list