emission focused on branch/bctr

This commit is contained in:
lizzie
2026-01-14 20:00:02 +00:00
parent 9b0008008a
commit 4e1f277432
10 changed files with 57 additions and 55 deletions
+1
View File
@@ -373,6 +373,7 @@ struct Context {
void MFCTR(GPR const rt) { MFSPR(powah::GPR{9}, rt, powah::GPR{0}); }
void MTCTR(GPR const rt) { MTSPR(powah::GPR{9}, rt, powah::GPR{0}); }
void BCTRL() { base[offset++] = 0x4e800421; } //BCCTRL(R0, CR0, R0);
void BCTR() { base[offset++] = 0x4e800420; } //BCCTR(R0, CR0, R0);
// TODO: PowerPC 11 stuff
void ISEL(GPR const rd, GPR const ra, GPR const rb, uint32_t d) {