Skip to content

iss: Optimize TB chaining and exiting#1027

Draft
BadGraphixD wants to merge 3 commits into
masterfrom
feature/opt-tb-chain-exit
Draft

iss: Optimize TB chaining and exiting#1027
BadGraphixD wants to merge 3 commits into
masterfrom
feature/opt-tb-chain-exit

Conversation

@BadGraphixD

Copy link
Copy Markdown
Contributor

Sometimes translation blocks must be ended (e.g. after jumps or tb-state changes). In some cases we can chain translation blocks (when the next tb-state and pc are always the same in the next block). The decision when to do that may depend on facts that are only known at translation time (e.g. instruction operands).

This PR defers the decision to translation time in certain cases.

Tests are included, but benchmarks need to be added to test for possible performance regressions.

Closes #865

@github-actions github-actions Bot added enhancement New feature or request iss This is ISS related labels Jun 20, 2026
@BadGraphixD
BadGraphixD force-pushed the feature/opt-tb-chain-exit branch 3 times, most recently from 2c6e763 to 1743daa Compare June 22, 2026 17:39
@BadGraphixD
BadGraphixD marked this pull request as draft June 22, 2026 17:41
@BadGraphixD
BadGraphixD force-pushed the feature/opt-tb-chain-exit branch 3 times, most recently from a9dc1b8 to ef8d7b0 Compare June 29, 2026 21:49
- The decision whether to continue, chain or end the
  translation block is now sometimes deferred to TCG
  translation time
@BadGraphixD
BadGraphixD force-pushed the feature/opt-tb-chain-exit branch from ef8d7b0 to bb726f4 Compare June 29, 2026 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request iss This is ISS related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

iss: Optimize TB chaining and exiting

1 participant