This is an automated email from the ASF dual-hosted git repository.
zzcclp pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gluten.git
The following commit(s) were added to refs/heads/main by this push:
new 74c9638ef6 [GLUTEN-12044][CH] Fix build on arm (#12046)
74c9638ef6 is described below
commit 74c9638ef63c611eea86671201fdd2384a2e62ab
Author: zhanglistar <[email protected]>
AuthorDate: Thu May 7 07:18:30 2026 +0800
[GLUTEN-12044][CH] Fix build on arm (#12046)
[GLUTEN-12044][CH] Fix build on arm
---
cpp-ch/local-engine/Functions/LocalDigitsToAsciiDigitForDate.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/cpp-ch/local-engine/Functions/LocalDigitsToAsciiDigitForDate.cpp
b/cpp-ch/local-engine/Functions/LocalDigitsToAsciiDigitForDate.cpp
index 4efa961435..e260c52b74 100644
--- a/cpp-ch/local-engine/Functions/LocalDigitsToAsciiDigitForDate.cpp
+++ b/cpp-ch/local-engine/Functions/LocalDigitsToAsciiDigitForDate.cpp
@@ -219,7 +219,8 @@ private:
size_t i = 0;
for (; i + kBlockSize <= size; i += kBlockSize)
{
- if (!simd8_u8::load(reinterpret_cast<const uint8_t *>(data +
i)).is_ascii())
+ const auto chunk = simd8_u8(simd8_u8::load(reinterpret_cast<const
uint8_t *>(data + i)));
+ if (chunk.any_bits_set_anywhere(simd8_u8(0x80)))
return true;
}
for (; i < size; ++i)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]