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

Reduce register spilling #101

Open
ogxd opened this issue Nov 11, 2024 · 0 comments
Open

Reduce register spilling #101

ogxd opened this issue Nov 11, 2024 · 0 comments
Assignees
Milestone

Comments

@ogxd
Copy link
Owner

ogxd commented Nov 11, 2024

Context

The gxhash rust implementation is cut into several functions to ease maintenance, however most of them are inlined in the final byte code. This makes it more difficult to spot registry spilling, but it seems some optimizations could be made in this regard.
A hint that we are close to spilling is that the slightest change currently has a very negative impact on performance.

Todo

Take a look at the generated X86 asm code (cargo asm), and look for potential optimizations in usage of registries.

@ogxd ogxd added this to the GxHash 4 milestone Nov 11, 2024
@ogxd ogxd self-assigned this Nov 11, 2024
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