[PATCH] D17781: Codegen: [PPC] Word Rotates are Zero Extending

Hal Finkel via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 1 14:30:34 PST 2016


hfinkel added a subscriber: hfinkel.
hfinkel requested changes to this revision.
hfinkel added a reviewer: hfinkel.
hfinkel added a comment.
This revision now requires changes to proceed.

I don't think this is right. RLWINM starts by taking two copies of the 32-bit amount, one copy in the lower word and one copy in the upper word and rotates the result, Then it composes the mask. The mask is non-zero in the upper bits if MB >= ME.


Repository:
  rL LLVM

http://reviews.llvm.org/D17781





More information about the llvm-commits mailing list