Skip to content

Conversation

@potuz
Copy link
Collaborator

@potuz potuz commented Jan 7, 2026

Replace GNU as-specific .equ/.equiv dynamic reassignment with C preprocessor #define macros and manually unroll all .rept loops with explicit register rotation patterns. This enables compilation with Clang's integrated assembler (and thus Zig's SDK) without requiring -fno-integrated-as flag.

🤖 Generated with Claude Code

potuz and others added 2 commits January 7, 2026 16:15
Replace GNU as-specific .equ/.equiv dynamic reassignment with C preprocessor
#define macros and manually unroll all .rept loops with explicit register
rotation patterns. This enables compilation with Clang's integrated assembler
(and thus Zig's SDK) without requiring -fno-integrated-as flag.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@potuz
Copy link
Collaborator Author

potuz commented Jan 7, 2026

cc @siddarthkay as your PR may need to be reverted if this works. Would be nice to test on LLVM 21+

@siddarthkay
Copy link
Contributor

@potuz: sure can test using hashtree from this branch in nimbus CI and report back.

@potuz potuz merged commit 6049f77 into main Jan 8, 2026
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.

4 participants