aboutsummaryrefslogtreecommitdiff
path: root/libpcsxcore/gte_neon.S
diff options
context:
space:
mode:
authornotaz2013-03-25 02:14:54 +0200
committernotaz2013-03-25 03:45:32 +0200
commit5c6457c3a3e44b0f39be5221ad4a9d94a432d694 (patch)
tree9522602f3105483d77580aabe459c977b2e67c39 /libpcsxcore/gte_neon.S
parente5ed711cd97ac448e8378db562515698a4961f69 (diff)
downloadpcsx_rearmed-5c6457c3a3e44b0f39be5221ad4a9d94a432d694.tar.gz
pcsx_rearmed-5c6457c3a3e44b0f39be5221ad4a9d94a432d694.tar.bz2
pcsx_rearmed-5c6457c3a3e44b0f39be5221ad4a9d94a432d694.zip
asm: use a macro for functions
Diffstat (limited to 'libpcsxcore/gte_neon.S')
-rw-r--r--libpcsxcore/gte_neon.S13
1 files changed, 5 insertions, 8 deletions
diff --git a/libpcsxcore/gte_neon.S b/libpcsxcore/gte_neon.S
index d83cf23..3c71f55 100644
--- a/libpcsxcore/gte_neon.S
+++ b/libpcsxcore/gte_neon.S
@@ -5,6 +5,7 @@
* See the COPYING file in the top-level directory.
*/
+#include "arm_features.h"
.syntax unified
@@ -145,8 +146,7 @@ scratch:
vqmovn.s32 d10, q4 @ gteIR|123; losing 2 cycles?
.endm
-.global gteRTPS_neon @ r0=CP2 (d,c),
-gteRTPS_neon:
+FUNCTION(gteRTPS_neon): @ r0=CP2 (d,c),
push {r4-r6,lr}
@ fmrx r4, fpscr @ vmrs? at least 40 cycle hit
@@ -299,8 +299,7 @@ gteRTPS_neon:
-.global gteRTPT_neon @ r0=CP2 (d,c),
-gteRTPT_neon:
+FUNCTION(gteRTPT_neon): @ r0=CP2 (d,c),
push {r4-r11,lr}
ldr_scratch r1
@@ -546,8 +545,7 @@ gteRTPT_neon:
@ r4,r5 = VXYZ(v) packed
@ r6 = &MX11(mx)
@ r7 = &CV1(cv)
-.global gteMVMVA_part_neon
-gteMVMVA_part_neon:
+FUNCTION(gteMVMVA_part_neon):
uxth r5, r5
vmov.32 d8[0], r4
vmov.32 d8[1], r5 @ VXYZ(v)
@@ -594,8 +592,7 @@ gteMVMVA_part_neon:
@ get flags after gteMVMVA_part_neon operation
-.global gteMACtoIR_flags_neon @ r0=CP2 (d,c), r1=lm
-gteMACtoIR_flags_neon:
+FUNCTION(gteMACtoIR_flags_neon): @ r0=CP2 (d,c), r1=lm
push {r4,r5,lr}
tst r1, r1 @ lm
mov lr, #0 @ gteFLAG