Displaying 6 results from an estimated 6 matches for "mp_src".
2010 Jun 13
2
[LLVMdev] Bignum development
...> #include <stdio.h>
>
> #define BITS 64
>
> /****************************************
>
> Types
>
> ****************************************/
>
> typedef unsigned long ul;
> typedef __uint128_t ull;
> typedef ulong mp_size;
> typedef const ulong * mp_src;
> typedef ulong * mp_dst;
> typedef ulong * mp_ptr;
>
>
> /****************************************
>
> Random routines
>
> ****************************************/
>
> ull __randval = (ull) 13993185049168412078UL;
> const ull __randprime = (ull) 922337203685...
2010 Jun 12
0
[LLVMdev] Bignum development
...arry. Consider this short C
program:
#include <stdlib.h>
#include <stdio.h>
#define BITS 64
/****************************************
Types
****************************************/
typedef unsigned long ul;
typedef __uint128_t ull;
typedef ulong mp_size;
typedef const ulong * mp_src;
typedef ulong * mp_dst;
typedef ulong * mp_ptr;
/****************************************
Random routines
****************************************/
ull __randval = (ull) 13993185049168412078UL;
const ull __randprime = (ull) 9223372036854775814UL * 2 + 1;
const ull __randmult = 181485081895...
2010 Jun 13
0
[LLVMdev] Bignum development
...BITS 64
>>
>> /****************************************
>>
>> Types
>>
>> ****************************************/
>>
>> typedef unsigned long ul;
>> typedef __uint128_t ull;
>> typedef ulong mp_size;
>> typedef const ulong * mp_src;
>> typedef ulong * mp_dst;
>> typedef ulong * mp_ptr;
>>
>>
>> /****************************************
>>
>> Random routines
>>
>> ****************************************/
>>
>> ull __randval = (ull) 13993185049168412078UL...
2010 Jun 13
2
[LLVMdev] Bignum development
...************************************
>>>
>>> Types
>>>
>>> ****************************************/
>>>
>>> typedef unsigned long ul;
>>> typedef __uint128_t ull;
>>> typedef ulong mp_size;
>>> typedef const ulong * mp_src;
>>> typedef ulong * mp_dst;
>>> typedef ulong * mp_ptr;
>>>
>>>
>>> /****************************************
>>>
>>> Random routines
>>>
>>> ****************************************/
>>>
>>> ull _...
2010 Jun 11
3
[LLVMdev] Bignum development
On Fri, Jun 11, 2010 at 3:28 PM, Bill Hart <goodwillhart at googlemail.com> wrote:
> Hi Eli,
>
> On 11 June 2010 22:44, Eli Friedman <eli.friedman at gmail.com> wrote:
>> On Fri, Jun 11, 2010 at 10:37 AM, Bill Hart <goodwillhart at googlemail.com> wrote:
>>> a) What plans are there to support addition, subtraction,
>>> multiplication, division,
2010 Jun 11
4
[LLVMdev] Bignum development
Hi all,
After searching for a decent compiler backend for ages (google
sometimes isn't helpful), I recently stumbled upon LLVM. Woot!!
I work on bignum arithmetic (I'm a professional mathematician) and
have recently decided to switch from developing GPL'd bignum code to
BSD licensed code. (See http://www.mpir.org/ which I contributed to
for a while - a fork of GMP).
Please bear with