I don't expect a significant difference between -mips3 and -mips4 in libgcc. I suggest having only two variants: -n32/mips3 and -64/mips3.