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

Eliminate xblock liveness with rep cmp/lod/scas #3542

Merged
merged 8 commits into from
Apr 2, 2024

Conversation

alyssarosenzweig
Copy link
Collaborator

Not the most clever thing we could do but it's hard to do better given the current state of the IR. Could move to splatter to optimize harder if we want, I guess.

1. pull flag calculation out of the loop body for perf
2. fully rotate the inner loop to save an instruction per iteration
3. hoist the rcx=0 jump to avoid computing df when rcx=0

Signed-off-by: Alyssa Rosenzweig <[email protected]>
Signed-off-by: Alyssa Rosenzweig <[email protected]>
eliminates xblock liveness

Signed-off-by: Alyssa Rosenzweig <[email protected]>
eliminates xblock live

Signed-off-by: Alyssa Rosenzweig <[email protected]>
Signed-off-by: Alyssa Rosenzweig <[email protected]>
@Sonicadvance1 Sonicadvance1 merged commit e8abc88 into FEX-Emu:main Apr 2, 2024
10 checks passed
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

Successfully merging this pull request may close these issues.

2 participants