From cfdb17a088f9fb731db4d0b39bf746b9f856f50f Mon Sep 17 00:00:00 2001 From: Alexander Guzhva Date: Tue, 19 Aug 2025 14:48:58 +0000 Subject: [PATCH] enhance: Fix ArithHelperI64 for SVE in bitset (#43952) missing ArithHelperI64 Signed-off-by: Alexandr Guzhva --- .../core/src/bitset/detail/platform/arm/sve-impl.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/internal/core/src/bitset/detail/platform/arm/sve-impl.h b/internal/core/src/bitset/detail/platform/arm/sve-impl.h index 7cd69c7022..e4b85de898 100644 --- a/internal/core/src/bitset/detail/platform/arm/sve-impl.h +++ b/internal/core/src/bitset/detail/platform/arm/sve-impl.h @@ -1314,6 +1314,19 @@ struct ArithHelperI64 { } }; +template +struct ArithHelperI64 { + static inline svbool_t + op(const svbool_t pred, + const svint64_t left, + const svint64_t right, + const svint64_t value) { + // left / right == value + return CmpHelper::compare( + pred, svdiv_s64_z(pred, left, right), value); + } +}; + // template struct ArithHelperF32 {};