gte_neon: fix compile under clang's assembler
authornotaz <notasas@gmail.com>
Tue, 11 Feb 2020 23:19:43 +0000 (01:19 +0200)
committertwinaphex <libretro@gmail.com>
Wed, 12 Feb 2020 09:46:40 +0000 (10:46 +0100)
libpcsxcore/gte_neon.S

index f62dd0c..2799caa 100644 (file)
@@ -1,12 +1,12 @@
 /*
- * (C) GraΕΎvydas "notaz" Ignotas, 2011
+ * (C) Gra\9evydas "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: