some linaro optimizations