The PS2 EE also had a nasty bug which would cause some loops to terminate early. There's a decent chance any random MIPS code would satisfy this bug's conditions.
https://lore.kernel.org/all/d59a6bef6541d35d4460b966c0fe651a...