summaryrefslogtreecommitdiff
path: root/math/openblas/files/patch-common__arm.h
blob: 079c7f7f9d23965136ab1ae4142e0eb34e986db5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- common_arm.h.orig	2016-09-01 03:58:42 UTC
+++ common_arm.h
@@ -93,6 +93,13 @@ static inline int blas_quickdivide(blasi
 
 #endif
 
+/* Translate pre-UAL asm to UAL equivalents */
+#if defined(__clang__)
+#define fnmacs vmls.f32
+#define fnmacd vmls.f64
+#define fnmuls vnmul.f32
+#define fnmuld vnmul.f64
+#endif
 
 #ifndef F_INTERFACE
 #define REALNAME ASMNAME
@@ -105,7 +112,6 @@ static inline int blas_quickdivide(blasi
 #define PROLOGUE \
 	.arm		 ;\
 	.global	REALNAME ;\
-	.func	REALNAME  ;\
 REALNAME:
 
 #define EPILOGUE