Might even be worth handcoding it in assembler, as GCC is pretty terrible even when you give it nice NEON intrinsics to work from.