ports/math/openblas/files/patch-common__arm.h
Robert Clausecker 2c83bd52e5 math/openblas: Revert "update to 0.3.24"
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
2023-10-10 13:18:06 -04:00

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