Skip to content

Support native bit operations on Windows - #6

Merged
aabbdev merged 2 commits into
masterfrom
fix/native-windows-bitops
Aug 18, 2026
Merged

Support native bit operations on Windows#6
aabbdev merged 2 commits into
masterfrom
fix/native-windows-bitops

Conversation

@aabbdev

@aabbdev aabbdev commented Aug 18, 2026

Copy link
Copy Markdown
Owner

Summary

  • replace GCC/Clang-only 64-bit count builtins with exact C++17 helpers
  • retain compiler builtins on GCC/Clang and use portable bit operations under MSVC
  • unblock Windows x64 wheels for rosa-torch-native 0.3.0

Validation

  • native wheel rebuilds on macOS arm64
  • top-1 and RLBWT native smoke tests pass
  • Windows failure reproduced at __builtin_clzll, __builtin_ctzll, and __builtin_popcountll
  • cross-platform cibuildwheel dry run will execute on this branch before merge

@aabbdev
aabbdev merged commit ca53d24 into master Aug 18, 2026
13 checks passed
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