notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add disk control interface v1 support
[pcsx_rearmed.git]
/
libpcsxcore
/
gte_neon.S
diff --git
a/libpcsxcore/gte_neon.S
b/libpcsxcore/gte_neon.S
index
3c71f55
..
fbe0e59
100644
(file)
--- a/
libpcsxcore/gte_neon.S
+++ b/
libpcsxcore/gte_neon.S
@@
-6,29
+6,12
@@
*/
#include "arm_features.h"
*/
#include "arm_features.h"
+#include "new_dynarec/arm/linkage_offsets.h"
.syntax unified
.syntax unified
-
-.bss
-.align 6 @ cacheline
-
-scratch:
-.rept 8*8*2/4
- .word 0
-.endr
-
.text
.align 2
.text
.align 2
-.macro ldr_scratch rd
-#ifndef __PIC__
- movw \rd, #:lower16:scratch
- movt \rd, #:upper16:scratch
-#else
- ldr \rd, =scratch
-#endif
-.endm
-
@ XXX: gteMAC calc shouldn't be saturating, but it is here
@ approximate gteMAC|123 flags
@ XXX: gteMAC calc shouldn't be saturating, but it is here
@ approximate gteMAC|123 flags
@@
-150,7
+133,7
@@
FUNCTION(gteRTPS_neon): @ r0=CP2 (d,c),
push {r4-r6,lr}
@ fmrx r4, fpscr @ vmrs? at least 40 cycle hit
push {r4-r6,lr}
@ fmrx r4, fpscr @ vmrs? at least 40 cycle hit
- ldr
_scratch r1
+ ldr
r1, [r0, #LO_cop2_to_scratch_buf]
mov r12, #0
vldmia r0, {d8} @ VXYZ(0)
mov r12, #0
vldmia r0, {d8} @ VXYZ(0)
@@
-302,7
+285,7
@@
FUNCTION(gteRTPS_neon): @ r0=CP2 (d,c),
FUNCTION(gteRTPT_neon): @ r0=CP2 (d,c),
push {r4-r11,lr}
FUNCTION(gteRTPT_neon): @ r0=CP2 (d,c),
push {r4-r11,lr}
- ldr
_scratch r1
+ ldr
r1, [r0, #LO_cop2_to_scratch_buf]
mov r12, #0
rtpx_preload
mov r12, #0
rtpx_preload