powturbo / Turbo-Base64

Turbo Base64 - Fastest Base64 SIMD:SSE/AVX2/AVX512/Neon/Altivec - Faster than memcpy!
GNU General Public License v3.0
264 stars 40 forks source link

can it build by vs2015? #8

Closed lihongyi1234 closed 2 years ago

lihongyi1234 commented 3 years ago

hello!!! I finished base64 encode/decode previously but run a little slow ,i want to use you code in vs2015 , what can i do

lihongyi1234 commented 3 years ago

I build you project through vs2015 success, I tested but crashed std::vectorbuffer{ 'b','G','l','o','b','2','5','n','e','W','k','=' }; std::vectorrec; int success = tb64sdec(&buffer[0], buffer.size(), &rec[0]);

lihongyi1234 commented 3 years ago

when I compile turbo-base64 to android by android-ndk-r20, it failed with following information, it seems there is not good metod !!!

E:\android-ndk\android-ndk-r20-windows-x86_64\android-ndk-r20\toolchains\llvm\prebuilt\windows-x86_64\lib64\clang\8.0.7\include\mmintrin.h:64:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_vec_init_v2si(i, 0);