summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-02-08 23:48:10 +0000
committerChris Lattner <sabre@nondot.org>2010-02-08 23:48:10 +0000
commit08297ad15dbdfc8d8b3ad10146d96ad95dd8486e (patch)
treeeeb6078ddd8105877bf0012f0dfd6be8ce813757 /llvm/lib
parentae67ca33ed14039653aeb70c310ee0f1182b04de (diff)
downloadbcm5719-llvm-08297ad15dbdfc8d8b3ad10146d96ad95dd8486e.tar.gz
bcm5719-llvm-08297ad15dbdfc8d8b3ad10146d96ad95dd8486e.zip
this is done, tested by CodeGen/ARM/iabs.ll
llvm-svn: 95609
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/ARM/README.txt20
1 files changed, 0 insertions, 20 deletions
diff --git a/llvm/lib/Target/ARM/README.txt b/llvm/lib/Target/ARM/README.txt
index a6f26a5dfe1..9efb5a1426a 100644
--- a/llvm/lib/Target/ARM/README.txt
+++ b/llvm/lib/Target/ARM/README.txt
@@ -71,26 +71,6 @@ were disabled due to badness with the ARM carry flag on subtracts.
//===---------------------------------------------------------------------===//
-We currently compile abs:
-int foo(int p) { return p < 0 ? -p : p; }
-
-into:
-
-_foo:
- rsb r1, r0, #0
- cmn r0, #1
- movgt r1, r0
- mov r0, r1
- bx lr
-
-This is very, uh, literal. This could be a 3 operation sequence:
- t = (p sra 31);
- res = (p xor t)-t
-
-Which would be better. This occurs in png decode.
-
-//===---------------------------------------------------------------------===//
-
More load / store optimizations:
1) Better representation for block transfer? This is from Olden/power:
OpenPOWER on IntegriCloud