summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorAndrew Lenharth <andrewl@lenharth.org>2006-09-20 14:48:00 +0000
committerAndrew Lenharth <andrewl@lenharth.org>2006-09-20 14:48:00 +0000
commit97a4e99affaaf1b4d676532e28872b31f8d3e85f (patch)
treefd84077431e41d90bc7e8d60744fad18852ae0fa /llvm/lib
parente2d138a4624b657d20c6706adf3cb1adeabc7203 (diff)
downloadbcm5719-llvm-97a4e99affaaf1b4d676532e28872b31f8d3e85f.tar.gz
bcm5719-llvm-97a4e99affaaf1b4d676532e28872b31f8d3e85f.zip
clarify with test case
llvm-svn: 30531
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/Alpha/Readme.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/llvm/lib/Target/Alpha/Readme.txt b/llvm/lib/Target/Alpha/Readme.txt
index 22755192969..ed5424726a7 100644
--- a/llvm/lib/Target/Alpha/Readme.txt
+++ b/llvm/lib/Target/Alpha/Readme.txt
@@ -1,6 +1,19 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Fix cmovs with a constant on the wrong side
+aka:
+ lda $0,10($31)
+ cmovlt $17,$0,$16
+
+is bad for:
+
+long %cmov_lt2(long %a, long %c) {
+entry:
+ %tmp.1 = setlt long %c, 0
+ %retval = select bool %tmp.1, long 10, long %a
+ ret long %retval
+}
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Fix Ordered/Unordered FP stuff
OpenPOWER on IntegriCloud