Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package netgen for openSUSE:Factory checked 
in at 2026-04-07 16:33:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/netgen (Old)
 and      /work/SRC/openSUSE:Factory/.netgen.new.21863 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "netgen"

Tue Apr  7 16:33:50 2026 rev:21 rq:1344836 version:6.2.2602

Changes:
--------
--- /work/SRC/openSUSE:Factory/netgen/netgen.changes    2026-03-27 
06:45:08.779178657 +0100
+++ /work/SRC/openSUSE:Factory/.netgen.new.21863/netgen.changes 2026-04-07 
16:49:55.951080343 +0200
@@ -1,0 +2,10 @@
+Fri Mar 27 12:23:59 UTC 2026 - Stefan BrĂ¼ns <[email protected]>
+
+- Properly fix ARM Neon SIMD intrinsics, instead of relaxing
+  checks during compilation. While this works for netgen itself,
+  it is hard to propagate to all users of the inlined code
+  distributed in the header files.
+- Add:
+  * 0001-Fix-implicit-conversions-for-signed-unsigned-types-i.patch
+
+-------------------------------------------------------------------

New:
----
  0001-Fix-implicit-conversions-for-signed-unsigned-types-i.patch

----------(New B)----------
  New:- Add:
  * 0001-Fix-implicit-conversions-for-signed-unsigned-types-i.patch
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ netgen.spec ++++++
--- /var/tmp/diff_new_pack.f0i2nW/_old  2026-04-07 16:49:56.679110481 +0200
+++ /var/tmp/diff_new_pack.f0i2nW/_new  2026-04-07 16:49:56.679110481 +0200
@@ -56,6 +56,8 @@
 Patch15:        0001-Fix-invalid-string-access-in-BoundaryLayerTool.patch
 # PATCH-FIX-OPENSUSE -- https://github.com/NGSolve/netgen/issues/238
 Patch16:        0001-Fix-incorrect-py-keep_alive-syntax-for-def_property.patch
+# PATCH-FIX-OPENSUSE -- https://github.com/NGSolve/netgen/issues/226
+Patch17:        0001-Fix-implicit-conversions-for-signed-unsigned-types-i.patch
 %if %{with opencascade}
 BuildRequires:  occt-devel
 BuildRequires:  (pkgconfig(catch2) >= 2.13.4 with pkgconfig(catch2) < 3)
@@ -162,9 +164,6 @@
 
 %build
 %global optflags %{optflags} -DPYBIND11_HAS_FILESYSTEM_IS_OPTIONAL=1
-%ifarch aarch64
-%global optflags %{optflags} -flax-vector-conversions
-%endif
 
 # Work around broken version detection
 echo "v%{version}-0-0" > ./version.txt

++++++ 0001-Fix-implicit-conversions-for-signed-unsigned-types-i.patch ++++++
>From 1ec1c9139f993d422b73f74a6b555cd30b18cb39 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <[email protected]>
Date: Fri, 27 Mar 2026 13:20:43 +0100
Subject: [PATCH] Fix implicit conversions for signed/unsigned types in NEON
 SIMD code

The intrinsics for the compare operations on ARM always return unsigned
types, make the conversion explicit.

Fixes #226.
---
 libsrc/core/simd_arm64.hpp | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/libsrc/core/simd_arm64.hpp b/libsrc/core/simd_arm64.hpp
index 82edaff..f7b90a7 100644
--- a/libsrc/core/simd_arm64.hpp
+++ b/libsrc/core/simd_arm64.hpp
@@ -158,12 +158,14 @@ namespace ngcore
 
   NETGEN_INLINE SIMD<mask64,2> operator== (SIMD<int64_t> a, SIMD<int64_t> b)
   {
-    return vceqq_u64(a.Data(), b.Data());
+    auto res = vceqq_s64(a.Data(), b.Data());
+    return vreinterpretq_s64_u64(res);
   }
   
   NETGEN_INLINE SIMD<mask64,2> operator> (SIMD<int64_t> a, SIMD<int64_t> b)
   {
-    return vcgtq_s64(a.Data(), b.Data());
+    auto res = vcgtq_s64(a.Data(), b.Data());
+    return vreinterpretq_s64_u64(res);
   }
 
   
-- 
2.53.0

Reply via email to