aboutsummaryrefslogtreecommitdiff
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
commit198529aaf123ae2431840dfa4c1b84eaebf0183b (patch)
tree6f262fe1bccdde36c45a1a6eba9c5fc85b3feac5
parentd85ac4d07966a56b3101598f29393f4532acc50f (diff)
New entry.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33569 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/ARM/README-Thumb.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/ARM/README-Thumb.txt b/lib/Target/ARM/README-Thumb.txt
index e9e943d0ae..c64457fe15 100644
--- a/lib/Target/ARM/README-Thumb.txt
+++ b/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.