From aebc677df1e11d529cd203488f568a088f5187d3 Mon Sep 17 00:00:00 2001 From: Thierry Thomas Date: Sat, 8 Jun 2024 15:46:43 +0200 Subject: math/openblas64: repocopy from math/openblas --- math/openblas64/files/patch-common__arm.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 math/openblas64/files/patch-common__arm.h (limited to 'math/openblas64/files/patch-common__arm.h') diff --git a/math/openblas64/files/patch-common__arm.h b/math/openblas64/files/patch-common__arm.h new file mode 100644 index 000000000000..1ffd13a2c63b --- /dev/null +++ b/math/openblas64/files/patch-common__arm.h @@ -0,0 +1,20 @@ +--- common_arm.h.orig 2023-04-01 20:18:01 UTC ++++ common_arm.h +@@ -95,6 +95,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 -- cgit v1.2.3