Home
last modified time | relevance | path

Searched refs:UIMMVAL (Results 1 – 18 of 18) sorted by relevance

/dports/emulators/mess/mame-mame0226/src/devices/cpu/rsp/
H A Drspdefs.h29 #define UIMMVAL ((uint16_t)op) macro
H A Drspdrc.cpp916 … UML_AND(block, R32(RTREG), R32(RSREG), UIMMVAL); // dand <rtreg>,<rsreg>,UIMMVAL in generate_opcode()
921 UML_OR(block, R32(RTREG), R32(RSREG), UIMMVAL); // dor <rtreg>,<rsreg>,UIMMVAL in generate_opcode()
926 … UML_XOR(block, R32(RTREG), R32(RSREG), UIMMVAL); // dxor <rtreg>,<rsreg>,UIMMVAL in generate_opcode()
/dports/emulators/mame/mame-mame0226/src/devices/cpu/rsp/
H A Drspdefs.h29 #define UIMMVAL ((uint16_t)op) macro
H A Drspdrc.cpp916 … UML_AND(block, R32(RTREG), R32(RSREG), UIMMVAL); // dand <rtreg>,<rsreg>,UIMMVAL in generate_opcode()
921 UML_OR(block, R32(RTREG), R32(RSREG), UIMMVAL); // dor <rtreg>,<rsreg>,UIMMVAL in generate_opcode()
926 … UML_XOR(block, R32(RTREG), R32(RSREG), UIMMVAL); // dxor <rtreg>,<rsreg>,UIMMVAL in generate_opcode()
/dports/emulators/mess/mame-mame0226/src/devices/cpu/mips/
H A Dmips3com.h193 #define UIMMVAL ((uint16_t)op) macro
H A Dmips1.cpp39 #define UIMMVAL u16(op) macro
507 m_r[RTREG] = m_r[RSREG] & UIMMVAL; in execute_run()
510 m_r[RTREG] = m_r[RSREG] | UIMMVAL; in execute_run()
513 m_r[RTREG] = m_r[RSREG] ^ UIMMVAL; in execute_run()
516 m_r[RTREG] = UIMMVAL << 16; in execute_run()
H A Dmips3.cpp3480 …case 0x09: /* TGEIU */ if (RSVAL64 >= UIMMVAL) generate_exception(EXCEPTION_TRAP, 1); … in handle_regimm()
3482 …case 0x0b: /* TLTIU */ if (RSVAL64 >= UIMMVAL) generate_exception(EXCEPTION_TRAP, 1); … in handle_regimm()
3483 …case 0x0c: /* TEQI */ if (RSVAL64 == UIMMVAL) generate_exception(EXCEPTION_TRAP, 1); … in handle_regimm()
3484 …case 0x0e: /* TNEI */ if (RSVAL64 != UIMMVAL) generate_exception(EXCEPTION_TRAP, 1); … in handle_regimm()
5156 …case 0x0c: /* ANDI */ if (RTREG) RTVAL64 = RSVAL64 & UIMMVAL; … in execute_run()
5157 …case 0x0d: /* ORI */ if (RTREG) RTVAL64 = RSVAL64 | UIMMVAL; … in execute_run()
5158 …case 0x0e: /* XORI */ if (RTREG) RTVAL64 = RSVAL64 ^ UIMMVAL; … in execute_run()
5159 …case 0x0f: /* LUI */ if (RTREG) RTVAL64 = (int32_t)(UIMMVAL << 16); … in execute_run()
H A Dmips3drc.cpp1440 UML_DMOV(block, R64(RTREG), UIMMVAL << 16); // dmov <rtreg>,UIMMVAL << 16 in generate_opcode()
1476 … UML_DAND(block, R64(RTREG), R64(RSREG), UIMMVAL); // dand <rtreg>,<rsreg>,UIMMVAL in generate_opcode()
1481 … UML_DOR(block, R64(RTREG), R64(RSREG), UIMMVAL); // dor <rtreg>,<rsreg>,UIMMVAL in generate_opcode()
1486 … UML_DXOR(block, R64(RTREG), R64(RSREG), UIMMVAL); // dxor <rtreg>,<rsreg>,UIMMVAL in generate_opcode()
/dports/emulators/mame/mame-mame0226/src/devices/cpu/mips/
H A Dmips3com.h193 #define UIMMVAL ((uint16_t)op) macro
H A Dmips1.cpp39 #define UIMMVAL u16(op) macro
507 m_r[RTREG] = m_r[RSREG] & UIMMVAL; in execute_run()
510 m_r[RTREG] = m_r[RSREG] | UIMMVAL; in execute_run()
513 m_r[RTREG] = m_r[RSREG] ^ UIMMVAL; in execute_run()
516 m_r[RTREG] = UIMMVAL << 16; in execute_run()
H A Dmips3.cpp3480 …case 0x09: /* TGEIU */ if (RSVAL64 >= UIMMVAL) generate_exception(EXCEPTION_TRAP, 1); … in handle_regimm()
3482 …case 0x0b: /* TLTIU */ if (RSVAL64 >= UIMMVAL) generate_exception(EXCEPTION_TRAP, 1); … in handle_regimm()
3483 …case 0x0c: /* TEQI */ if (RSVAL64 == UIMMVAL) generate_exception(EXCEPTION_TRAP, 1); … in handle_regimm()
3484 …case 0x0e: /* TNEI */ if (RSVAL64 != UIMMVAL) generate_exception(EXCEPTION_TRAP, 1); … in handle_regimm()
5156 …case 0x0c: /* ANDI */ if (RTREG) RTVAL64 = RSVAL64 & UIMMVAL; … in execute_run()
5157 …case 0x0d: /* ORI */ if (RTREG) RTVAL64 = RSVAL64 | UIMMVAL; … in execute_run()
5158 …case 0x0e: /* XORI */ if (RTREG) RTVAL64 = RSVAL64 ^ UIMMVAL; … in execute_run()
5159 …case 0x0f: /* LUI */ if (RTREG) RTVAL64 = (int32_t)(UIMMVAL << 16); … in execute_run()
H A Dmips3drc.cpp1440 UML_DMOV(block, R64(RTREG), UIMMVAL << 16); // dmov <rtreg>,UIMMVAL << 16 in generate_opcode()
1476 … UML_DAND(block, R64(RTREG), R64(RSREG), UIMMVAL); // dand <rtreg>,<rsreg>,UIMMVAL in generate_opcode()
1481 … UML_DOR(block, R64(RTREG), R64(RSREG), UIMMVAL); // dor <rtreg>,<rsreg>,UIMMVAL in generate_opcode()
1486 … UML_DXOR(block, R64(RTREG), R64(RSREG), UIMMVAL); // dxor <rtreg>,<rsreg>,UIMMVAL in generate_opcode()
/dports/games/libretro-mame2003_plus/mame2003-plus-libretro-17e9889/src/cpu/mips/
H A Dr3000.c95 #define UIMMVAL ((UINT16)op) macro
919 case 0x0c: /* ANDI */ if (RTREG) RTVAL = RSVAL & UIMMVAL; break; in r3000_execute()
920 case 0x0d: /* ORI */ if (RTREG) RTVAL = RSVAL | UIMMVAL; break; in r3000_execute()
921 case 0x0e: /* XORI */ if (RTREG) RTVAL = RSVAL ^ UIMMVAL; break; in r3000_execute()
922 case 0x0f: /* LUI */ if (RTREG) RTVAL = UIMMVAL << 16; break; in r3000_execute()
H A Dmips3.c136 #define UIMMVAL ((UINT16)op) macro
1447 case 0x0c: /* ANDI */ if (RTREG) RTVAL64 = RSVAL64 & UIMMVAL; break; in mips3_execute()
1448 case 0x0d: /* ORI */ if (RTREG) RTVAL64 = RSVAL64 | UIMMVAL; break; in mips3_execute()
1449 case 0x0e: /* XORI */ if (RTREG) RTVAL64 = RSVAL64 ^ UIMMVAL; break; in mips3_execute()
1450 case 0x0f: /* LUI */ if (RTREG) RTVAL64 = (INT32)(UIMMVAL << 16); break; in mips3_execute()
H A Dmips3drc.c156 #define UIMMVAL ((UINT16)op) macro
916 UINT32 address = UIMMVAL << 16; in recompile_lui()
1621 _and_m32abs_imm(&mips3.r[RTREG], UIMMVAL); /* and [rtreg],UIMMVAL*/ in recompile_instruction()
1627 _and_r32_imm(REG_EAX, UIMMVAL); /* and eax,UIMMVAL*/ in recompile_instruction()
1640 _or_m32abs_imm(&mips3.r[RTREG], UIMMVAL); /* or [rtreg],UIMMVAL*/ in recompile_instruction()
1644 _or_r32_imm(REG_EAX, UIMMVAL); /* or eax,UIMMVAL*/ in recompile_instruction()
1648 _mov_m64abs_imm32(&mips3.r[RTREG], UIMMVAL); /* mov [rtreg],const*/ in recompile_instruction()
1656 _xor_m32abs_imm(&mips3.r[RTREG], UIMMVAL); /* xor [rtreg],UIMMVAL*/ in recompile_instruction()
1660 _xor_r32_imm(REG_EAX, UIMMVAL); /* xor eax,UIMMVAL*/ in recompile_instruction()
1664 _mov_m64abs_imm32(&mips3.r[RTREG], UIMMVAL); /* mov [rtreg],const*/ in recompile_instruction()
/dports/games/libretro-mame2003/mame2003-libretro-4358db4/src/cpu/mips/
H A Dr3000.c95 #define UIMMVAL ((UINT16)op) macro
919 case 0x0c: /* ANDI */ if (RTREG) RTVAL = RSVAL & UIMMVAL; break; in r3000_execute()
920 case 0x0d: /* ORI */ if (RTREG) RTVAL = RSVAL | UIMMVAL; break; in r3000_execute()
921 case 0x0e: /* XORI */ if (RTREG) RTVAL = RSVAL ^ UIMMVAL; break; in r3000_execute()
922 case 0x0f: /* LUI */ if (RTREG) RTVAL = UIMMVAL << 16; break; in r3000_execute()
H A Dmips3.c136 #define UIMMVAL ((UINT16)op) macro
1450 case 0x0c: /* ANDI */ if (RTREG) RTVAL64 = RSVAL64 & UIMMVAL; break; in mips3_execute()
1451 case 0x0d: /* ORI */ if (RTREG) RTVAL64 = RSVAL64 | UIMMVAL; break; in mips3_execute()
1452 case 0x0e: /* XORI */ if (RTREG) RTVAL64 = RSVAL64 ^ UIMMVAL; break; in mips3_execute()
1453 case 0x0f: /* LUI */ if (RTREG) RTVAL64 = (INT32)(UIMMVAL << 16); break; in mips3_execute()
H A Dmips3drc.c156 #define UIMMVAL ((UINT16)op) macro
916 UINT32 address = UIMMVAL << 16; in recompile_lui()
1621 _and_m32abs_imm(&mips3.r[RTREG], UIMMVAL); // and [rtreg],UIMMVAL in recompile_instruction()
1627 _and_r32_imm(REG_EAX, UIMMVAL); // and eax,UIMMVAL in recompile_instruction()
1640 _or_m32abs_imm(&mips3.r[RTREG], UIMMVAL); // or [rtreg],UIMMVAL in recompile_instruction()
1644 _or_r32_imm(REG_EAX, UIMMVAL); // or eax,UIMMVAL in recompile_instruction()
1648 _mov_m64abs_imm32(&mips3.r[RTREG], UIMMVAL); // mov [rtreg],const in recompile_instruction()
1656 _xor_m32abs_imm(&mips3.r[RTREG], UIMMVAL); // xor [rtreg],UIMMVAL in recompile_instruction()
1660 _xor_r32_imm(REG_EAX, UIMMVAL); // xor eax,UIMMVAL in recompile_instruction()
1664 _mov_m64abs_imm32(&mips3.r[RTREG], UIMMVAL); // mov [rtreg],const in recompile_instruction()