Skip to content

feat(avm): operand decomposition into bytes#12182

Merged
fcarreiro merged 15 commits intomasterfrom
jm/instr-decomposition
Feb 21, 2025
Merged

feat(avm): operand decomposition into bytes#12182
fcarreiro merged 15 commits intomasterfrom
jm/instr-decomposition

Conversation

@jeanmon
Copy link
Copy Markdown
Contributor

@jeanmon jeanmon commented Feb 21, 2025

----------------------------------------------------------------------------
Benchmark                                  Time             CPU   Iterations
----------------------------------------------------------------------------
alu_acc                                0.121 us        0.121 us      5785052
bc_decomposition_acc                    11.0 us         11.0 us        63532
bc_decomposition_interactions_acc       1.10 us         1.10 us       634797
bc_retrieval_acc                       0.025 us        0.025 us     28546642
bitwise_acc                             1.49 us         1.49 us       470471
bitwise_interactions_acc               0.923 us        0.923 us       759252
ecc_acc                                 2.58 us         2.58 us       270979
execution_acc                          0.520 us        0.520 us      1349788
instr_fetching_acc                      6.99 us         6.99 us       100165
poseidon2_hash_acc                      1.84 us         1.84 us       381127
poseidon2_hash_interactions_acc        0.742 us        0.742 us       942127
poseidon2_perm_acc                      44.6 us         44.6 us        15735
range_check_acc                         2.68 us         2.68 us       261062
range_check_interactions_acc            3.53 us         3.53 us       198400
sha256_acc                              6.25 us         6.25 us       112184
sha256_interactions_acc                0.400 us        0.400 us      1749677

@jeanmon jeanmon force-pushed the jm/instr-decomposition branch from 2757884 to c7e31f3 Compare February 21, 2025 10:18
@jeanmon jeanmon marked this pull request as ready for review February 21, 2025 10:20
Copy link
Copy Markdown
Contributor

@fcarreiro fcarreiro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sending you some initial comments while I think more about the tests.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a todo to include interaction tests (you can do it next week)

@jeanmon jeanmon marked this pull request as draft February 21, 2025 11:37
@jeanmon jeanmon force-pushed the jm/instr-decomposition branch from 8c0b4e0 to 0e93a86 Compare February 21, 2025 14:57
Copy link
Copy Markdown
Contributor

@fcarreiro fcarreiro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving under oath of solving everything when you are back :)

@jeanmon jeanmon force-pushed the jm/instr-decomposition branch from 0e93a86 to a033e55 Compare February 21, 2025 17:17
@jeanmon jeanmon marked this pull request as ready for review February 21, 2025 17:19
@jeanmon
Copy link
Copy Markdown
Contributor Author

jeanmon commented Feb 21, 2025

Approving under oath of solving everything when you are back :)

Ticket #12193 opened and assigned to me.

@fcarreiro fcarreiro merged commit f20fc16 into master Feb 21, 2025
@fcarreiro fcarreiro deleted the jm/instr-decomposition branch February 21, 2025 17:46
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.

2 participants