-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
cranelift: Add f16const
and f128const
instructions
#8893
Conversation
Subscribe to Label Action
This issue or pull request has been labeled: "cranelift", "cranelift:area:machinst", "cranelift:meta", "isle"
Thus the following users have been cc'd because of the following labels:
To subscribe or unsubscribe from this label, edit the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know if @elliottt wants to take a look as well, but this all looks correct to me!
I've just made a minor improvement to make the f128 cprop tests more readable. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the delay, this looks good to me!
This PR adds
f16const
andf128const
instructions, as well as basic neg/abs/copysign constant propagation. Thef128const
instruction uses aConstant
(likevconst
) instead of directly storing the value in the instruction asInstructionData
has a size of only 16 bytes.Issue: #8312