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

Missing translation for OpIAddCarry, OpISubCarry, OpSMulExtended, OpUMulExtended #2302

Open
Snektron opened this issue Jan 15, 2024 · 2 comments

Comments

@Snektron
Copy link

It seems that the overflow family of instructions mentioned in the issue title are currently not being translated, and result in an error when attempting to use them.

@bwlodarcz
Copy link
Contributor

bwlodarcz commented Jan 16, 2024

OpIAddCarry and OpISubBorrow are currently implemented. OpSMulExtended and OpUMulExtended are not.
Be aware that #2179 exist.

@Snektron
Copy link
Author

Apologies, I did't see that the carry instructions were already implemented.

LLVMs smul.with.overflow intrinsic also returns a struct {T, i1}, so I guess that will be similarly annoying.

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

No branches or pull requests

5 participants