diff options
author | Andrew Lenharth <andrewl@lenharth.org> | 2006-09-20 14:48:00 +0000 |
---|---|---|
committer | Andrew Lenharth <andrewl@lenharth.org> | 2006-09-20 14:48:00 +0000 |
commit | 97a4e99affaaf1b4d676532e28872b31f8d3e85f (patch) | |
tree | fd84077431e41d90bc7e8d60744fad18852ae0fa /llvm/lib | |
parent | e2d138a4624b657d20c6706adf3cb1adeabc7203 (diff) | |
download | bcm5719-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.txt | 13 |
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 |