* Where to find implementation of __int128_t
@ 2023-03-28 21:55 Frederick Virchanza Gotham
2023-03-28 22:38 ` Jonathan Wakely
0 siblings, 1 reply; 2+ messages in thread
From: Frederick Virchanza Gotham @ 2023-03-28 21:55 UTC (permalink / raw)
To: gcc-help
I want to fork the GNU g++ compiler and add a new integer type, __int256_t.
Could someone please point me to the relevant files where __int128_t
is implemented? I've been searching the repository on Github but can't
find it.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Where to find implementation of __int128_t
2023-03-28 21:55 Where to find implementation of __int128_t Frederick Virchanza Gotham
@ 2023-03-28 22:38 ` Jonathan Wakely
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Wakely @ 2023-03-28 22:38 UTC (permalink / raw)
To: cauldwell.thomas; +Cc: gcc-help
On Tue, 28 Mar 2023 at 22:57, Frederick Virchanza Gotham via Gcc-help
<gcc-help@gcc.gnu.org> wrote:
>
> I want to fork the GNU g++ compiler and add a new integer type, __int256_t.
>
> Could someone please point me to the relevant files where __int128_t
> is implemented? I've been searching the repository on Github but can't
> find it.
You should clone the repo and use git grep, not github's search. That
will find it instantly. For github you need to search for the string
"__int128_t" (with quotes).
But __int128_t is just an implicitly-defined typedef, you probably
want to add the actual types __int128 and unsigned __int128 instead.
You want to search for INT_N and __intN to see how non-standard
integer types are defined.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-03-28 22:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-28 21:55 Where to find implementation of __int128_t Frederick Virchanza Gotham
2023-03-28 22:38 ` Jonathan Wakely
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).