aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/Target/PowerPC/README.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/README.txt b/lib/Target/PowerPC/README.txt
index 4db59ef..16117de 100644
--- a/lib/Target/PowerPC/README.txt
+++ b/lib/Target/PowerPC/README.txt
@@ -24,6 +24,9 @@ _foo:
rlwinm r3, r2, 0, 16, 31
blr
+and:
+ extern int X, Y; int* test(int C) { return C? &X : &Y; }
+as one load when using --enable-pic.
* Support 'update' load/store instructions. These are cracked on the G5, but
are still a codesize win.