matter-labs / era-compiler-llvm

ZKsync fork of the LLVM framework.
Other
33 stars 16 forks source link

[DO NOT MERGE][EraVM]Check IntrSpeculative on EraVM BE #711

Closed akiramenai closed 1 month ago

github-actions[bot] commented 1 month ago
╔═╡ Size (-%) ╞════════════════╡ All M3B3 ╞═╗
║ Best                               10.526 ║
║ Worst                              -9.756 ║
║ Total                               0.001 ║
╠═╡ Cycles (-%) ╞══════════════╡ All M3B3 ╞═╣
║ Best                                7.692 ║
║ Worst                             -20.000 ║
║ Total                               0.000 ║
╠═╡ Ergs (-%) ╞════════════════╡ All M3B3 ╞═╣
║ Best                                7.692 ║
║ Worst                             -18.889 ║
║ Total                               0.000 ║
╚═══════════════════════════════════════════╝

╔═╡ Size (-%) ╞════════════════╡ All MzB3 ╞═╗
║ Best                               10.526 ║
║ Worst                             -10.526 ║
║ Total                               0.001 ║
╠═╡ Cycles (-%) ╞══════════════╡ All MzB3 ╞═╣
║ Best                               13.492 ║
║ Worst                             -20.000 ║
║ Total                               0.003 ║
╠═╡ Ergs (-%) ╞════════════════╡ All MzB3 ╞═╣
║ Best                               11.541 ║
║ Worst                             -18.889 ║
║ Total                               0.000 ║
╚═══════════════════════════════════════════╝

╔═╡ Size (-%) ╞═════╡ EVMInterpreter M3B3 ╞═╗
║ Best                                0.000 ║
║ Worst                               0.000 ║
║ Total                                 NaN ║
╠═╡ Cycles (-%) ╞═══╡ EVMInterpreter M3B3 ╞═╣
║ Best                                0.000 ║
║ Worst                               0.000 ║
║ Total                               0.000 ║
╠═╡ Ergs (-%) ╞═════╡ EVMInterpreter M3B3 ╞═╣
║ Best                                0.000 ║
║ Worst                               0.000 ║
║ Total                               0.000 ║
╠═╡ Ergs/gas ╞══════╡ EVMInterpreter M3B3 ╞═╣
║ ADD                                40.750 ║
║ MUL                                24.450 ║
║ SUB                                40.750 ║
║ DIV                                26.850 ║
║ SDIV                               42.450 ║
║ MOD                                26.850 ║
║ SMOD                               40.050 ║
║ ADDMOD                             22.156 ║
║ MULMOD                             25.156 ║
║ EXP                                 7.237 ║
║ SIGNEXTEND                         25.650 ║
║ LT                                 44.750 ║
║ GT                                 44.750 ║
║ SLT                                66.750 ║
║ SGT                                66.750 ║
║ EQ                                 44.750 ║
║ ISZERO                             38.417 ║
║ AND                                40.750 ║
║ OR                                 40.750 ║
║ XOR                                40.750 ║
║ NOT                                34.417 ║
║ BYTE                               48.750 ║
║ SHL                                44.750 ║
║ SHR                                44.750 ║
║ SAR                                62.750 ║
║ SGT                                66.750 ║
║ SHA3                               26.922 ║
║ ADDRESS                            50.812 ║
║ BALANCE                            39.481 ║
║ ORIGIN                           1357.750 ║
║ CALLER                             50.812 ║
║ CALLVALUE                          50.812 ║
║ CALLDATALOAD                       36.750 ║
║ CALLDATASIZE                       51.125 ║
║ CALLDATACOPY                       51.462 ║
║ CODESIZE                           51.625 ║
║ CODECOPY                           62.456 ║
║ GASPRICE                         1354.562 ║
║ EXTCODESIZE                         3.732 ║
║ EXTCODECOPY                         3.797 ║
║ RETURNDATASIZE                     49.500 ║
║ RETURNDATACOPY                     44.556 ║
║ EXTCODEHASH                         4.926 ║
║ BLOCKHASH                         240.719 ║
║ COINBASE                         1354.750 ║
║ TIMESTAMP                        1348.750 ║
║ NUMBER                           1348.750 ║
║ PREVRANDAO                       1348.750 ║
║ GASLIMIT                         1354.750 ║
║ CHAINID                          1342.750 ║
║ SELFBALANCE                       641.700 ║
║ BASEFEE                          1348.750 ║
║ POP                                41.625 ║
║ MLOAD                              53.419 ║
║ MSTORE                             57.076 ║
║ MSTORE8                            66.598 ║
║ SLOAD                              20.782 ║
║ SSTORE                              4.667 ║
║ JUMP                               17.000 ║
║ JUMPI                              16.727 ║
║ PC                                 51.312 ║
║ MSIZE                              57.812 ║
║ GAS                                48.312 ║
║ JUMPDEST                           71.625 ║
║ PUSH0                              48.312 ║
║ PUSH1                              43.958 ║
║ PUSH2                              47.375 ║
║ PUSH4                              50.208 ║
║ PUSH5                              51.625 ║
║ PUSH6                              53.042 ║
║ PUSH7                              54.458 ║
║ PUSH8                              55.875 ║
║ PUSH9                              57.292 ║
║ PUSH10                             58.708 ║
║ PUSH11                             60.125 ║
║ PUSH12                             61.542 ║
║ PUSH13                             62.958 ║
║ PUSH14                             64.375 ║
║ PUSH15                             65.792 ║
║ PUSH16                             67.208 ║
║ PUSH17                             68.625 ║
║ PUSH18                             70.042 ║
║ PUSH19                             71.458 ║
║ PUSH20                             72.875 ║
║ PUSH21                             74.292 ║
║ PUSH22                             75.708 ║
║ PUSH23                             77.125 ║
║ PUSH24                             78.542 ║
║ PUSH25                             79.958 ║
║ PUSH26                             81.375 ║
║ PUSH27                             82.792 ║
║ PUSH28                             84.208 ║
║ PUSH29                             85.625 ║
║ PUSH30                             87.042 ║
║ PUSH31                             88.458 ║
║ PUSH32                             87.875 ║
║ DUP1                               34.417 ║
║ DUP2                               40.417 ║
║ DUP3                               40.417 ║
║ DUP4                               40.417 ║
║ DUP5                               40.417 ║
║ DUP6                               40.417 ║
║ DUP7                               40.417 ║
║ DUP8                               40.417 ║
║ DUP9                               40.417 ║
║ DUP10                              40.417 ║
║ DUP11                              40.417 ║
║ DUP12                              40.417 ║
║ DUP13                              40.417 ║
║ DUP14                              40.417 ║
║ DUP15                              40.417 ║
║ DUP16                              40.417 ║
║ SWAP1                              43.083 ║
║ SWAP2                              43.083 ║
║ SWAP3                              43.083 ║
║ SWAP4                              43.083 ║
║ SWAP5                              43.083 ║
║ SWAP6                              43.083 ║
║ SWAP7                              43.083 ║
║ SWAP8                              43.083 ║
║ SWAP9                              43.083 ║
║ SWAP10                             43.083 ║
║ SWAP11                             43.083 ║
║ SWAP12                             43.083 ║
║ SWAP13                             43.083 ║
║ SWAP14                             43.083 ║
║ SWAP15                             43.083 ║
║ SWAP16                             43.083 ║
║ CALL                               36.470 ║
║ STATICCALL                         35.506 ║
║ DELEGATECALL                       34.552 ║
║ CREATE                              4.089 ║
║ CREATE2                             5.568 ║
║ RETURN                              1.000 ║
║ REVERT                              1.000 ║
╠═╡ Ergs/gas (-%) ╞═╡ EVMInterpreter M3B3 ╞═╣
╚═══════════════════════════════════════════╝

╔═╡ Size (-%) ╞═════╡ EVMInterpreter MzB3 ╞═╗
║ Best                                0.000 ║
║ Worst                               0.000 ║
║ Total                                 NaN ║
╠═╡ Cycles (-%) ╞═══╡ EVMInterpreter MzB3 ╞═╣
║ Best                                0.000 ║
║ Worst                               0.000 ║
║ Total                               0.000 ║
╠═╡ Ergs (-%) ╞═════╡ EVMInterpreter MzB3 ╞═╣
║ Best                                0.000 ║
║ Worst                               0.000 ║
║ Total                               0.000 ║
╚═══════════════════════════════════════════╝

╔═╡ Size (-%) ╞════════╡ Precompiles M3B3 ╞═╗
║ Best                                0.000 ║
║ Worst                               0.000 ║
║ Total                               0.000 ║
╠═╡ Cycles (-%) ╞══════╡ Precompiles M3B3 ╞═╣
║ Best                                0.000 ║
║ Worst                               0.000 ║
║ Total                               0.000 ║
╠═╡ Ergs (-%) ╞════════╡ Precompiles M3B3 ╞═╣
║ Best                                0.000 ║
║ Worst                               0.000 ║
║ Total                               0.000 ║
╚═══════════════════════════════════════════╝

╔═╡ Size (-%) ╞════════╡ Precompiles MzB3 ╞═╗
║ Best                                0.000 ║
║ Worst                               0.000 ║
║ Total                               0.000 ║
╠═╡ Cycles (-%) ╞══════╡ Precompiles MzB3 ╞═╣
║ Best                                0.000 ║
║ Worst                               0.000 ║
║ Total                               0.000 ║
╠═╡ Ergs (-%) ╞════════╡ Precompiles MzB3 ╞═╣
║ Best                                0.000 ║
║ Worst                               0.000 ║
║ Total                               0.000 ║
╚═══════════════════════════════════════════╝

╔═╡ Size (-%) ╞══════════╡ Real life M3B3 ╞═╗
║ Best                                0.000 ║
║ Worst                              -0.123 ║
║ Total                              -0.017 ║
╠═╡ Cycles (-%) ╞════════╡ Real life M3B3 ╞═╣
║ Best                                0.767 ║
║ Worst                              -0.190 ║
║ Total                               0.005 ║
╠═╡ Ergs (-%) ╞══════════╡ Real life M3B3 ╞═╣
║ Best                                0.054 ║
║ Worst                              -0.022 ║
║ Total                               0.001 ║
╚═══════════════════════════════════════════╝

╔═╡ Size (-%) ╞══════════╡ Real life MzB3 ╞═╗
║ Best                                0.803 ║
║ Worst                              -1.170 ║
║ Total                               0.013 ║
╠═╡ Cycles (-%) ╞════════╡ Real life MzB3 ╞═╣
║ Best                                0.048 ║
║ Worst                              -0.472 ║
║ Total                              -0.003 ║
╠═╡ Ergs (-%) ╞══════════╡ Real life MzB3 ╞═╣
║ Best                                0.049 ║
║ Worst                              -0.083 ║
║ Total                              -0.000 ║
╚═══════════════════════════════════════════╝