mirror of
https://github.com/libretro/ppsspp.git
synced 2025-01-24 18:15:49 +00:00
mips: Duh, oops. LUI is one reg, of course.
This commit is contained in:
parent
0df0ea7d85
commit
8b6a5f2ecc
@ -236,10 +236,10 @@ void MIPSXEmitter::XORI(MIPSReg rt, MIPSReg rs, s16 imm) {
|
||||
_dbg_assert_msg_(JIT, rs < F_BASE && rt < F_BASE, "Bad emitter arguments");
|
||||
Write32Fields(26, 0x0e, 21, rs, 16, rt, 0, (u16)imm);
|
||||
}
|
||||
void MIPSXEmitter::LUI(MIPSReg rt, MIPSReg rs, s16 imm) {
|
||||
void MIPSXEmitter::LUI(MIPSReg rt, s16 imm) {
|
||||
// 001111 sssss ttttt iiiiiiiiiiiiiiii
|
||||
_dbg_assert_msg_(JIT, rs < F_BASE && rt < F_BASE, "Bad emitter arguments");
|
||||
Write32Fields(26, 0x0f, 21, rs, 16, rt, 0, (u16)imm);
|
||||
_dbg_assert_msg_(JIT, rt < F_BASE, "Bad emitter arguments");
|
||||
Write32Fields(26, 0x0f, 21, rt, 0, (u16)imm);
|
||||
}
|
||||
|
||||
void MIPSXCodeBlock::AllocCodeSpace(int size) {
|
||||
|
@ -146,7 +146,7 @@ public:
|
||||
void XORI(MIPSReg rt, MIPSReg rs, s16 imm);
|
||||
|
||||
// Clears the lower bits.
|
||||
void LUI(MIPSReg rt, MIPSReg rs, s16 imm);
|
||||
void LUI(MIPSReg rt, s16 imm);
|
||||
|
||||
protected:
|
||||
inline void Write32(u32 value) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user