* 128 bits integers
@ 2005-07-23 18:24 Andrés Domínguez
2005-07-24 3:46 ` Ian Lance Taylor
[not found] ` <200507232030.05646.pluto@agmk.net>
0 siblings, 2 replies; 3+ messages in thread
From: Andrés Domínguez @ 2005-07-23 18:24 UTC (permalink / raw)
To: gcc-help
How can I use 128 bits integers in C language with gcc on AMD64?
What is __int128? I have tried __int128 but doesn't work.
Thank you,
Andrés Domínguez
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 128 bits integers
2005-07-23 18:24 128 bits integers Andrés Domínguez
@ 2005-07-24 3:46 ` Ian Lance Taylor
[not found] ` <200507232030.05646.pluto@agmk.net>
1 sibling, 0 replies; 3+ messages in thread
From: Ian Lance Taylor @ 2005-07-24 3:46 UTC (permalink / raw)
To: Andrés Domínguez; +Cc: gcc-help
Andrés Domínguez <andresdju@gmail.com> writes:
> How can I use 128 bits integers in C language with gcc on AMD64?
> What is __int128? I have tried __int128 but doesn't work.
It's hardly elegant, and there may be a better solution, but this will
work:
typedef int bigint_t __attribute__ ((__mode__ (__TI__)));
Ian
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 128 bits integers
[not found] ` <200507232030.05646.pluto@agmk.net>
@ 2005-07-24 11:59 ` Andrés Domínguez
0 siblings, 0 replies; 3+ messages in thread
From: Andrés Domínguez @ 2005-07-24 11:59 UTC (permalink / raw)
To: gcc-help
On 7/23/05, Pawel wrote:
> On Saturday 23 of July 2005 20:24, Andrés Domínguez wrote:
> > How can I use 128 bits integers in C language with gcc on AMD64?
> > What is __int128? I have tried __int128 but doesn't work.
>
> use __int128_t, __uint128_t.
Thank you Pawel, it works. Thank you Ian for your reply.
Andrés Domínguez
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-07-24 11:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-23 18:24 128 bits integers Andrés Domínguez
2005-07-24 3:46 ` Ian Lance Taylor
[not found] ` <200507232030.05646.pluto@agmk.net>
2005-07-24 11:59 ` Andrés Domínguez
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).