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

--- Comment #2 from Segher Boessenkool <segher at gcc dot gnu.org> ---
When you want the bits from bit MB to ME (inclusive) set, you can just do

  li t,-1
  rldic d,T,MB,63-ME

(bit # 0 is the high bit; can also do wrap-around masks this way).

Confirmed.

Reply via email to