https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79173
--- Comment #8 from Michael_S <already5chosen at yahoo dot com> --- (In reply to Jakub Jelinek from comment #7) > (In reply to Michael_S from comment #5) > > I agree with regard to "other targets", first of all, aarch64, but x86_64 > > variant of gcc already provides requested functionality in for of > > _subborrow_u64 () and _addcarry_u64() intrinsic functions. > > The problem here is not lack of functionality, but very poor implementation > > (mentioned many times on bugzilla with minimal effect). > > In that regard gcc is more than decade behind MSVC and ~4 years behind > > clang/llvm. Surprisingly, icc is also quite bad. > > Are you sure you have tested gcc trunk? > There have been fixes for this a month ago as part of PR97387 fixes. I am sure I did not :-) And I most likely am not going to test trunk, sorry. I'd wait for release. Essentially I am posting here not because I deeply care about the topic right now (I did care a years or so ago, but lost interest since then, see https://www.realworldtech.com/forum/?threadid=188061&curpostid=188061), but because I stepped on it occasionally while waiting for response to 97832. So, sorry for intervention.