aboutsummaryrefslogtreecommitdiff
path: root/libpcsxcore
diff options
context:
space:
mode:
authornotaz2011-01-17 23:37:18 +0200
committernotaz2011-01-17 23:37:18 +0200
commitb1f390b38ff77b8229e33968d768eabdad433082 (patch)
treea683ebf2a504b8130927e320592d76128a3fcf4c /libpcsxcore
parentc9dbba7f370a80e4e30aa9f95b61148a7be19eb9 (diff)
downloadpcsx_rearmed-b1f390b38ff77b8229e33968d768eabdad433082.tar.gz
pcsx_rearmed-b1f390b38ff77b8229e33968d768eabdad433082.tar.bz2
pcsx_rearmed-b1f390b38ff77b8229e33968d768eabdad433082.zip
Revert "drc: fix a bug with loop reg allocation"
This reverts commit ca7c944853bbb689040c530655e2da231c40db5b in favour of fix by Ari64 himself.
Diffstat (limited to 'libpcsxcore')
-rw-r--r--libpcsxcore/new_dynarec/new_dynarec.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/libpcsxcore/new_dynarec/new_dynarec.c b/libpcsxcore/new_dynarec/new_dynarec.c
index 680617a..f1a0def 100644
--- a/libpcsxcore/new_dynarec/new_dynarec.c
+++ b/libpcsxcore/new_dynarec/new_dynarec.c
@@ -9693,13 +9693,6 @@ int new_recompile_block(int addr)
else f_regmap[hr]=-1;
}
else if(branch_regs[i].regmap[hr]>=0) f_regmap[hr]=branch_regs[i].regmap[hr];
- // make sure mapping hasn't changed
- int hr2;
- for(hr2=0;hr2<HOST_REGS;hr2++)
- if(hr2!=hr&&f_regmap[hr]==branch_regs[i].regmap[hr2]) {
- f_regmap[hr]=-1;
- break;
- }
if(itype[i+1]==STORE||itype[i+1]==STORELR||itype[i+1]==C1LS
||itype[i+1]==SHIFT||itype[i+1]==COP1||itype[i+1]==FLOAT
||itype[i+1]==FCOMP||itype[i+1]==FCONV