re-translated old SLTIU refactoring from August 2013

This commit is contained in:
2016-06-23 03:04:00 -04:00
parent 43f4901efd
commit 90e2caac9f

View File

@ -233,7 +233,7 @@ static unsigned int run_task_opcode(uint32_t inst, const int opcode)
case 013: /* SLTIU */
rs = (inst >> 21) & 31;
rt = (inst >> 16) & 31;
SR[rt] = ((unsigned)(SR[rs]) < (unsigned short)(inst));
SR[rt] = ((unsigned)(SR[rs]) < (unsigned)(short)(inst));
SR[0] = 0x00000000;
break;
case 014: /* ANDI */