Remind me: does HTB have a divide in the fast path? ARMv6 and ARMv7-A CPUs don't have a hardware integer divide, so that can really hurt.
This is fixed I think in ARMv8 and definitely in AArch64, but divides are still expensive instructions on any CPU.
- Jonathan Morton