Revert "Add ARM optimizations"

This reverts commit ff71f9089c992dd865920c0db0e4861a4ecc2809.