Add MIPS/Loongson support