Skip to content

Perf: typed int **93 / pow(n,93) chained smul omit llvm.pow.f64 (#36386) - #37656

Merged
PurHur merged 1 commit into
masterfrom
agent/issue-36386-pow-ninetythird
Sep 9, 2026
Merged

Perf: typed int **93 / pow(n,93) chained smul omit llvm.pow.f64 (#36386)#37656
PurHur merged 1 commit into
masterfrom
agent/issue-36386-pow-ninetythird

Conversation

@PurHur

@PurHur PurHur commented Sep 9, 2026

Copy link
Copy Markdown
Owner

Summary

Closes nothing (epic remains open). Part of #36386.

Test plan

  • ./script/phpunit.sh --filter NoThrowPowNinetythirdMulAotTest → OK (4 tests, 23 assertions)
  • AOT vs Zend for pow_ninetythird_smul_36386.php and pow_ninetysecond_smul_36386.php (match; odd (-1)**93 === -1)
  • script/differential-sweep.sh --aot --repeat 3 --dir build/audit/diff-pow93 → 3/3 (ninetyfirst/ninetysecond/ninetythird)
  • ./script/aot-smoke.sh → 9/9
  • make north-star5-verify-fast → OK (spine 8591/8591)

Not covered this run: full corpus differential-sweep.sh --aot --repeat 3 (prior host sweep SIGTERM mid-run; targeted ninety* set green).

Made with Cursor

Lower compile-time exponent 93 via (ninetysecond×n) chained smul.with.overflow
in JitPowIntegerEmitHigh — omit llvm.pow.f64. Odd: (-1)**93 === -1.
Keeps the **92 block intact (append-only).

Co-authored-by: Cursor <cursoragent@cursor.com>
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.

1 participant