From 198529aaf123ae2431840dfa4c1b84eaebf0183b Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Sat, 27 Jan 2007 02:33:22 +0000 Subject: [PATCH] New entry. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33569 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/ARM/README-Thumb.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/Target/ARM/README-Thumb.txt b/lib/Target/ARM/README-Thumb.txt index e9e943d0ae2..c64457fe153 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. -- 2.34.1