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

Remove hardcoded registers from the pass #3

Open
OleksiiOleksenko opened this issue Mar 10, 2020 · 0 comments
Open

Remove hardcoded registers from the pass #3

OleksiiOleksenko opened this issue Mar 10, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@OleksiiOleksenko
Copy link
Owner

Some of the registers used in the instrumentation are hardcoded (e.g., R15 in X86SpecFuzzPass::visitWrite). This approach works, but it does not produce an optimal assembly because we have to push/pop the register value every time we use it.

A better approach would be to look for non-live registers and, if available, use them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant