Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SOL] Disable ALU32 for SBFPv2 and SBPFv3 #137

Closed

Conversation

LucasSte
Copy link
Collaborator

@LucasSte LucasSte commented Feb 12, 2025

Even though ALU32 instructions are now properly working with explicit sign extension, code generation for them isn't optimal, leading to generally larger programs.

I believe the cause is that new truncation operations and jumps utilize more registers, requiring even more operations to achieve the same thing.

@LucasSte LucasSte changed the title [DRAFT - DO NOT MERGE] No default alu32 [SOL] Disable ALU32 for SBFPv2 and SBPFv3 Feb 17, 2025
@LucasSte
Copy link
Collaborator Author

LucasSte commented Mar 5, 2025

The extra code size is due to Rustc inlining more functions and we can resolve this by compiling the rustlib with -Os.

@LucasSte LucasSte closed this Mar 5, 2025
@LucasSte LucasSte deleted the no-alu32 branch March 5, 2025 15:39
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