Two exceptions to this:
test/CodeGen/Mips/octeon.ll test/CodeGen/Mips/octeon_popcnt.ll
these test extensions to MIPS64
One test is altered for MIPS-IV:
test/CodeGen/Mips/mips64countleading.ll Tests dclo/dclz which were added in MIPS64. The MIPS-IV version tests that dclo/dclz are not emitted.
Four tests fail and are not in this patch:
test/CodeGen/Mips/abicalls.ll test/CodeGen/Mips/fcopysign-f32-f64.ll test/CodeGen/Mips/fcopysign.ll test/CodeGen/Mips/stack-alignment.ll
Depends on D3343
FYI: This is OK for the time being because we don't emit .set arch=arch or similar assembly directive. The reason I'm commenting on this is that I expect the ELF eflags to be different between Mips4 and Mips64 because there's a bit in the ELF header that identifies the architecture. There are tests for this in test/MC/Mips like 'elf_eflags.s'.