public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/79217] Feature request: high half of an integer multiplication
       [not found] <bug-79217-4@http.gcc.gnu.org/bugzilla/>
@ 2021-08-07  5:50 ` pinskia at gcc dot gnu.org
  2024-04-03 17:27 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-07  5:50 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79217

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to H. Peter Anvin from comment #5)
> b) it seems likely that getting __intN where N > CHAR_BIT*sizeof(uintmax_t)
> into a standard would be very hard, and thus would not be possible to
> standard-track (although it could be used as an implementation on gcc using
> a header inline, of course.)

I saw a proposal for C23 (I think it was C23) for arbitrary bit size integers. 
I don't know if that included big integers either.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug c/79217] Feature request: high half of an integer multiplication
       [not found] <bug-79217-4@http.gcc.gnu.org/bugzilla/>
  2021-08-07  5:50 ` [Bug c/79217] Feature request: high half of an integer multiplication pinskia at gcc dot gnu.org
@ 2024-04-03 17:27 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-04-03 17:27 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79217

--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #6)
> I saw a proposal for C23 (I think it was C23) for arbitrary bit size
> integers.  I don't know if that included big integers either.

It does and _BitInt(128) is supported on x86 (both 32 and 64 bit) in GCC 14.
aarch64 (Little-endian only) is adding support too and should be included in
GCC 14.

I think arm will be adding it for GCC 15 though.

I am not 100% sure but I suspect _BitInt support satisfies this request here.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-04-03 17:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-79217-4@http.gcc.gnu.org/bugzilla/>
2021-08-07  5:50 ` [Bug c/79217] Feature request: high half of an integer multiplication pinskia at gcc dot gnu.org
2024-04-03 17:27 ` pinskia at gcc dot gnu.org

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).