> typedef unsigned int uint128_t __attribute__((mode(TI)));

There is builtin __uint128_t type recognized by gcc [reportedly] since
3.1, so that why does one have to clobber it with typedef? Could you
generate assembler listing for following snippet?

unsigned long long foo(unsigned long long a,unsigned long long b)
{ return ((__uint128_t)a*b)>>64; }

I mean run 'gcc -O3 -S file.c' and post file.s. Well, you might have to
add whatever appropriate platform flags to gcc, e.g. -mabi=[n32|64] and
-mips4.

Out of curiosity. What CPU is it? Which OS?

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to