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:
627648e
)
arm asm, tiny optimisation for 68k mem access
author
kub
<derkub@gmail.com>
Thu, 17 Sep 2020 22:09:55 +0000
(
00:09
+0200)
committer
kub
<derkub@gmail.com>
Thu, 17 Sep 2020 22:28:09 +0000
(
00:28
+0200)
pico/m68kif_cyclone.s
patch
|
blob
|
blame
|
history
diff --git
a/pico/m68kif_cyclone.s
b/pico/m68kif_cyclone.s
index
3a9621d
..
ec3087e
100644
(file)
--- a/
pico/m68kif_cyclone.s
+++ b/
pico/m68kif_cyclone.s
@@
-32,13
+32,12
@@
cyclone_checkpc:
ldr r1, [r7, #0x6c] @ read16 map
mov r2, r2, lsr #M68K_MEM_SHIFT
ldr r1, [r1, r2, lsl #2]
- movs r1, r1, lsl #1
- bcs crashed
- sub r1, r1, r3
- str r1, [r7, #0x60] @ membase
- add r0, r0, r1
- bx lr
+ movs r1, r1, lsl #1
+ subcc r1, r1, r3
+ strcc r1, [r7, #0x60] @ membase
+ addcc r0, r0, r1
+ bxcc lr
crashed:
stmfd sp!,{lr}