Thumb vs. arm comparison

On this page we compare the performance of packages using the thumb instruction set versus using the arm instruction set. In the following table we see the ratio of thumb / arm for both speed and memory usage. By default packages are compiled with the arm instruction set. To compile a package with thumb use the following CFLAGS:

-mthumb -mthumb-interworks ?????

If the ratio in the following table is less then 1.0, thumb is faster or takes less memory. Otherwise arm is faster or takes less memory.

<
Package Speed ratio (thumb/arm) Memory ratio (thumb/arm)Test Comments
package1 1.68 1.80
package2 1.00 1.01
busybox 1.00 0.75 busybox bzcat ncurses-5.7.tar.bz2 > /dev/null CFLAGS+=mthumb