notaz.gp2x.de
/
picodrive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f64058
)
sh2 drc, fix oversize blocks ending with JSR/BSR
author
kub
<derkub@gmail.com>
Tue, 16 Mar 2021 20:35:37 +0000
(21:35 +0100)
committer
kub
<derkub@gmail.com>
Tue, 16 Mar 2021 20:42:50 +0000
(21:42 +0100)
cpu/sh2/compiler.c
patch
|
blob
|
blame
|
history
diff --git
a/cpu/sh2/compiler.c
b/cpu/sh2/compiler.c
index
fecff87
..
ba28284
100644
(file)
--- a/
cpu/sh2/compiler.c
+++ b/
cpu/sh2/compiler.c
@@
-5108,7
+5108,7
@@
end_op:
else
opd = &ops[i-1];
- if (! OP_ISBRAUC(opd->op))
+ if (! OP_ISBRAUC(opd->op)
|| (opd->dest & BITMASK1(SHR_PR))
)
{
tmp = rcache_get_reg(SHR_SR, RC_GR_RMW, NULL);
FLUSH_CYCLES(tmp);