mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-05 04:03:49 +01:00
add subf.
This commit is contained in:
1 parent
1a5c6b59c5
commit
b32da03ce0
2 files changed
+3
-3
No files matched your search
@@ -312,8 +312,8 @@ namespace PpcGen {
|
||||
}
|
||||
|
||||
|
||||
void PPCXEmitter::SUBF(PPCReg Rd, PPCReg Ra, PPCReg Rb) {
|
||||
u32 instr = (0x7C000050 | (Rd << 21) | (Ra << 16) | (Rb << 11));
|
||||
void PPCXEmitter::SUBF(PPCReg Rd, PPCReg Ra, PPCReg Rb, int RCFlags) {
|
||||
u32 instr = (0x7C000050 | (Rd << 21) | (Ra << 16) | (Rb << 11) | (RCFlags & 1));
|
||||
Write32(instr);
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -220,7 +220,7 @@ public:
|
||||
void ADDI (PPCReg Rd, PPCReg Ra, unsigned short imm);
|
||||
void ADDIS (PPCReg Rd, PPCReg Ra, unsigned short imm);
|
||||
void ADDC (PPCReg Rd, PPCReg Ra, PPCReg Rb);
|
||||
void SUBF (PPCReg Rd, PPCReg Ra, PPCReg Rb);
|
||||
void SUBF (PPCReg Rd, PPCReg Ra, PPCReg Rb, int RCFlags = 0);
|
||||
void SUBFC (PPCReg Rd, PPCReg Ra, PPCReg Rb);
|
||||
|
||||
// Floating ops
|
||||
|
||||
Reference in new issue
Block a user