aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-10-30 06:42:12 +0000
committerChris Lattner <sabre@nondot.org>2005-10-30 06:42:12 +0000
commitb685af3e60150f5bf513db161d982fcb8654c7b1 (patch)
tree5630d6b598044990f873d67b5d1454c4fe602ba3
parent3e6099b05fa85d9e5d82f04f73722f2af301c772 (diff)
This is implemented
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24107 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/PowerPC/README.txt19
1 files changed, 0 insertions, 19 deletions
diff --git a/lib/Target/PowerPC/README.txt b/lib/Target/PowerPC/README.txt
index 972e5bbd6e..463e406779 100644
--- a/lib/Target/PowerPC/README.txt
+++ b/lib/Target/PowerPC/README.txt
@@ -217,22 +217,3 @@ _test:
stw r2, 0(r3)
blr
-===-------------------------------------------------------------------------===
-
-Compile
-int foo(int a) { return a * -2 + 63; }
-
-to
-
-_foo:
- slwi r0,r3,1
- subfic r3,r0,63
- blr
-
-instead of:
-
-_foo:
- mulli r2,r3,-2
- addi r3,r2,63
- blr
-