diff options
-rw-r--r-- | lib/Target/ARM/README-Thumb.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/ARM/README-Thumb.txt b/lib/Target/ARM/README-Thumb.txt index e9e943d..c64457f 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. |