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

[wasm] Fix missing branch target table update in jiterpreter #83236

Merged
merged 1 commit into from
Mar 10, 2023

Conversation

kg
Copy link
Member

@kg kg commented Mar 9, 2023

The jiterpreter was failing to add unconditional branch targets to the branch target table, which could cause branches targeting them to fail and make the trace bail out. This fix appears to provide a significant speed-up, but it's possible it may make some specific scenarios regress.

Any regressions should be fixed once the CFG lands in the future.

@kg kg added arch-wasm WebAssembly architecture area-Codegen-Jiterpreter-mono labels Mar 9, 2023
@kg kg requested review from lewing and pavelsavara as code owners March 9, 2023 23:06
@ghost ghost assigned kg Mar 9, 2023
@ghost
Copy link

ghost commented Mar 9, 2023

Tagging subscribers to 'arch-wasm': @lewing
See info in area-owners.md if you want to be subscribed.

Issue Details

The jiterpreter was failing to add unconditional branch targets to the branch target table, which could cause branches targeting them to fail and make the trace bail out. This fix appears to provide a significant speed-up, but it's possible it may make some specific scenarios regress.

Any regressions should be fixed once the CFG lands in the future.

Author: kg
Assignees: -
Labels:

arch-wasm, area-Codegen-Jiterpreter-mono

Milestone: -

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-wasm WebAssembly architecture
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants