FIAS . Impressum . Privacy

add support for unsigned char

paul elsner [please enable javascript to see the address]
Wed Sep 30 21:49:11 CEST 2015


Hi,
I want to add support for unsigned char to the library to later on use
functions like _mm_sad_epu8.

Where should I start and on which branch? I saw that there is a huge
difference where types are defined between 0.8 and master.

An additional problem is that master does not build currently on my mac
with clang 7.0.0:

In file included from
/Users/paulwork/repo/Vc/build/trigonometric_SSE2.cpp:32:
In file included from /Users/paulwork/repo/Vc/include/Vc/vector.h:147:

*/Users/paulwork/repo/Vc/scalar/math.h:93:7: **error: *
*no member named 'sincos' in the global namespace; did you mean '__sincos'?*
  ::sincos(x.data(), &sin->data(), &cos->data());

*    ~~^~~~~~*      __sincos


*/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/math.h:666:29:
note: *      '__sincos' declared here
__header_always_inline void __sincos(double __x, double *__sinp, double
*__cosp) {

*                            ^*1 error generated.
make[2]: *** [CMakeFiles/Vc.dir/trigonometric_SSE2.cpp.o] Error 1


Any thoughts on that?


Thanks!

Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://compeng.uni-frankfurt.de/pipermail/vc-devel/attachments/20150930/6bf0b3b5/attachment.html>


More information about the Vc-devel mailing list
FIAS . Impressum . Privacy