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

Implement a base2.* to arith.* lowering #5

Open
2 tasks
KFAFSP opened this issue Jan 24, 2023 · 2 comments
Open
2 tasks

Implement a base2.* to arith.* lowering #5

KFAFSP opened this issue Jan 24, 2023 · 2 comments

Comments

@KFAFSP
Copy link
Owner

KFAFSP commented Jan 24, 2023

For all closed base2 operations operating on built-in types, we should be able to delegate to arith, as long as we fix the rounding modes ourselves. There is quite some UB in arith.

  • Fixed-point (includes fixed-point to integer)
  • Floating-point ??? progress based on floating point redesign
@KFAFSP
Copy link
Owner Author

KFAFSP commented Jan 24, 2023

Here is an old candidate where I started doing this, now we should rely more on interface methods and Elaborator classes.

base2arith.txt

@KFAFSP
Copy link
Owner Author

KFAFSP commented Feb 2, 2023

My bad, forgot the lowering for fixed-point to integer.

LowerFixedPoint.txt

@KFAFSP KFAFSP mentioned this issue Mar 2, 2023
5 tasks
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

1 participant