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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
ROR can be open-coded, GCC tries hard to detect common patterns.

RCR is difficult because it involves the carry flag and thus the carry producer
would have to be explicit.  Or it would need to be an awkward intrinsic
like

__builtin_rcr ({unsigned, unsigned short, unsigned char} word, bool carry,
unsigned amnt);

and you'd need to hope the compiler can arrange 'carry' to be produced in
the carry flag ...

Reply via email to