mirror of
https://git.freebsd.org/ports.git
synced 2025-07-02 01:50:37 -04:00
On some amd64 CPUs, this change broke py-scipy during configure,
and octave at runtime. In the end, octave kills the package
builders.
This reverts commit c45681ef50
.
Approved by: portmgr (antoine)
PR: 273219
MFH: 2023Q4
20 lines
476 B
C
20 lines
476 B
C
--- common_arm.h.orig 2018-08-30 22:07:48 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
|