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:
591b7a0
)
drc: rm an impossible condition
author
notaz
<notasas@gmail.com>
Wed, 15 Apr 2026 00:02:14 +0000
(
03:02
+0300)
committer
notaz
<notasas@gmail.com>
Wed, 15 Apr 2026 00:07:19 +0000
(
03:07
+0300)
First instruction can't be a delay slot since long ago
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
6a08079
..
2c7bb70
100644
(file)
--- a/
libpcsxcore/new_dynarec/new_dynarec.c
+++ b/
libpcsxcore/new_dynarec/new_dynarec.c
@@
-7555,14
+7555,6
@@
static noinline void pass3_register_alloc(struct compile_state *st, u_int addr)
int hr;
int i, j;
- if (addr & 1) {
- // First instruction is delay slot
- cc=-1;
- dops[1].bt=1;
- ds=1;
- st->unneeded_reg[0]=1;
- }
-
for(i=0;i<st->slen;i++)
{
if(dops[i].bt)