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:
8ca5693
)
add a note
author
Chris Lattner
<sabre@nondot.org>
Tue, 23 Aug 2005 06:27:59 +0000
(06:27 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 23 Aug 2005 06:27:59 +0000
(06:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22982
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 dc1bc57e4dbb454a8aee83ba66c419ec59752b25..649986e9504d4e9cabee105d35794a69048ad2bd 100644
(file)
--- a/
lib/Target/PowerPC/README.txt
+++ b/
lib/Target/PowerPC/README.txt
@@
-51,3
+51,23
@@
_foo:
b .LBBl42__2E_expand_function_8_674 ; loopentry.24
b .LBBl42__2E_expand_function_8_42 ; NewDefault
b .LBBl42__2E_expand_function_8_42 ; NewDefault
+
+* Codegen this:
+
+ void test2(int X) {
+ if (X == 0x12345678) bar();
+ }
+
+ as:
+
+ xoris r0,r3,0x1234
+ cmpwi cr0,r0,0x5678
+ beq cr0,L6
+
+ not:
+
+ lis r2, 4660
+ ori r2, r2, 22136
+ cmpw cr0, r3, r2
+ bne .LBB_test2_2
+