-
Notifications
You must be signed in to change notification settings - Fork 52
Document design of tier 2 engines #640
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great. I just had a few points where I wasn't quite following that might need elaboration.
3.13/engine.md
Outdated
so we need to store the offset in the executor. | ||
|
||
Since there is a fixed number of micro-ops allowed in a superblock, we have an uppper | ||
bound on the offset. We will-preallocate one exit object per possible offset. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does "possible offset" here mean all 512 per executor, or just the number of instructions with EXIT_IF in them?
|
||
* The offset/location of the pointer: Implicit if we embed the exit pointer in the exit data | ||
* The target: Has a maximum value of about 10**9, so store as a `uint32_t` | ||
* Any relevant known type information: Format TBD. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Am I correct that this is only needed for intra-executor optimization and thus could be deferred until we start working on that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just typo fixes
Co-authored-by: Michael Droettboom <mdboom@gmail.com> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
No description provided.