Added hardware optimizations for ARM compile