read_c0_perfctrl0
if (read_c0_perfctrl0() & MIPS_PERFCTRL_W) {
return read_c0_perfctrl0();
if (!(read_c0_perfctrl0() & MIPS_PERFCTRL_M))