forked from pool/highway
Compare commits
45 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 58934d7fa1 | |||
| 2e9188dc97 | |||
| 8da8bc9dc6 | |||
| 1f0cf84a36 | |||
| a516f167bc | |||
| e9f1a8840e | |||
| 75b2e88dfd | |||
| 62d8955889 | |||
| 1e4ae3c76c | |||
| e895625f68 | |||
| f1772989fa | |||
| 485a5a408c | |||
| f63ef22c4c | |||
| 5298310ea8 | |||
| 4549d6c89a | |||
| 7935769e33 | |||
| da9548feee | |||
| 8b2e744f94 | |||
| 717e77d335 | |||
| 897e852666 | |||
| 0282ae5f30 | |||
| fe004f4996 | |||
| cc45d7de59 | |||
| 77922a2daa | |||
| b3c6576f47 | |||
| f5de7fb984 | |||
| 9a5f6ebcdf | |||
| ca1e8b3d25 | |||
| 7439c76c20 | |||
| 68150706a7 | |||
| 53f379b2c0 | |||
| 1d4bf7a0e4 | |||
| 7bff614478 | |||
| 0a17d27712 | |||
| 6e16de420f | |||
| 0b3b726365 | |||
| fbe33d04ad | |||
| 0dba4cdf57 | |||
| 80ffedfdd0 | |||
| 841d41a88a | |||
| 35ab1321d5 | |||
| 43197d54b8 | |||
| 3f94107274 | |||
| 949b16633b | |||
| e6ee855ea1 |
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,25 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 29 15:57:27 UTC 2026 - Andreas Schwab <schwab@suse.de>
|
||||||
|
|
||||||
|
- Reenable LTO on riscv64, gcc has been fixed
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
Mon Feb 3 14:40:01 UTC 2025 - Andreas Schwab <schwab@suse.de>
|
||||||
|
|
||||||
|
|||||||
23
highway.spec
23
highway.spec
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package highway
|
# spec file for package highway
|
||||||
#
|
#
|
||||||
# Copyright (c) 2025 SUSE LLC
|
# Copyright (c) 2026 SUSE LLC and contributors
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
%define lname libhwy1
|
%define lname libhwy1
|
||||||
|
|
||||||
Name: highway
|
Name: highway
|
||||||
Version: 1.2.0
|
Version: 1.3.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: C++ library providing SIMD/vector intrinsics
|
Summary: C++ library providing SIMD/vector intrinsics
|
||||||
License: Apache-2.0 OR BSD-3-Clause
|
License: Apache-2.0 OR BSD-3-Clause
|
||||||
@@ -28,12 +28,8 @@ URL: https://github.com/google/highway
|
|||||||
Source: https://github.com/google/highway/archive/refs/tags/%version.tar.gz
|
Source: https://github.com/google/highway/archive/refs/tags/%version.tar.gz
|
||||||
Source1: baselibs.conf
|
Source1: baselibs.conf
|
||||||
Patch1: no-forced-inline.diff
|
Patch1: no-forced-inline.diff
|
||||||
# https://github.com/google/highway/issues/776
|
Patch2: avx10_2.patch
|
||||||
%if 0%{?suse_version} > 1550
|
|
||||||
BuildRequires: c++_compiler
|
BuildRequires: c++_compiler
|
||||||
%else
|
|
||||||
BuildRequires: gcc10-c++
|
|
||||||
%endif
|
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: memory-constraints
|
BuildRequires: memory-constraints
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
@@ -72,20 +68,12 @@ Documentation for Highway development.
|
|||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
%ifarch riscv64
|
|
||||||
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110812
|
|
||||||
%global _lto_cflags %{nil}
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%optflags -DHWY_COMPILE_ALL_ATTAINABLE"
|
export CFLAGS="%optflags"
|
||||||
%ifarch ppc64 ppc64le
|
%ifarch ppc64 ppc64le
|
||||||
CFLAGS="$CFLAGS -maltivec"
|
CFLAGS="$CFLAGS -maltivec"
|
||||||
%endif
|
%endif
|
||||||
export CXXFLAGS="$CFLAGS"
|
export CXXFLAGS="$CFLAGS"
|
||||||
%if 0%{?suse_version} < 1550
|
|
||||||
export CXX=g++-10
|
|
||||||
%endif
|
|
||||||
%limit_build -m 1400
|
%limit_build -m 1400
|
||||||
|
|
||||||
%cmake \
|
%cmake \
|
||||||
@@ -104,8 +92,7 @@ export CXX=g++-10
|
|||||||
export CTEST_PARALLEL_LEVEL=2
|
export CTEST_PARALLEL_LEVEL=2
|
||||||
%ctest --parallel 2 --verbose || :
|
%ctest --parallel 2 --verbose || :
|
||||||
|
|
||||||
%post -n %lname -p /sbin/ldconfig
|
%ldconfig_scriptlets -n %lname
|
||||||
%postun -n %lname -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files -n %lname
|
%files -n %lname
|
||||||
%_libdir/libhwy*.so.*
|
%_libdir/libhwy*.so.*
|
||||||
|
|||||||
Reference in New Issue
Block a user