projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e6099b
)
This is implemented
author
Chris Lattner
<sabre@nondot.org>
Sun, 30 Oct 2005 06:42:12 +0000
(06:42 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 30 Oct 2005 06:42:12 +0000
(06:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24107
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/PowerPC/README.txt
patch
|
blob
|
history
diff --git
a/lib/Target/PowerPC/README.txt
b/lib/Target/PowerPC/README.txt
index 972e5bbd6e17037b0f1f67eaa2f87dec61bb82e5..463e406779acc18ee2ea5c66114937b57a3bda6e 100644
(file)
--- 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
-