Skip to content

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

Closed
PurHur wants to merge 1 commit into
masterfrom
agent/issue-36386-pow94-smul
Closed

Perf: typed int **94 / pow(n,94) chained smul omit llvm.pow.f64 (#36386)#37660
PurHur wants to merge 1 commit into
masterfrom
agent/issue-36386-pow94-smul

Conversation

@PurHur

@PurHur PurHur commented Sep 9, 2026

Copy link
Copy Markdown
Owner

Summary

Test plan

  • php -l High + NativeLongPowFolds
  • php script/check-size-budgets.php → OK
  • ./script/opcode-corpus-md5.sh --update
  • script/differential-sweep.sh --aot --repeat 3 on pow_ninetyfourth_smul_36386.php1/1 (3/3)
  • ./script/phpunit.sh --filter NoThrowPowNinetyfourthMulAotTest → OK (4 tests)
  • ./script/aot-smoke.sh → 9/9
  • make north-star5-verify-fast → OK (spine 8592/8592)

Closes nothing (Part of #36386).

Made with Cursor

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

Co-authored-by: Cursor <cursoragent@cursor.com>
@PurHur

PurHur commented Sep 9, 2026

Copy link
Copy Markdown
Owner Author

Duplicate of already-merged #37658 (same **94 smul slice). Closing; gates on that merge cover this work.

@PurHur PurHur closed this Sep 9, 2026
@PurHur
PurHur deleted the agent/issue-36386-pow94-smul branch September 9, 2026 17:48
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