Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 2e9188dc97 | |||
| 8da8bc9dc6 |
BIN
1.2.0.tar.gz
LFS
BIN
1.2.0.tar.gz
LFS
Binary file not shown.
BIN
1.3.0.tar.gz
LFS
Normal file
BIN
1.3.0.tar.gz
LFS
Normal file
Binary file not shown.
31
avx10_2.patch
Normal file
31
avx10_2.patch
Normal file
@@ -0,0 +1,31 @@
|
||||
References: https://github.com/google/highway/issues/2671
|
||||
References: https://bugzilla.opensuse.org/show_bug.cgi?id=1248740
|
||||
|
||||
Deactivate AVX10.2. gcc 15.2 emits opcodes that are only understood
|
||||
by binutils >=2.44, but Tumbleweed still has 2.43.
|
||||
|
||||
/tmp/ccVeFR1S.s: Assembler messages:
|
||||
/tmp/ccVeFR1S.s:13780: Error: no such instruction: `vucomxss .LC9(%rip),%xmm1'
|
||||
|
||||
Furthermore, deactivate AVX3 (for Leap 15.7) because the compiler is
|
||||
"too old" and does not have an instrinsic.
|
||||
|
||||
hwy/ops/x86_512-inl.h:1310:49: error: '_mm512_gf2p8affine_epi64_epi8'
|
||||
was not declared in this scope
|
||||
---
|
||||
hwy/detect_targets.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
Index: highway-1.3.0/hwy/detect_targets.h
|
||||
===================================================================
|
||||
--- highway-1.3.0.orig/hwy/detect_targets.h
|
||||
+++ highway-1.3.0/hwy/detect_targets.h
|
||||
@@ -29,7 +29,7 @@
|
||||
// #define HWY_BASELINE_TARGETS (HWY_SSE4 | HWY_SCALAR)
|
||||
|
||||
// Uncomment to override the default blocklist:
|
||||
-// #define HWY_BROKEN_TARGETS HWY_AVX3
|
||||
+#define HWY_BROKEN_TARGETS (HWY_AVX10_2 | HWY_AVX3_SPR | HWY_AVX3_ZEN4 | HWY_AVX3_DL | HWY_AVX3)
|
||||
|
||||
// Uncomment to definitely avoid generating those target(s):
|
||||
// #define HWY_DISABLED_TARGETS HWY_SSE4
|
||||
@@ -1,3 +1,20 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 3 11:57:01 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Replace avx10_2.patch by a new one completely disabling AVX10.2
|
||||
until upstream figures out how to the details of toolchain
|
||||
invocation. [boo#1248740]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 14 10:28:18 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release 1.3.0
|
||||
* Add AVX10_2 and Loongson LASX/LSX targets
|
||||
* Add AVX3_SPR F16, WASM_EMU256 F64 types
|
||||
* Add Complex number operations, F16/BF16 assignment operators
|
||||
* Add emulated bf16/f16 Load/StoreInterleaved
|
||||
- Add avx10_2.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 3 14:40:01 UTC 2025 - Andreas Schwab <schwab@suse.de>
|
||||
|
||||
|
||||
25
highway.spec
25
highway.spec
@@ -17,9 +17,13 @@
|
||||
|
||||
|
||||
%define lname libhwy1
|
||||
%ifarch riscv64
|
||||
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110812
|
||||
%global _lto_cflags %{nil}
|
||||
%endif
|
||||
|
||||
Name: highway
|
||||
Version: 1.2.0
|
||||
Version: 1.3.0
|
||||
Release: 0
|
||||
Summary: C++ library providing SIMD/vector intrinsics
|
||||
License: Apache-2.0 OR BSD-3-Clause
|
||||
@@ -28,12 +32,8 @@ URL: https://github.com/google/highway
|
||||
Source: https://github.com/google/highway/archive/refs/tags/%version.tar.gz
|
||||
Source1: baselibs.conf
|
||||
Patch1: no-forced-inline.diff
|
||||
# https://github.com/google/highway/issues/776
|
||||
%if 0%{?suse_version} > 1550
|
||||
Patch2: avx10_2.patch
|
||||
BuildRequires: c++_compiler
|
||||
%else
|
||||
BuildRequires: gcc10-c++
|
||||
%endif
|
||||
BuildRequires: cmake
|
||||
BuildRequires: memory-constraints
|
||||
BuildRequires: pkg-config
|
||||
@@ -72,20 +72,12 @@ Documentation for Highway development.
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
%ifarch riscv64
|
||||
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110812
|
||||
%global _lto_cflags %{nil}
|
||||
%endif
|
||||
|
||||
%build
|
||||
export CFLAGS="%optflags -DHWY_COMPILE_ALL_ATTAINABLE"
|
||||
export CFLAGS="%optflags"
|
||||
%ifarch ppc64 ppc64le
|
||||
CFLAGS="$CFLAGS -maltivec"
|
||||
%endif
|
||||
export CXXFLAGS="$CFLAGS"
|
||||
%if 0%{?suse_version} < 1550
|
||||
export CXX=g++-10
|
||||
%endif
|
||||
%limit_build -m 1400
|
||||
|
||||
%cmake \
|
||||
@@ -104,8 +96,7 @@ export CXX=g++-10
|
||||
export CTEST_PARALLEL_LEVEL=2
|
||||
%ctest --parallel 2 --verbose || :
|
||||
|
||||
%post -n %lname -p /sbin/ldconfig
|
||||
%postun -n %lname -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets -n %lname
|
||||
|
||||
%files -n %lname
|
||||
%_libdir/libhwy*.so.*
|
||||
|
||||
Reference in New Issue
Block a user