diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2024-06-08 15:46:43 +0200 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2024-06-08 20:41:54 +0200 |
commit | aebc677df1e11d529cd203488f568a088f5187d3 (patch) | |
tree | 0145f5d87005ed430d8584b9325f6b55667b4009 /math/openblas64/files/patch-common__arm.h | |
parent | x11/kanshi: update to 1.7.0 (diff) |
math/openblas64: repocopy from math/openblas
Diffstat (limited to 'math/openblas64/files/patch-common__arm.h')
-rw-r--r-- | math/openblas64/files/patch-common__arm.h | 20 |
1 files changed, 20 insertions, 0 deletions
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 |