Updated Architecture-mips code for upstreaming.