forked from pool/highway
Compare commits
48 Commits
Author | SHA256 | Date | |
---|---|---|---|
5c1ea29b4f | |||
|
0299f03a8f | ||
|
e67a964b76 | ||
b08f3da67c | |||
|
a851933d35 | ||
7bb7b9f5b1 | |||
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
(Stored with Git LFS)
BIN
1.2.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
1.3.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
1.3.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
4
_scmsync.obsinfo
Normal file
4
_scmsync.obsinfo
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
mtime: 1756902086
|
||||||
|
commit: 2e9188dc97f00419950872b33d75ae50140eba446b15582be9d2005da80010d3
|
||||||
|
url: https://src.opensuse.org/jengelh/highway
|
||||||
|
revision: master
|
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
|
3
build.specials.obscpio
Normal file
3
build.specials.obscpio
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:178fc2e0a8aae886701119ce69d035af844316b4607f1d3d382f373911e9a975
|
||||||
|
size 256
|
@@ -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>
|
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
|
%define lname libhwy1
|
||||||
|
%ifarch riscv64
|
||||||
|
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110812
|
||||||
|
%global _lto_cflags %{nil}
|
||||||
|
%endif
|
||||||
|
|
||||||
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 +32,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 +72,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 +96,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