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:
2405813
)
drc: adjust asm to make clang happy
author
notaz
<notasas@gmail.com>
Tue, 14 Dec 2021 00:37:51 +0000
(
02:37
+0200)
committer
notaz
<notasas@gmail.com>
Tue, 14 Dec 2021 00:37:51 +0000
(
02:37
+0200)
libpcsxcore/new_dynarec/linkage_arm64.S
patch
|
blob
|
blame
|
history
diff --git
a/libpcsxcore/new_dynarec/linkage_arm64.S
b/libpcsxcore/new_dynarec/linkage_arm64.S
index
7075ebd
..
5e9626f
100644
(file)
--- a/
libpcsxcore/new_dynarec/linkage_arm64.S
+++ b/
libpcsxcore/new_dynarec/linkage_arm64.S
@@
-336,7
+336,7
@@
handler_write_end:
FUNCTION(jump_handle_swl):
/* w0 = address, w1 = data, w2 = cycles */
ldr x3, [rFP, #LO_mem_wtab]
-
mov w4
, w0, lsr #12
+
orr w4, wzr
, w0, lsr #12
ldr x3, [x3, w4, uxtw #3]
adds x3, x3, x3
bcs 4f
@@
-371,7
+371,7
@@
FUNCTION(jump_handle_swl):
FUNCTION(jump_handle_swr):
/* w0 = address, w1 = data, w2 = cycles */
ldr x3, [rFP, #LO_mem_wtab]
-
mov w4
, w0, lsr #12
+
orr w4, wzr
, w0, lsr #12
ldr x3, [x3, w4, uxtw #3]
adds x3, x3, x3
bcs 4f