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

Structured assembled instructions #22

Merged
merged 1 commit into from
Apr 28, 2020

Conversation

langston-barrett
Copy link
Contributor

Add an intermediate datastructure that consists of all the bytes of an assembled instruction, but labeled and nested. This aids considerably in debugging when assembly goes wrong (a la #20).

One possible concern is performance, but with enough inlining, the constructors should meet with the destructors and be optimized away at compile-time. I'd appreciate any advice folks have on how to make sure this is happening.

@langston-barrett langston-barrett force-pushed the lb/assembled-instruction branch 3 times, most recently from 8e8899e to 0e76125 Compare April 27, 2020 16:46
Add an intermediate datastructure that consists of all the bytes of an
assembled instruction, but labeled and nested. This aids considerably in
debugging when assembly goes wrong.
@langston-barrett langston-barrett changed the title WIP: structured assembled instructions Structured assembled instructions Apr 27, 2020
Copy link
Contributor

@travitch travitch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks for the changes

@langston-barrett
Copy link
Contributor Author

Kevin says that this has been built successfully against saw-script, the indicators are a bit misleading in that regard because they restart when there is a new downstream commit. However, the saw-script one should eventually turn green.

@langston-barrett langston-barrett merged commit c1f772f into master Apr 28, 2020
@langston-barrett langston-barrett deleted the lb/assembled-instruction branch April 28, 2020 23:27
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.

3 participants