aboutsummaryrefslogtreecommitdiff
path: root/libpcsxcore
diff options
context:
space:
mode:
authornotaz2020-02-12 01:19:43 +0200
committertwinaphex2020-02-12 10:46:40 +0100
commit0d11b1f9de76b36ff44ad158492576e77f275e2b (patch)
tree44b257952ce8964957d4cd7636db9d095e1d15f2 /libpcsxcore
parent74ec4f3a231b2335f9bcdc285ee7751d3412fc55 (diff)
downloadpcsx_rearmed-0d11b1f9de76b36ff44ad158492576e77f275e2b.tar.gz
pcsx_rearmed-0d11b1f9de76b36ff44ad158492576e77f275e2b.tar.bz2
pcsx_rearmed-0d11b1f9de76b36ff44ad158492576e77f275e2b.zip
gte_neon: fix compile under clang's assembler
Diffstat (limited to 'libpcsxcore')
-rw-r--r--libpcsxcore/gte_neon.S10
1 files changed, 4 insertions, 6 deletions
diff --git a/libpcsxcore/gte_neon.S b/libpcsxcore/gte_neon.S
index f62dd0c..2799caa 100644
--- a/libpcsxcore/gte_neon.S
+++ b/libpcsxcore/gte_neon.S
@@ -1,12 +1,12 @@
/*
- * (C) GraÅžvydas "notaz" Ignotas, 2011
+ * (C) Gražvydas "notaz" Ignotas, 2011
*
* This work is licensed under the terms of GNU GPL version 2 or later.
* See the COPYING file in the top-level directory.
*/
#include "arm_features.h"
-#include "new_dynarec/arm/linkage_offsets.h"
+#include "new_dynarec/linkage_offsets.h"
.syntax unified
.text
@@ -290,10 +290,8 @@ FUNCTION(gteRTPT_neon): @ r0=CP2 (d,c),
rtpx_preload
- vmov.i32 d23, #1
- vmov.i32 d22, #0x80000000
- vsub.i32 d22, d22, d23
- vmov.i32 d23, #0
+ vmvn.i32 d22, #0x80000000 @ #0x7fffffff
+ vmov.i32 d23, #0x80000000
mov r3, #3 @ counter
mov r2, r0 @ VXYZ(0)
0: