[llvm-bugs] [Bug 34924] Remove 'zero shift' guards from rotation patterns
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Dec 17 13:20:51 PST 2018
https://bugs.llvm.org/show_bug.cgi?id=34924
Sanjay Patel <spatel+llvm at rotateright.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #11 from Sanjay Patel <spatel+llvm at rotateright.com> ---
Should be fixed (at -O3) after:
https://reviews.llvm.org/rL349396
Asm for x86-64 target is:
_rotl: ## @rotl
movl %esi, %ecx
movl %edi, %eax
roll %cl, %eax
retq
_rotr: ## @rotr
movl %esi, %ecx
movl %edi, %eax
rorl %cl, %eax
retq
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20181217/a0c815a6/attachment.html>
More information about the llvm-bugs
mailing list