chained calls for ppc64

Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
lizzie 2025-11-11 01:44:12 +00:00
parent 61fb9a9dba
commit a55fea2d6c
7 changed files with 32 additions and 25 deletions

View file

@ -366,6 +366,9 @@ struct Context {
void LI(GPR const rx, uint32_t value) { ADDI(rx, R0, value); }
void LIS(GPR const rx, uint32_t value) { ADDIS(rx, R0, value); }
void MFLR(GPR const rt) { MFSPR(powah::GPR{8}, rt, powah::GPR{0}); }
void MTLR(GPR const rt) { MTSPR(powah::GPR{8}, rt, powah::GPR{0}); }
void BLR() {
base[offset++] = 0x4e800020; //BCLR(R0, CR0, R0);
}