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

64-bit integer types #59

Open
msullivan opened this issue Aug 9, 2020 · 0 comments
Open

64-bit integer types #59

msullivan opened this issue Aug 9, 2020 · 0 comments

Comments

@msullivan
Copy link
Contributor

It would be nice to support 64-bit integer types

Probably the hardest part of this would be generalizing things so that a value can be split across registers?

Addition, subtraction, and multiplication are easy. Addition/subtraction can be done in two packets, even, I think ({add lo; add hi; compute carry}, {add in carry}).

Division is more painful. gcc emits calls to libgcc and libgcc's code cites TAOCP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant