Skip to content

Conversation

@markshannon
Copy link
Member

No description provided.

@markshannon markshannon requested a review from mdboom January 3, 2024 13:33
Copy link
Contributor

@mdboom mdboom left a 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.
Copy link
Contributor

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.
Copy link
Contributor

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?

Copy link
Member Author

Choose a reason for hiding this comment

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

yes

Copy link
Contributor

@JelleZijlstra JelleZijlstra left a comment

Choose a reason for hiding this comment

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

Just typo fixes

markshannon and others added 2 commits January 3, 2024 15:57
Co-authored-by: Michael Droettboom <[email protected]>
Co-authored-by: Jelle Zijlstra <[email protected]>
@markshannon markshannon merged commit 7587e6e into main Jan 3, 2024
@markshannon markshannon deleted the engine branch January 19, 2024 09:12
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