chore(ACIR): expand signed div and mod in SSA#10039
chore(ACIR): expand signed div and mod in SSA#10039asterite merged 7 commits intoab/ssa-expand-signed-ltfrom
Conversation
There was a problem hiding this comment.
⚠️ Performance Alert ⚠️
Possible performance regression was detected for benchmark 'ACVM Benchmarks'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.20.
| Benchmark suite | Current: 6479bc5 | Previous: 39f193c | Ratio |
|---|---|---|---|
perfectly_parallel_batch_inversion_opcodes |
2778569 ns/iter (± 1705) |
2254940 ns/iter (± 1115) |
1.23 |
This comment was automatically generated by workflow using github-action-benchmark.
CC: @TomAFrench
Changes to circuit sizes
🧾 Summary (10% most significant diffs)
Full diff report 👇
|
There was a problem hiding this comment.
⚠️ Performance Alert ⚠️
Possible performance regression was detected for benchmark 'Test Suite Duration'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.20.
| Benchmark suite | Current: 6479bc5 | Previous: 39f193c | Ratio |
|---|---|---|---|
test_report_AztecProtocol_aztec-packages_noir-projects_noir-protocol-circuits_crates_blob |
346 s |
257 s |
1.35 |
test_report_zkpassport_noir_rsa_ |
2 s |
1 s |
2 |
This comment was automatically generated by workflow using github-action-benchmark.
CC: @TomAFrench
vezenovm
left a comment
There was a problem hiding this comment.
Looks good! Just some nits
|
One thing I forgot to mention here is that I think signed division/modulo end up a bit more optimal is because previously we would check that |
I imagine we are optimizing out the instructions. In ACIR gen we don't have any optimization opportunities other than those in the ACVM while in our SSA pipeline we have many more. |
|
Since this and the base PR are approved, I'll merge this and then merge the base PR. |
Description
Problem
Resolves #10029
Summary
Follow-up to #10036.
I'm mainly opening this PR to see if things still work and also if this leads to an improvement.
Additional Context
Documentation
Check one:
PR Checklist
cargo fmton default settings.