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 | 886f98e6f982b36cc709a0a7739a907b337168cb (patch) | |
tree | 9cc0e5f22d7ff00a970f20899c7fe4c55df8d3f8 /lib/Target/Alpha/README.txt | |
parent | 0b78f3e4b4e119c8ad281959a1c3dcf4297b271c (diff) | |
download | llvm-886f98e6f982b36cc709a0a7739a907b337168cb.tar.gz llvm-886f98e6f982b36cc709a0a7739a907b337168cb.tar.bz2 llvm-886f98e6f982b36cc709a0a7739a907b337168cb.tar.xz |
clarify with test case
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30531 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Alpha/README.txt')
-rw-r--r-- | lib/Target/Alpha/README.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/Target/Alpha/README.txt b/lib/Target/Alpha/README.txt index 2275519296..ed5424726a 100644 --- a/lib/Target/Alpha/README.txt +++ b/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 |