wasm: streamline hot JIT paths - #1192
Conversation
|
Warning Review limit reached
Next review available in: 38 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🤖 Codex parity reviewStatic analysis of this diff vs the local RPython/PyPy sources (commit c3234c3). Files in the reviewed diff1. Regressions to PyPy parity introduced by this patchNone. 2. Other mismatches introduced by this patchNone. 3. Pre-existing mismatches (already present before this patch)None. 4. Structural adaptations
|
Summary
IntMulOvfwhile retaining the full-width overflow fallbackWhy
Profiling showed software 64x64 overflow checks in
nested_loop, duplicate 1064-byte frame clears in recursive calls, inline cold fail-arg spill blocks infannkuch, and 44,678 exact-ABI blackhole helper calls reflecting guest→host→guest. The changes preserve PyPy/backend structure and retain generic fallbacks for ambiguous ABIs.Results
nested_loop: ~0.66s → ~0.45sfib_recursive: ~2.39s → ~1.98sfannkuchhostjit_calls: 44,692 → 14Validation
cargo check --features dynasmcargo test --workspace --exclude pyrex --features dynasmcargo test -p majit-backend-wasm --test codegen_testcargo test -p majit-backend-wasm --test codegen_test -- --ignoredpython3 pyre/check.py --no-synthetic --no-cpython-suiteNote: the unexcluded workspace test reaches a pre-existing user-only
PYRE_WASM_CALL_HISTworktree diagnostic and fails its gate-triage completeness check; that unrelated file is not included in this PR.