Accepting request 1072726 from devel:libraries:c_c++

- Update to release 1.0.4

OBS-URL: https://build.opensuse.org/request/show/1072726
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/highway?expand=0&rev=9
factory
Dominique Leuenberger 2 months ago committed by Git OBS Bridge
commit 92adfefbc6

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:566fc77315878473d9a6bd815f7de78c73734acdcb745c3dde8579560ac5440e
size 1770704

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:faccd343935c9e98afd1016e9d20e0b8b89d908508d1af958496f8c2d3004ac2
size 1822696

@ -1,27 +0,0 @@
Dynamic dispatch is broken for neon:
[ 29s] In file included from /home/abuild/rpmbuild/BUILD/highway-1.0.2/hwy/ops/arm_neon-inl.h:33,
[ 29s] from /home/abuild/rpmbuild/BUILD/highway-1.0.2/hwy/highway.h:358,
[ 29s] from /home/abuild/rpmbuild/BUILD/highway-1.0.2/hwy/contrib/sort/shared-inl.h:103,
[ 29s] from /home/abuild/rpmbuild/BUILD/highway-1.0.2/hwy/contrib/sort/traits-inl.h:27,
[ 29s] from /home/abuild/rpmbuild/BUILD/highway-1.0.2/hwy/contrib/sort/vqsort_f32d.cc:23,
[ 29s] from /home/abuild/rpmbuild/BUILD/highway-1.0.2/hwy/foreach_target.h:81,
[ 29s] from /home/abuild/rpmbuild/BUILD/highway-1.0.2/hwy/contrib/sort/vqsort_f32d.cc:20:
[ 29s] /usr/lib/gcc/armv7hl-suse-linux-gnueabi/12/include/arm_neon.h: In function 'hwy::N_NEON::StoreU(hwy::N_NEON::Vec128<float, 4u>, hwy::N_NEON::Simd<float, 4u, 0>, float*)':
[ 29s] /usr/lib/gcc/armv7hl-suse-linux-gnueabi/12/include/arm_neon.h:11024:1: error: inlining failed in call to 'always_inline' 'vst1q_f32': target specific option mismatch
[ 29s] 11024 | vst1q_f32 (float32_t * __a, float32x4_t __b)
[ 29s] | ^~~~~~~~~
[ 29s] /home/abuild/rpmbuild/BUILD/highway-1.0.2/hwy/ops/arm_neon-inl.h:2777:12: note: called from here
[ 29s] 2777 | vst1q_f32(unaligned, v.raw);
[ 29s] | ~~~~~~~~~^~~~~~~~~~~~~~~~~~
--- a/hwy/detect_targets.h
+++ b/hwy/detect_targets.h
@@ -427,7 +427,7 @@
#define HWY_ATTAINABLE_TARGETS \
HWY_ENABLED(HWY_BASELINE_SCALAR | HWY_SSSE3 | HWY_SSE4 | HWY_AVX2 | \
HWY_AVX3 | HWY_ATTAINABLE_AVX3_DL)
-#elif HWY_ARCH_ARM && HWY_HAVE_RUNTIME_DISPATCH
+#elif HWY_ARCH_ARM_A64 && HWY_HAVE_RUNTIME_DISPATCH
#define HWY_ATTAINABLE_TARGETS \
HWY_ENABLED(HWY_BASELINE_SCALAR | HWY_NEON | HWY_ATTAINABLE_SVE | \
HWY_ATTAINABLE_SVE2)

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Fri Mar 17 17:09:46 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
- Update to release 1.0.4
* Add PPC8..10, SSE2, AVX3_ZEN4, NEON_WITHOUT_AES targets
* Add Expand, LoadExpand, integer AbsDiff, SumsOf8AbsDiff
* Improved Half/Twice support, codegen for Shift*Same
* Faster KV128 sorting
* Update RISC-V V intrinsics for 1.0-draft
- Remove arm-disable-runtime-dispatch.patch (appears merged)
-------------------------------------------------------------------
Thu Jan 19 16:21:05 UTC 2023 - Jan Engelhardt <jengelh@inai.de>

@ -19,7 +19,7 @@
%define lname libhwy1
Name: highway
Version: 1.0.3
Version: 1.0.4
Release: 0
Summary: C++ library providing SIMD/vector intrinsics
License: Apache-2.0
@ -27,9 +27,6 @@ Group: Development/Libraries/C and C++
URL: https://github.com/google/highway
Source: https://github.com/google/highway/archive/refs/tags/%version.tar.gz
Source1: baselibs.conf
# see https://github.com/google/highway/issues/834
# we do not currently require neon on armv7hl
Patch0: arm-disable-runtime-dispatch.patch
# https://github.com/google/highway/issues/776
%if 0%{?suse_version} > 1550
BuildRequires: c++_compiler
@ -75,6 +72,9 @@ Documentation for Highway development.
%build
export CFLAGS="%optflags -DHWY_COMPILE_ALL_ATTAINABLE"
%ifarch ppc64 ppc64le
CFLAGS="$CFLAGS -maltivec"
%endif
export CXXFLAGS="$CFLAGS"
%if 0%{?suse_version} < 1550
export CXX=g++-10
@ -107,6 +107,7 @@ export CTEST_PARALLEL_LEVEL=2
%_includedir/hwy/
%_libdir/libhwy*.so
%_libdir/pkgconfig/*.pc
%_libdir/cmake/
%files devel-doc
%doc README.md g3doc/* hwy/examples/

Loading…
Cancel
Save