Skip to content

make <= 1-word types immediate #9651

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

Closed
thestinger opened this issue Oct 1, 2013 · 4 comments · Fixed by #9759
Closed

make <= 1-word types immediate #9651

thestinger opened this issue Oct 1, 2013 · 4 comments · Fixed by #9759
Labels
I-slow Issue: Problems and improvements with respect to performance of generated code.

Comments

@thestinger
Copy link
Contributor

I fixed newtype immediates in #9643 while working on making tuples immediate but there's more to fix than just flipping it on for other types.

@thestinger
Copy link
Contributor Author

#9656 does this for tuples

@thestinger
Copy link
Contributor Author

#9677 does this for enums, except for C-like ones

@thestinger
Copy link
Contributor Author

#9699 does unit structs and C-like enums

@thestinger
Copy link
Contributor Author

Small ty_struct is the only thing left to do, at least before increasing the threshold to a value queried from LLVM (slices, traits, closures, etc. could be immediate on some targets).

It hits a raw uncaught exception at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I-slow Issue: Problems and improvements with respect to performance of generated code.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant