mirror of
https://git.freebsd.org/ports.git
synced 2025-06-24 06:00:30 -04:00
The build still fails on 11 armv6, however MFC of r313873 will hopefully fix the build there as well. While here also add LICENSE_FILE and fix portlint warnings. PR: 217279 Submitted by: mikael.urankar@gmail.com Approved by: phd_kimberlite@yahoo.co.jp (maintainer), swills (mentor, implicit) Differential Revision: https://reviews.freebsd.org/D9801
24 lines
533 B
C
24 lines
533 B
C
--- 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
|