ports/math/openblas/files/patch-common__arm.h
Don Lewis f74fc65c9a Upgrade OpenBLAS to 0.2.20:
* Fixed several thread race and locking bugs

 * Fixed default LAPACK optimization level

 * Updated LAPACK to 3.7.0

 * Power
   - Optimizations for Power9
   - Fixed several Power8 assembly bugs

 * ARM
   - New optimized Vulcan and ThunderX2T99 targets
   - Support for ARMV7 SOFT_FP ABI  (make ARM_SOFTFP_ABI=1)
   - Detect all cpu cores including offline ones
   - Fix compilation with CLANG

 * MIPS
   - Fixed several threading issues
   - Fix compilation with CLANG

 * x86_64
   - Detect Intel Bay Trail and Apollo Lake
   - Detect Intel Sky Lake and Kaby Lake
   - Detect Intel Knights Landing
   - Detect AMD A8, A10, A12 and Ryzen
   - Fix cmake builds for Haswell and related cpus
   - Fix building for Sandybridge with CLANG 3.9

Pet portlint (USES vs. USE)

PR:		221633
Submitted by:	truckman
Approved by:	phd_kimberlite@yahoo.co.jp (maintainer)
2017-08-25 19:58:51 +00:00

16 lines
366 B
C

--- common_arm.h.orig 2016-09-01 03:58:42 UTC
+++ common_arm.h
@@ -93,6 +93,13 @@ static inline int blas_quickdivide(blasi
#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
+#endif
#ifndef F_INTERFACE
#define REALNAME ASMNAME