[Bug c/117266] RFE: builtin 2N/N -> N div/mod

2024-10-26 Thread hpa at zytor dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117266 --- Comment #16 from H. Peter Anvin --- Well, if that is the way you feel about it. It is certainly different from the messages we get in other situations, so it is a bit confusing to me. It isn't *that* unusual that you know a priori that the

[Bug c/117266] RFE: builtin 2N/N -> N div/mod

2024-10-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117266 --- Comment #15 from Andrew Pinski --- (In reply to H. Peter Anvin from comment #14) > A bigger, philosophical question: we are always told that builtins are > better for the compiler than inline assembly, as it gives the compiler more > informa

[Bug c/117266] RFE: builtin 2N/N -> N div/mod

2024-10-26 Thread hpa at zytor dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117266 H. Peter Anvin changed: What|Removed |Added Summary|RFE: builtins for N*N -> 2N |RFE: builtin 2N/N -> N