Skip to content

Conversation

mhx
Copy link
Contributor

@mhx mhx commented Aug 19, 2025

The optimized code paths for (at least) count1GetNext() don't work correctly on 32-bit platforms (at least on ARM, with gcc), presumably due to using __builtin_ctzl() on a 64-bit value. This resulted in buildSymbolTable() being stuck in an endless loop.

This change simply disables the optimized code paths if a 32-bit platform is detected.

The optimized code paths for (at least) `count1GetNext()` don't work
correctly on 32-bit platforms (at least on ARM, with gcc), presumably
due to using `__builtin_ctzl()` on a 64-bit value. This resulted in
`buildSymbolTable()` being stuck in an endless loop.

This change simply disables the optimized code paths if a 32-bit
platform is detected.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant