Skip to content

perf(ecc): use projective coordinates in ecc extension - #3035

Draft
mansur20478 wants to merge 20 commits into
develop-v2.1.0from
perf/ecc-projective-coord
Draft

perf(ecc): use projective coordinates in ecc extension#3035
mansur20478 wants to merge 20 commits into
develop-v2.1.0from
perf/ecc-projective-coord

Conversation

@mansur20478

@mansur20478 mansur20478 commented Jul 17, 2026

Copy link
Copy Markdown

This PR refactors EC opcodes to use projective coordinates instead of affine ones. It consists of two parts: updating interpreter mode and RVR mode. Both parts are included in this PR.

The PR is based on the previous commits, adapting them for rv64.

towards INT-8788

@mansur20478 mansur20478 self-assigned this Jul 17, 2026
@mansur20478
mansur20478 force-pushed the perf/ecc-projective-coord branch 2 times, most recently from b0d7051 to a2bead2 Compare July 17, 2026 19:23
@mansur20478
mansur20478 force-pushed the perf/ecc-projective-coord branch 2 times, most recently from b8dc898 to 9ae9cb1 Compare July 24, 2026 18:41
@shuklaayush
shuklaayush force-pushed the perf/ecc-projective-coord branch from 9ae9cb1 to 3151979 Compare July 24, 2026 23:07
@mansur20478
mansur20478 marked this pull request as ready for review July 27, 2026 13:39
@mansur20478
mansur20478 requested a review from shuklaayush July 27, 2026 13:39
@shuklaayush
shuklaayush force-pushed the perf/ecc-projective-coord branch from 3151979 to 814ff0e Compare August 3, 2026 14:41
@shuklaayush shuklaayush changed the title perf: EC projective coordinates perf(ecc): use projective coordinates across interpreter and RVR Aug 3, 2026
@shuklaayush shuklaayush changed the title perf(ecc): use projective coordinates across interpreter and RVR perf(ecc): use projective coordinates in ecc extension Aug 3, 2026
@github-actions

This comment has been minimized.

@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

@github-actions

This comment has been minimized.

@shuklaayush
shuklaayush marked this pull request as draft August 3, 2026 15:51
@mansur20478
mansur20478 force-pushed the perf/ecc-projective-coord branch from 5699d61 to 42da049 Compare August 6, 2026 15:18
@github-actions

This comment has been minimized.

@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor
group app.proof_time_ms app.cycles leaf.proof_time_ms
fibonacci 474 4,000,051 231
keccak 7,310 14,365,133 1,515
sha2_bench 4,168 11,167,961 525
regex 662 4,090,656 218
ecrecover 250 78,475 227
pairing 230 592,827 198
kitchen_sink 2,337 2,341,811 556

Note: cells_used metrics omitted because CUDA tracegen does not expose unpadded trace heights.

Commit: c73d0f8

Benchmark Workflow

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