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

Refactoring the bit addressing opcodes #29

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

Conversation

steveschnepp
Copy link
Contributor

@steveschnepp steveschnepp commented Sep 11, 2022

This refactors the bit accesses.

Again it gains in readability.

I moved every function in its own commit, as I had some bugs and elementary commits helped git bisecting, which was made neat with some rebase.

I let the fix commits in, as I learned about it and so can anyone reading the history via git blame. Those bool behavior are still a little arcane to me. Using them naively works perfectly, but casting them to int as 0 and 1 doesn't always.

I also fixed some minor timings

@steveschnepp
Copy link
Contributor Author

Did you have time to review it?

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