-
Notifications
You must be signed in to change notification settings - Fork 244
Fix RV64F compilation, simplify fmv implementation, and make nan boxing functions generic #594
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
Conversation
arichardson
left a comment
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.
Minor nit: The title of the commit sounds like there is an implementation bug. Maybe Fix RV64F compilation and simplify fmv implementation?
Change LGTM.
60448aa to
feb2e2d
Compare
jordancarlin
left a comment
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.
Looks good with the latest changes. A nice cleanup + fixes a clear problem with building the model.
feb2e2d to
7e1e5f3
Compare
|
Btw Ok actually that's not quite true. And also Very cool though right? IMO we should do this in future and switch the |
Yes this looks much nicer! |
Definitely nicer that way. For now you could put the logic for the matching in the |
Yeah, having the suffixed versions be wrappers around the integer-taking version was what I was imagining. |
7e1e5f3 to
0b8ff1e
Compare
Ok I updated it to this. |
This simplifies the code and allows easily supporting the Q extension.
Simplify the implementations with fewer intermediate variables, and fix compilation of RV64F. I also added relevant quote from the spec because the spec for these instructions is very confusing. This is a prime candidate for getting Sail code into the spec.
e204f5e to
5aee853
Compare
|
@jrtc27 is the ok now? I'll merge in a week if nobody objects... |
Simplify the implementations with fewer intermediate variables, and fix compilation of RV64F.
I also added relevant quote from the spec because the spec for these instructions is very confusing. This is a prime candidate for getting Sail code into the spec.
Fixes #556