-
Notifications
You must be signed in to change notification settings - Fork 76
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
float32 flambda2 operations #2384
Conversation
d83be31
to
8ade880
Compare
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.
Please try to avoid single-letter variable names where there is an obvious alternative!
let dacc = DA.add_variable dacc result_var ty in | ||
SPR.create original_term ~try_reify:true dacc | ||
| Known_result _ | Need_meet -> | ||
SPR.create_unknown dacc ~result_var K.naked_float ~original_term |
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.
The K.naked_float also needs to be parameterized here - fixing in #2385
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.
Whoops, apologies
Adds arithmetic operations for
float32
in the middle end; again cuts off at the CMM implementations.Following PR adds backend support.