https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79217
Bug ID: 79217 Summary: Feature request: high half of a multiplication Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: hpa at zytor dot com Target Milestone: --- There is no standard way in C to obtain the high half of a multiplication for the largest integer data type supported. gcc has __int128 on 64-bit platforms, but not on 32-bit platforms; futhermore, it is sort of an infinite loop of adding integer data types. We could certainly use this in the Linux kernel, and hopefully should eventually be included in the C standard.