Community
cancel
Showing results for 
Search instead for 
Did you mean: 
gbrun
Beginner
76 Views

SSE4 is there a BigInt LIbrary?

i5 2410M processor I suppose can NOT use AVX
but can use SSE4.2

Is there a BigInt Library for SSE?
I Guess I am looking for something that implements unsigned integer

PMULUDQ (with 128-Bit operands)
PMULUDQ __m128i _mm_mul_epu32 ( __m128i a, __m128i b)

and does the carries.

Its a Laptop so I cant buy an NVIDIA GTX 550, which isnt so grand on unsigned Ints, I hear.
0 Kudos
3 Replies
Maxim_L_Intel1
Employee
76 Views

Intel Core i5 2410M is based on 2nd generation of Intel Core Microarchitecture (according to our marketing that is :), also known as Sandy Bridge) and it does support AVX - http://ark.intel.com/products/52224

However with arbitrary precision arithmetic your best shot is still a general purpose instruction set - to find implementations check crypto libraries, or e.g. crypto component of OpenSSL.

-Max
TimP
Black Belt
76 Views

I suspected much of what Max said here.
The advantage of a future extended AVX instruction set would be realized only if you have vectorizable code.
styc
Beginner
76 Views

Just use GMP and let the experts worry about performance for you.

Reply