On Wed, 28 Jan 2026, Uros Bizjak wrote: > x86 targets mask 32-bit shifts with a 5-bit mask (and 64-bit with 6-bit mask), > so they can use x >> ~y instead of x >> 31-y.
Not the original 8086 though (which "x86" might imply to include), which didn't have a barrel shifter and just microcoded the operation. For the record only, as we have no support for anything below the 80386 anyway, not even with (obviously) `-m16'. Maciej
