notaz.gp2x.de
/
pcsx_rearmed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9dbba7
)
Revert "drc: fix a bug with loop reg allocation"
author
notaz
<notasas@gmail.com>
Mon, 17 Jan 2011 21:37:18 +0000
(23:37 +0200)
committer
notaz
<notasas@gmail.com>
Mon, 17 Jan 2011 21:37:18 +0000
(23:37 +0200)
This reverts commit
ca7c944853bbb689040c530655e2da231c40db5b
in favour of fix by Ari64 himself.
libpcsxcore/new_dynarec/new_dynarec.c
patch
|
blob
|
blame
|
history
diff --git
a/libpcsxcore/new_dynarec/new_dynarec.c
b/libpcsxcore/new_dynarec/new_dynarec.c
index
680617a
..
f1a0def
100644
(file)
--- 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