Re: [Mingw-w64-public] [PATCH] intrin-impl.h: Added __popcnt16, __popcnt, and __popcnt64.

2017-02-16 Thread Mateusz MikuĊ‚a
Hello Jacek, With this patch clang builds example code from first message with and without `-fms-extensions`. I can provide prebuild clang-svn pacakge for msys2. Thanks, Mateusz 2017-02-16 15:06 GMT+01:00 Jacek Caban : > Hi Mateusz, > > Could you please try the attached

Re: [Mingw-w64-public] [PATCH] intrin-impl.h: Added __popcnt16, __popcnt, and __popcnt64.

2017-02-16 Thread Jacek Caban
Hi Mateusz, Could you please try the attached patch? It should existing failures on clang. It also changes our generic guard to take __has_builtin into account, so this should prevent problems in the future, if clang introduces more builtins, but I don't have clang setup to test it. Thanks,