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

docs: ALU: updates after recent contributions #108

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

wzmuda
Copy link
Contributor

@wzmuda wzmuda commented Dec 9, 2024

Summary

  • don't mark i128 polyfills as optional anymore
  • fix some improper definitions where the 2nd argument was always i8 instead of i8/16/32/64/128.

Details

Checklist

  • [ ] Code is formatted by Rustfmt or scarb fmt.
  • Documentation has been updated if necessary.

@wzmuda wzmuda self-assigned this Dec 9, 2024
@wzmuda wzmuda requested a review from a team as a code owner December 9, 2024 19:57
The second argument for smax, smin, umax, umin, scmp and ucmp was always
i8, despite these LLVM intrinsics accept two arguments of the same type.
Fix this mistake by making both arguments the same length for all of the
aforementioned polyfills.

Signed-off-by: Wojciech Zmuda <[email protected]>
While working on first ALU contributions we decided to implement
polyfills for i128 types from the start[1]. Remove the (*) symbol from
i128 polyfills.

[1] #38 (comment)

Signed-off-by: Wojciech Zmuda <[email protected]>
Signed-off-by: Wojciech Zmuda <[email protected]>
@wzmuda wzmuda force-pushed the wz/alu-design-update branch from 8154208 to e4c0544 Compare December 10, 2024 23:44
@wzmuda wzmuda marked this pull request as draft December 10, 2024 23:45
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