summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-01-27 02:33:22 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-01-27 02:33:22 +0000
commit0cd49bc8a264f488729c56a459694884619dec8c (patch)
tree72688c7754acbf21369604bbb44f36623fb1e0dc /llvm/lib
parent0701c5a0744b27a08724adcb584319f4b65d7328 (diff)
downloadbcm5719-llvm-0cd49bc8a264f488729c56a459694884619dec8c.tar.gz
bcm5719-llvm-0cd49bc8a264f488729c56a459694884619dec8c.zip
New entry.
llvm-svn: 33569
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/ARM/README-Thumb.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/README-Thumb.txt b/llvm/lib/Target/ARM/README-Thumb.txt
index e9e943d0ae2..c64457fe153 100644
--- a/llvm/lib/Target/ARM/README-Thumb.txt
+++ b/llvm/lib/Target/ARM/README-Thumb.txt
@@ -15,3 +15,7 @@
* Make better use of high registers r8, r10, r11, r12 (ip). Some variants of add
and cmp instructions can use high registers. Also, we can use them as
temporaries to spill values into.
+
+* If we know function size is less than (1 << 16) * 2 bytes, we can use 16-bit
+ jumptable entries (e.g. (L1 - L2) >> 1). Or even smaller entries if the
+ function is even smaller. This also applies to ARM.
OpenPOWER on IntegriCloud