Changes in directory llvm/lib/Target/Alpha:
README.txt updated: 1.5 -> 1.6 --- Log message: This has apparently been fixed --- Diffs of the changes: (+0 -30) README.txt | 30 ------------------------------ 1 files changed, 30 deletions(-) Index: llvm/lib/Target/Alpha/README.txt diff -u llvm/lib/Target/Alpha/README.txt:1.5 llvm/lib/Target/Alpha/README.txt:1.6 --- llvm/lib/Target/Alpha/README.txt:1.5 Sun Sep 24 08:13:10 2006 +++ llvm/lib/Target/Alpha/README.txt Tue Oct 10 20:44:46 2006 @@ -151,33 +151,3 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Fix Ordered/Unordered FP stuff - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -improve bytezap opertunities -ulong %foo(ulong %y) { -entry: - %tmp = and ulong %y, 65535 - %tmp2 = shr ulong %tmp, ubyte 3 - ret ulong %tmp2 -} - - -compiles to a 3 instruction sequence without instcombine - zapnot $16,3,$0 - srl $0,3,$0 - ret $31,($26),1 - -After instcombine you get -ulong %foo(ulong %y) { -entry: - %tmp = shr ulong %y, ubyte 3 ; <ulong> [#uses=1] - %tmp2 = and ulong %tmp, 8191 ; <ulong> [#uses=1] - ret ulong %tmp2 -} - -which compiles to - lda $0,8191($31) - srl $16,3,$1 - and $1,$0,$0 - ret $31,($26),1 - _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits