https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91598
Wilco <wilco at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wilco at gcc dot gnu.org --- Comment #7 from Wilco <wilco at gcc dot gnu.org> --- Fixed in GCC9 and trunk. Given the regression is so large, it is worth backporting. The other issue is that assembler statements (and likely any RTL instruction without specified latencies) are badly scheduled. Honoring all known latencies and assuming a reasonable default latency otherwise would be a better approach.