mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-21 00:32:23 +00:00
add a note. Our 64-bit shifts are ~30% slower than gcc's
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30457 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e695a3bd32
commit
f73fb88688
@ -59,7 +59,8 @@ One better solution for 1LL << x is:
|
|||||||
|
|
||||||
But that requires good 8-bit subreg support.
|
But that requires good 8-bit subreg support.
|
||||||
|
|
||||||
|
64-bit shifts (in general) expand to really bad code. Instead of using
|
||||||
|
cmovs, we should expand to a conditional branch like GCC produces.
|
||||||
|
|
||||||
//===---------------------------------------------------------------------===//
|
//===---------------------------------------------------------------------===//
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user