https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65604
--- Comment #2 from Andrew Zonenberg <azonenberg at drawersteak dot com> --- Yes, I am compiling for mips1. I'm targeting a size-optimized FPGA softcore that doesn't have support for the newer opcodes. Sounds like you've confirmed the bad code generation then?