https://issues.dlang.org/show_bug.cgi?id=21041
--- Comment #4 from safety0ff.bugz <[email protected]> --- (In reply to safety0ff.bugz from comment #3) > (In reply to Bruce Carneal from comment #1) > > Current dmd -O emits 7 instructions to accomplish the rolw in the code body. > > D converts many operations on narrow types to int, which DMD's backend then > fails to optimize away when it is possible/advantageous. Further investigation: dmd/backend/cod2.d function cdshift also converts rotates of 8 in upper/lower 8 of word into XCHG's --
