Skip to content

Implement missing/buggy FP operations with import "BDPI". Refs #28. #29

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

Merged
merged 2 commits into from
Nov 12, 2024

Conversation

RyanGlScott
Copy link
Collaborator

This implements exp, log, etc. (which were previously missing in copilot-bluespec) as well as sqrt (which was previously buggy) using Bluespec's import "BDPI" feature, allowing these operations to be implemented in terms of C code. While not the most performant implementations around, these are much more likely to be correct than hand-written code. We can work on improving the performance of these operations in future work.

Fixes #28.

This implements `exp`, `log`, etc. (which were previously missing in
`copilot-bluespec`) as well as `sqrt` (which was previously buggy) using
Bluespec's `import "BDPI"` feature, allowing these operations to be implemented
in terms of C code. While not the most performant implementations around, these
are much more likely to be correct than hand-written code. We can work on
improving the performance of these operations in future work.
@RyanGlScott RyanGlScott merged commit 3e880d3 into master Nov 12, 2024
3 checks passed
@RyanGlScott RyanGlScott deleted the develop-import-bdpi branch November 12, 2024 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Implement unsupported/buggy floating-point operations by using Bluespec's import "BDPI" feature
1 participant