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

Hex2 qemu optimization #42

Merged
merged 5 commits into from Sep 9, 2021
Merged

Conversation

stikonas
Copy link
Collaborator

@stikonas stikonas commented Sep 7, 2021

This PR also contains prototypes for M0.

hex1 is optimized as well (inserted one nop instruction there to avoid recalculating jumps).

Switches read-write buffer to use stack. This speeds up
hex2 from about 8s to build itself to 0.3s.

scratch usage is not optimized for qemu but there are significantly
fewer calls to it, so gains would be small.
@oriansj oriansj merged commit 010f61b into oriansj:master Sep 9, 2021
@stikonas stikonas deleted the hex2_qemu_optimization branch September 9, 2021 08:23
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.

None yet

2 participants