mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 21:39:52 +00:00
[Jit] add subfic
This commit is contained in:
parent
cd283089aa
commit
93f08b4035
@ -479,6 +479,9 @@ namespace PpcGen {
|
|||||||
void PPCXEmitter::SUBFC (PPCReg Rd, PPCReg Ra, PPCReg Rb) {
|
void PPCXEmitter::SUBFC (PPCReg Rd, PPCReg Ra, PPCReg Rb) {
|
||||||
XO_FORM(31, Rd, Ra, Rb, 0, 8, 0);
|
XO_FORM(31, Rd, Ra, Rb, 0, 8, 0);
|
||||||
}
|
}
|
||||||
|
void PPCXEmitter::SUBFIC(PPCReg Rt, PPCReg Ra, short imm) {
|
||||||
|
D_FORM(8, Rt, Ra, imm);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
void PPCXEmitter::SUBFE(PPCReg Rd, PPCReg Ra, PPCReg Rb) {
|
void PPCXEmitter::SUBFE(PPCReg Rd, PPCReg Ra, PPCReg Rb) {
|
||||||
|
@ -249,6 +249,7 @@ namespace PpcGen
|
|||||||
}
|
}
|
||||||
// if RCFlags update CR0
|
// if RCFlags update CR0
|
||||||
void SUBF (PPCReg Rd, PPCReg Ra, PPCReg Rb, int RCFlags = 0);
|
void SUBF (PPCReg Rd, PPCReg Ra, PPCReg Rb, int RCFlags = 0);
|
||||||
|
void SUBFIC (PPCReg Rt, PPCReg Ra, short imm);
|
||||||
void SUBFC (PPCReg Rd, PPCReg Ra, PPCReg Rb);
|
void SUBFC (PPCReg Rd, PPCReg Ra, PPCReg Rb);
|
||||||
void SUBFE (PPCReg Rd, PPCReg Ra, PPCReg Rb);
|
void SUBFE (PPCReg Rd, PPCReg Ra, PPCReg Rb);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user