mirror of
https://git.freebsd.org/ports.git
synced 2025-06-21 20:50:31 -04:00
Tested for no-harm on amd64. PR: 225693 Submitted by: mikael.urankar Approved by: maintainer timeout (> 2 weeks)
20 lines
475 B
C
20 lines
475 B
C
--- common_arm.h.orig 2016-09-01 03:58:42 UTC
|
|
+++ common_arm.h
|
|
@@ -93,6 +93,17 @@ static inline int blas_quickdivide(blasint x, blasint
|
|
|
|
#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
|
|
+#define fldmias vldmia
|
|
+#define fstmias vstmia
|
|
+#define fldmiad vldmia
|
|
+#define fstmiad vstmia
|
|
+#endif
|
|
|
|
#ifndef F_INTERFACE
|
|
#define REALNAME ASMNAME
|