https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110304
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> --- (In reply to cqwrteur from comment #6) > i can guarantee my implementation is optimal on these no flags architectures > without the need of optimizations from backend. Then there would be no need > to do backend specific optimizations on mips riscv and loongarch Except that the clang builtins don't require [0, 1] range of carry-in and actually support any other value. So, I can't do assumptions like that when I'm providing compatibility builtins.