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

Small optimizations #13

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open

Small optimizations #13

wants to merge 11 commits into from

Conversation

Shark64
Copy link

@Shark64 Shark64 commented May 21, 2015

I've tried to convert all the xor reg, reg to the shorter form, and switched mov reg1, reg2 with reg2=0 to xor reg1, reg1 which has the same size (2 bytes) but is faster on almost all modern CPU.
In 64bitPutFileOnDisk the comments say that r8 should be equal to rbx, but it was set to 0 in the code, not sure what is the right thing to do.

Shark64 added 11 commits May 7, 2015 22:20
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.

1 participant