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

Investigate macro-op fusion #2

Open
gaul opened this issue Nov 4, 2019 · 1 comment
Open

Investigate macro-op fusion #2

gaul opened this issue Nov 4, 2019 · 1 comment

Comments

@gaul
Copy link
Owner

gaul commented Nov 4, 2019

https://en.wikichip.org/wiki/macro-operation_fusion#x86

@gaul
Copy link
Owner Author

gaul commented May 2, 2020

For example, translate:

dec  n
cmp  n, 0
jne  1b

into:

sub n, 1
jnz 1b

which executes as a single macro-op.

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

No branches or pull requests

1 participant