https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70773
--- Comment #11 from PeteVine <tulipawn at gmail dot com> --- I've just retested gcc7 on both ARM platforms. AArch64 gets a 3% improvement now, while ARMv7 reproduces the issue, just as before. I'm compiling/profiling on a Cortex A5 which could be the main reason behind all this, as it doesn't have hard division.