mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Isoltest gas update for FunctionSpecializer
This commit is contained in:
parent
09998ceb0c
commit
2c75d1dfe4
@ -24,6 +24,6 @@ contract C {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// f() -> 0x20, 0x8, 0x40, 0x3, 0x9, 0xa, 0xb
|
// f() -> 0x20, 0x8, 0x40, 0x3, 0x9, 0xa, 0xb
|
||||||
// gas irOptimized: 194174
|
// gas irOptimized: 193697
|
||||||
// gas legacy: 196426
|
// gas legacy: 196426
|
||||||
// gas legacyOptimized: 193425
|
// gas legacyOptimized: 193405
|
||||||
|
@ -60,10 +60,10 @@ contract C {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// test_bytes() ->
|
// test_bytes() ->
|
||||||
// gas irOptimized: 516922
|
// gas irOptimized: 511133
|
||||||
// gas legacy: 466763
|
// gas legacy: 466763
|
||||||
// gas legacyOptimized: 374537
|
// gas legacyOptimized: 374537
|
||||||
// test_uint256() ->
|
// test_uint256() ->
|
||||||
// gas irOptimized: 712564
|
// gas irOptimized: 706775
|
||||||
// gas legacy: 634592
|
// gas legacy: 634592
|
||||||
// gas legacyOptimized: 499373
|
// gas legacyOptimized: 499373
|
||||||
|
@ -26,6 +26,6 @@ contract C {
|
|||||||
// ----
|
// ----
|
||||||
// library: L
|
// library: L
|
||||||
// f() -> 8, 7, 1, 2, 7, 12
|
// f() -> 8, 7, 1, 2, 7, 12
|
||||||
// gas irOptimized: 172123
|
// gas irOptimized: 165254
|
||||||
// gas legacy: 164775
|
// gas legacy: 164775
|
||||||
// gas legacyOptimized: 162697
|
// gas legacyOptimized: 162697
|
||||||
|
@ -61,10 +61,10 @@ contract C {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// test_bytes() ->
|
// test_bytes() ->
|
||||||
// gas irOptimized: 516922
|
// gas irOptimized: 511133
|
||||||
// gas legacy: 466763
|
// gas legacy: 466763
|
||||||
// gas legacyOptimized: 374537
|
// gas legacyOptimized: 374537
|
||||||
// test_uint256() ->
|
// test_uint256() ->
|
||||||
// gas irOptimized: 712564
|
// gas irOptimized: 706775
|
||||||
// gas legacy: 634592
|
// gas legacy: 634592
|
||||||
// gas legacyOptimized: 499373
|
// gas legacyOptimized: 499373
|
||||||
|
@ -53,6 +53,6 @@ contract C {
|
|||||||
// f2() -> 0x20, 0xa0, 0x1, 0x60, 0x2, 0x3, "abc"
|
// f2() -> 0x20, 0xa0, 0x1, 0x60, 0x2, 0x3, "abc"
|
||||||
// f3() -> 0x20, 0xa0, 0x1, 0x60, 0x2, 0x3, "abc"
|
// f3() -> 0x20, 0xa0, 0x1, 0x60, 0x2, 0x3, "abc"
|
||||||
// f4() -> 0x20, 0x160, 0x1, 0x80, 0xc0, 0x2, 0x3, "abc", 0x7, 0x40, 0x2, 0x2, 0x3
|
// f4() -> 0x20, 0x160, 0x1, 0x80, 0xc0, 0x2, 0x3, "abc", 0x7, 0x40, 0x2, 0x2, 0x3
|
||||||
// gas irOptimized: 110858
|
// gas irOptimized: 110468
|
||||||
// gas legacy: 111328
|
// gas legacy: 111328
|
||||||
// gas legacyOptimized: 109206
|
// gas legacyOptimized: 109206
|
||||||
|
@ -30,6 +30,6 @@ contract C is B {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// test() -> 77
|
// test() -> 77
|
||||||
// gas irOptimized: 139828
|
// gas irOptimized: 142789
|
||||||
// gas legacy: 156573
|
// gas legacy: 156573
|
||||||
// gas legacyOptimized: 112983
|
// gas legacyOptimized: 112940
|
||||||
|
@ -38,4 +38,5 @@ contract C is B {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// test() -> 5, 10
|
// test() -> 5, 10
|
||||||
|
// gas irOptimized: 101019
|
||||||
// gas legacy: 100441
|
// gas legacy: 100441
|
||||||
|
@ -21,6 +21,6 @@ contract C {
|
|||||||
// f(uint256[][1]): 32, 32, 0 -> true
|
// f(uint256[][1]): 32, 32, 0 -> true
|
||||||
// f(uint256[][1]): 32, 32, 1, 42 -> true
|
// f(uint256[][1]): 32, 32, 1, 42 -> true
|
||||||
// f(uint256[][1]): 32, 32, 8, 421, 422, 423, 424, 425, 426, 427, 428 -> true
|
// f(uint256[][1]): 32, 32, 8, 421, 422, 423, 424, 425, 426, 427, 428 -> true
|
||||||
// gas irOptimized: 227647
|
// gas irOptimized: 227280
|
||||||
// gas legacy: 144300
|
// gas legacy: 144300
|
||||||
// gas legacyOptimized: 124189
|
// gas legacyOptimized: 124189
|
||||||
|
@ -19,10 +19,10 @@ contract C {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// h(uint256[2][]): 0x20, 3, 123, 124, 223, 224, 323, 324 -> 32, 256, 0x20, 3, 123, 124, 223, 224, 323, 324
|
// h(uint256[2][]): 0x20, 3, 123, 124, 223, 224, 323, 324 -> 32, 256, 0x20, 3, 123, 124, 223, 224, 323, 324
|
||||||
// gas irOptimized: 172712
|
// gas irOptimized: 172551
|
||||||
// gas legacy: 175929
|
// gas legacy: 175929
|
||||||
// gas legacyOptimized: 172504
|
// gas legacyOptimized: 172504
|
||||||
// i(uint256[2][2]): 123, 124, 223, 224 -> 32, 128, 123, 124, 223, 224
|
// i(uint256[2][2]): 123, 124, 223, 224 -> 32, 128, 123, 124, 223, 224
|
||||||
// gas irOptimized: 107681
|
// gas irOptimized: 107492
|
||||||
// gas legacy: 109868
|
// gas legacy: 109868
|
||||||
// gas legacyOptimized: 107388
|
// gas legacyOptimized: 107388
|
||||||
|
@ -11,6 +11,6 @@ contract C {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// f(bytes): 0x20, 0x80, 0x21, 0x40, 0x7, "abcdefg" -> 0x21, 0x40, 0x7, "abcdefg"
|
// f(bytes): 0x20, 0x80, 0x21, 0x40, 0x7, "abcdefg" -> 0x21, 0x40, 0x7, "abcdefg"
|
||||||
// gas irOptimized: 130299
|
// gas irOptimized: 130202
|
||||||
// gas legacy: 131690
|
// gas legacy: 131690
|
||||||
// gas legacyOptimized: 130577
|
// gas legacyOptimized: 130577
|
||||||
|
@ -14,9 +14,9 @@ contract Test {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// set(uint24[3][]): 0x20, 0x06, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12 -> 0x06
|
// set(uint24[3][]): 0x20, 0x06, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12 -> 0x06
|
||||||
// gas irOptimized: 200167
|
// gas irOptimized: 199798
|
||||||
// gas legacy: 278685
|
// gas legacy: 278685
|
||||||
// gas legacyOptimized: 273732
|
// gas legacyOptimized: 273594
|
||||||
// data(uint256,uint256): 0x02, 0x02 -> 0x09
|
// data(uint256,uint256): 0x02, 0x02 -> 0x09
|
||||||
// data(uint256,uint256): 0x05, 0x01 -> 0x11
|
// data(uint256,uint256): 0x05, 0x01 -> 0x11
|
||||||
// data(uint256,uint256): 0x06, 0x00 -> FAILURE
|
// data(uint256,uint256): 0x06, 0x00 -> FAILURE
|
||||||
|
@ -47,7 +47,7 @@ contract c {
|
|||||||
// gas legacyOptimized: 109706
|
// gas legacyOptimized: 109706
|
||||||
// storage: nonempty
|
// storage: nonempty
|
||||||
// test_long() -> 67
|
// test_long() -> 67
|
||||||
// gas irOptimized: 134698
|
// gas irOptimized: 134469
|
||||||
// gas legacy: 213590
|
// gas legacy: 213590
|
||||||
// gas legacyOptimized: 211044
|
// gas legacyOptimized: 211044
|
||||||
// storage: nonempty
|
// storage: nonempty
|
||||||
|
@ -19,6 +19,6 @@ contract c {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// test() -> 0
|
// test() -> 0
|
||||||
// gas irOptimized: 312322
|
// gas irOptimized: 311507
|
||||||
// gas legacy: 483915
|
// gas legacy: 483915
|
||||||
// gas legacyOptimized: 478672
|
// gas legacyOptimized: 478672
|
||||||
|
@ -15,7 +15,7 @@ contract c {
|
|||||||
// ----
|
// ----
|
||||||
// getLength() -> 0
|
// getLength() -> 0
|
||||||
// set(): 1, 2 -> true
|
// set(): 1, 2 -> true
|
||||||
// gas irOptimized: 103207
|
// gas irOptimized: 103153
|
||||||
// gas legacy: 103126
|
// gas legacy: 103126
|
||||||
// gas legacyOptimized: 102967
|
// gas legacyOptimized: 102967
|
||||||
// getLength() -> 68
|
// getLength() -> 68
|
||||||
|
@ -22,7 +22,7 @@ contract c {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// store(uint256[9],uint8[3][]): 21, 22, 23, 24, 25, 26, 27, 28, 29, 0x140, 4, 1, 2, 3, 11, 12, 13, 21, 22, 23, 31, 32, 33 -> 32
|
// store(uint256[9],uint8[3][]): 21, 22, 23, 24, 25, 26, 27, 28, 29, 0x140, 4, 1, 2, 3, 11, 12, 13, 21, 22, 23, 31, 32, 33 -> 32
|
||||||
// gas irOptimized: 628978
|
// gas irOptimized: 612370
|
||||||
// gas legacy: 817315
|
// gas legacy: 817315
|
||||||
// gas legacyOptimized: 816813
|
// gas legacyOptimized: 816813
|
||||||
// retrieve() -> 9, 28, 9, 28, 4, 3, 32
|
// retrieve() -> 9, 28, 9, 28, 4, 3, 32
|
||||||
|
@ -23,6 +23,6 @@ contract C {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// f() -> true
|
// f() -> true
|
||||||
// gas irOptimized: 111965
|
// gas irOptimized: 107807
|
||||||
// gas legacy: 107335
|
// gas legacy: 107335
|
||||||
// gas legacyOptimized: 105857
|
// gas legacyOptimized: 105857
|
||||||
|
@ -48,6 +48,6 @@ contract C {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// f() -> true
|
// f() -> true
|
||||||
// gas irOptimized: 253493
|
// gas irOptimized: 233902
|
||||||
// gas legacy: 239061
|
// gas legacy: 239061
|
||||||
// gas legacyOptimized: 235988
|
// gas legacyOptimized: 235988
|
||||||
|
@ -15,6 +15,6 @@ contract C {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// f() -> 0
|
// f() -> 0
|
||||||
// gas irOptimized: 150525
|
// gas irOptimized: 139626
|
||||||
// gas legacy: 138913
|
// gas legacy: 138913
|
||||||
// gas legacyOptimized: 137448
|
// gas legacyOptimized: 137448
|
||||||
|
@ -42,11 +42,11 @@ contract C {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// f() -> 0
|
// f() -> 0
|
||||||
// gas irOptimized: 111968
|
// gas irOptimized: 107769
|
||||||
// gas legacy: 107306
|
// gas legacy: 107306
|
||||||
// gas legacyOptimized: 105861
|
// gas legacyOptimized: 105861
|
||||||
// g() -> 0
|
// g() -> 0
|
||||||
// h() -> 0
|
// h() -> 0
|
||||||
// gas irOptimized: 112011
|
// gas irOptimized: 107820
|
||||||
// gas legacy: 107328
|
// gas legacy: 107328
|
||||||
// gas legacyOptimized: 105903
|
// gas legacyOptimized: 105903
|
||||||
|
@ -21,6 +21,6 @@ contract c {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// test() -> 0x01000000000000000000000000000000000000000000000000, 0x02000000000000000000000000000000000000000000000000, 0x03000000000000000000000000000000000000000000000000, 0x04000000000000000000000000000000000000000000000000, 0x05000000000000000000000000000000000000000000000000
|
// test() -> 0x01000000000000000000000000000000000000000000000000, 0x02000000000000000000000000000000000000000000000000, 0x03000000000000000000000000000000000000000000000000, 0x04000000000000000000000000000000000000000000000000, 0x05000000000000000000000000000000000000000000000000
|
||||||
// gas irOptimized: 247460
|
// gas irOptimized: 246856
|
||||||
// gas legacy: 276683
|
// gas legacy: 276683
|
||||||
// gas legacyOptimized: 275534
|
// gas legacyOptimized: 275534
|
||||||
|
@ -37,12 +37,12 @@ contract c {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// test() -> 0x02000202
|
// test() -> 0x02000202
|
||||||
// gas irOptimized: 2481119
|
// gas irOptimized: 2477836
|
||||||
// gas legacy: 2288641
|
// gas legacy: 2288641
|
||||||
// gas legacyOptimized: 2258654
|
// gas legacyOptimized: 2258654
|
||||||
// storage: empty
|
// storage: empty
|
||||||
// clear() -> 0, 0
|
// clear() -> 0, 0
|
||||||
// gas irOptimized: 1856784
|
// gas irOptimized: 1854274
|
||||||
// gas legacy: 1727169
|
// gas legacy: 1727169
|
||||||
// gas legacyOptimized: 1698931
|
// gas legacyOptimized: 1698931
|
||||||
// storage: empty
|
// storage: empty
|
||||||
|
@ -15,6 +15,6 @@ contract c {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// test(uint256[2][]): 32, 3, 7, 8, 9, 10, 11, 12 -> 10
|
// test(uint256[2][]): 32, 3, 7, 8, 9, 10, 11, 12 -> 10
|
||||||
// gas irOptimized: 611490
|
// gas irOptimized: 610623
|
||||||
// gas legacy: 604268
|
// gas legacy: 604268
|
||||||
// gas legacyOptimized: 603688
|
// gas legacyOptimized: 603688
|
||||||
|
@ -19,6 +19,6 @@ contract c {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// test() -> 5, 4
|
// test() -> 5, 4
|
||||||
// gas irOptimized: 235594
|
// gas irOptimized: 235198
|
||||||
// gas legacy: 237001
|
// gas legacy: 237001
|
||||||
// gas legacyOptimized: 235316
|
// gas legacyOptimized: 235316
|
||||||
|
@ -23,6 +23,6 @@ contract c {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// test() -> 3, 4
|
// test() -> 3, 4
|
||||||
// gas irOptimized: 195483
|
// gas irOptimized: 191241
|
||||||
// gas legacy: 208853
|
// gas legacy: 208853
|
||||||
// gas legacyOptimized: 200341
|
// gas legacyOptimized: 200341
|
||||||
|
@ -20,6 +20,6 @@ contract c {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// test() -> 5, 4
|
// test() -> 5, 4
|
||||||
// gas irOptimized: 276018
|
// gas irOptimized: 265237
|
||||||
// gas legacy: 264734
|
// gas legacy: 264734
|
||||||
// gas legacyOptimized: 263160
|
// gas legacyOptimized: 263160
|
||||||
|
@ -14,4 +14,4 @@ contract c {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// test() -> 9, 4
|
// test() -> 9, 4
|
||||||
// gas irOptimized: 100283
|
// gas irOptimized: 99282
|
||||||
|
@ -18,6 +18,6 @@ contract c {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// test() -> 8, 0
|
// test() -> 8, 0
|
||||||
// gas irOptimized: 158923
|
// gas irOptimized: 154937
|
||||||
// gas legacy: 153995
|
// gas legacy: 153995
|
||||||
// gas legacyOptimized: 153403
|
// gas legacyOptimized: 153403
|
||||||
|
@ -19,7 +19,7 @@ contract c {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// test() -> 4, 5
|
// test() -> 4, 5
|
||||||
// gas irOptimized: 282808
|
// gas irOptimized: 259287
|
||||||
// gas legacy: 255936
|
// gas legacy: 255936
|
||||||
// gas legacyOptimized: 254359
|
// gas legacyOptimized: 254359
|
||||||
// storage: empty
|
// storage: empty
|
||||||
|
@ -17,6 +17,6 @@ contract C {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// f() -> 0x20, 2, 0x40, 0xa0, 2, 0, 1, 2, 2, 3
|
// f() -> 0x20, 2, 0x40, 0xa0, 2, 0, 1, 2, 2, 3
|
||||||
// gas irOptimized: 170692
|
// gas irOptimized: 168769
|
||||||
// gas legacy: 163978
|
// gas legacy: 163978
|
||||||
// gas legacyOptimized: 158150
|
// gas legacyOptimized: 158150
|
||||||
|
@ -19,6 +19,6 @@ contract c {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// test() -> 0xffffffff, 0x0000000000000000000000000a00090008000700060005000400030002000100, 0x0000000000000000000000000000000000000000000000000000000000000000
|
// test() -> 0xffffffff, 0x0000000000000000000000000a00090008000700060005000400030002000100, 0x0000000000000000000000000000000000000000000000000000000000000000
|
||||||
// gas irOptimized: 222905
|
// gas irOptimized: 218689
|
||||||
// gas legacy: 328106
|
// gas legacy: 328106
|
||||||
// gas legacyOptimized: 308072
|
// gas legacyOptimized: 307826
|
||||||
|
@ -21,6 +21,6 @@ contract c {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// test() -> 0x04000000000000000000000000000000000000000000000000, 0x0, 0x0
|
// test() -> 0x04000000000000000000000000000000000000000000000000, 0x0, 0x0
|
||||||
// gas irOptimized: 109180
|
// gas irOptimized: 107799
|
||||||
// gas legacy: 116651
|
// gas legacy: 116651
|
||||||
// gas legacyOptimized: 107000
|
// gas legacyOptimized: 107000
|
||||||
|
@ -21,6 +21,6 @@ contract c {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// test() -> 0x01000000000000000000000000000000000000000000000000, 0x02000000000000000000000000000000000000000000000000, 0x03000000000000000000000000000000000000000000000000, 0x04000000000000000000000000000000000000000000000000, 0x0
|
// test() -> 0x01000000000000000000000000000000000000000000000000, 0x02000000000000000000000000000000000000000000000000, 0x03000000000000000000000000000000000000000000000000, 0x04000000000000000000000000000000000000000000000000, 0x0
|
||||||
// gas irOptimized: 290176
|
// gas irOptimized: 288963
|
||||||
// gas legacy: 309353
|
// gas legacy: 309353
|
||||||
// gas legacyOptimized: 307699
|
// gas legacyOptimized: 307699
|
||||||
|
@ -21,6 +21,6 @@ contract c {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// test() -> 0x01000000000000000000000000000000000000000000000000, 0x02000000000000000000000000000000000000000000000000, 0x03000000000000000000000000000000000000000000000000, 0x04000000000000000000000000000000000000000000000000, 0x00
|
// test() -> 0x01000000000000000000000000000000000000000000000000, 0x02000000000000000000000000000000000000000000000000, 0x03000000000000000000000000000000000000000000000000, 0x04000000000000000000000000000000000000000000000000, 0x00
|
||||||
// gas irOptimized: 269679
|
// gas irOptimized: 264046
|
||||||
// gas legacy: 269681
|
// gas legacy: 269681
|
||||||
// gas legacyOptimized: 268753
|
// gas legacyOptimized: 268753
|
||||||
|
@ -38,10 +38,10 @@ contract c {
|
|||||||
// compileViaYul: true
|
// compileViaYul: true
|
||||||
// ----
|
// ----
|
||||||
// test1(uint256[][]): 0x20, 2, 0x40, 0x40, 2, 23, 42 -> 2, 65
|
// test1(uint256[][]): 0x20, 2, 0x40, 0x40, 2, 23, 42 -> 2, 65
|
||||||
// gas irOptimized: 179750
|
// gas irOptimized: 179347
|
||||||
// test2(uint256[][2]): 0x20, 0x40, 0x40, 2, 23, 42 -> 2, 65
|
// test2(uint256[][2]): 0x20, 0x40, 0x40, 2, 23, 42 -> 2, 65
|
||||||
// gas irOptimized: 155229
|
// gas irOptimized: 154097
|
||||||
// test3(uint256[2][]): 0x20, 2, 23, 42, 23, 42 -> 2, 65
|
// test3(uint256[2][]): 0x20, 2, 23, 42, 23, 42 -> 2, 65
|
||||||
// gas irOptimized: 133495
|
// gas irOptimized: 132762
|
||||||
// test4(uint256[2][2]): 23, 42, 23, 42 -> 65
|
// test4(uint256[2][2]): 23, 42, 23, 42 -> 65
|
||||||
// gas irOptimized: 107858
|
// gas irOptimized: 105500
|
||||||
|
@ -40,12 +40,12 @@ contract Test {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// test() -> 24
|
// test() -> 24
|
||||||
// gas irOptimized: 217724
|
// gas irOptimized: 216554
|
||||||
// gas legacy: 215533
|
// gas legacy: 215533
|
||||||
// gas legacyOptimized: 214947
|
// gas legacyOptimized: 214947
|
||||||
// test1() -> 3
|
// test1() -> 3
|
||||||
// test2() -> 6
|
// test2() -> 6
|
||||||
// test3() -> 24
|
// test3() -> 24
|
||||||
// gas irOptimized: 124650
|
// gas irOptimized: 123067
|
||||||
// gas legacy: 122795
|
// gas legacy: 122795
|
||||||
// gas legacyOptimized: 121883
|
// gas legacyOptimized: 121883
|
||||||
|
@ -17,4 +17,4 @@ contract C {
|
|||||||
// compileViaYul: true
|
// compileViaYul: true
|
||||||
// ----
|
// ----
|
||||||
// f((uint128,uint64,uint128)[]): 0x20, 3, 0, 0, 12, 0, 11, 0, 10, 0, 0 -> 10, 11, 12
|
// f((uint128,uint64,uint128)[]): 0x20, 3, 0, 0, 12, 0, 11, 0, 10, 0, 0 -> 10, 11, 12
|
||||||
// gas irOptimized: 123321
|
// gas irOptimized: 123100
|
||||||
|
@ -19,4 +19,4 @@ contract C {
|
|||||||
// compileViaYul: true
|
// compileViaYul: true
|
||||||
// ----
|
// ----
|
||||||
// f() -> 10, 11, 12
|
// f() -> 10, 11, 12
|
||||||
// gas irOptimized: 122679
|
// gas irOptimized: 122096
|
||||||
|
@ -23,4 +23,4 @@ contract C {
|
|||||||
// compileViaYul: true
|
// compileViaYul: true
|
||||||
// ----
|
// ----
|
||||||
// f((uint256[])[]): 0x20, 3, 0x60, 0x60, 0x60, 0x20, 3, 1, 2, 3 -> 3, 1
|
// f((uint256[])[]): 0x20, 3, 0x60, 0x60, 0x60, 0x20, 3, 1, 2, 3 -> 3, 1
|
||||||
// gas irOptimized: 354491
|
// gas irOptimized: 354017
|
||||||
|
@ -26,4 +26,4 @@ contract C {
|
|||||||
// compileViaYul: true
|
// compileViaYul: true
|
||||||
// ----
|
// ----
|
||||||
// f() -> 3, 3, 3, 1
|
// f() -> 3, 3, 3, 1
|
||||||
// gas irOptimized: 189735
|
// gas irOptimized: 187687
|
||||||
|
@ -15,6 +15,6 @@ contract C {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// f() -> 1, 2, 3
|
// f() -> 1, 2, 3
|
||||||
// gas irOptimized: 135042
|
// gas irOptimized: 133583
|
||||||
// gas legacy: 134419
|
// gas legacy: 134419
|
||||||
// gas legacyOptimized: 125440
|
// gas legacyOptimized: 125440
|
||||||
|
@ -12,7 +12,7 @@ contract Test {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// set(uint24[]): 0x20, 18, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18 -> 18
|
// set(uint24[]): 0x20, 18, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18 -> 18
|
||||||
// gas irOptimized: 121109
|
// gas irOptimized: 121010
|
||||||
// gas legacy: 125815
|
// gas legacy: 125815
|
||||||
// gas legacyOptimized: 123614
|
// gas legacyOptimized: 123614
|
||||||
// data(uint256): 7 -> 8
|
// data(uint256): 7 -> 8
|
||||||
|
@ -7,11 +7,11 @@ contract c {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// set(uint256): 1, 2 -> true
|
// set(uint256): 1, 2 -> true
|
||||||
// gas irOptimized: 103359
|
// gas irOptimized: 103311
|
||||||
// gas legacy: 103491
|
// gas legacy: 103491
|
||||||
// gas legacyOptimized: 103136
|
// gas legacyOptimized: 103136
|
||||||
// set(uint256): 2, 2, 3, 4, 5 -> true
|
// set(uint256): 2, 2, 3, 4, 5 -> true
|
||||||
// gas irOptimized: 164046
|
// gas irOptimized: 163998
|
||||||
// gas legacy: 164121
|
// gas legacy: 164121
|
||||||
// gas legacyOptimized: 163766
|
// gas legacyOptimized: 163766
|
||||||
// storage: nonempty
|
// storage: nonempty
|
||||||
|
@ -19,25 +19,25 @@ contract c {
|
|||||||
// ----
|
// ----
|
||||||
// f(uint256): 0 -> 0x20, 0x00
|
// f(uint256): 0 -> 0x20, 0x00
|
||||||
// f(uint256): 31 -> 0x20, 0x1f, 0x0102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e00
|
// f(uint256): 31 -> 0x20, 0x1f, 0x0102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e00
|
||||||
// gas irOptimized: 222425
|
// gas irOptimized: 221795
|
||||||
// gas legacy: 255464
|
// gas legacy: 255464
|
||||||
// gas legacyOptimized: 250998
|
// gas legacyOptimized: 250998
|
||||||
// f(uint256): 32 -> 0x20, 0x20, 1780731860627700044960722568376592200742329637303199754547598369979440671
|
// f(uint256): 32 -> 0x20, 0x20, 1780731860627700044960722568376592200742329637303199754547598369979440671
|
||||||
// gas irOptimized: 233052
|
// gas irOptimized: 232383
|
||||||
// gas legacy: 267931
|
// gas legacy: 267931
|
||||||
// gas legacyOptimized: 263329
|
// gas legacyOptimized: 263329
|
||||||
// f(uint256): 33 -> 0x20, 33, 1780731860627700044960722568376592200742329637303199754547598369979440671, 0x2000000000000000000000000000000000000000000000000000000000000000
|
// f(uint256): 33 -> 0x20, 33, 1780731860627700044960722568376592200742329637303199754547598369979440671, 0x2000000000000000000000000000000000000000000000000000000000000000
|
||||||
// gas irOptimized: 241863
|
// gas irOptimized: 241178
|
||||||
// gas legacy: 277538
|
// gas legacy: 277538
|
||||||
// gas legacyOptimized: 272818
|
// gas legacyOptimized: 272818
|
||||||
// f(uint256): 63 -> 0x20, 0x3f, 1780731860627700044960722568376592200742329637303199754547598369979440671, 14532552714582660066924456880521368950258152170031413196862950297402215316992
|
// f(uint256): 63 -> 0x20, 0x3f, 1780731860627700044960722568376592200742329637303199754547598369979440671, 14532552714582660066924456880521368950258152170031413196862950297402215316992
|
||||||
// gas irOptimized: 355653
|
// gas irOptimized: 354488
|
||||||
// gas legacy: 423428
|
// gas legacy: 423428
|
||||||
// gas legacyOptimized: 414868
|
// gas legacyOptimized: 414868
|
||||||
// f(uint256): 12 -> 0x20, 0x0c, 0x0102030405060708090a0b0000000000000000000000000000000000000000
|
// f(uint256): 12 -> 0x20, 0x0c, 0x0102030405060708090a0b0000000000000000000000000000000000000000
|
||||||
// gas legacy: 106445
|
// gas legacy: 106445
|
||||||
// gas legacyOptimized: 104379
|
// gas legacyOptimized: 104379
|
||||||
// f(uint256): 129 -> 0x20, 0x81, 1780731860627700044960722568376592200742329637303199754547598369979440671, 0x202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f, 29063324697304692433803953038474361308315562010425523193971352996434451193439, 0x606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f, -57896044618658097711785492504343953926634992332820282019728792003956564819968
|
// f(uint256): 129 -> 0x20, 0x81, 1780731860627700044960722568376592200742329637303199754547598369979440671, 0x202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f, 29063324697304692433803953038474361308315562010425523193971352996434451193439, 0x606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f, -57896044618658097711785492504343953926634992332820282019728792003956564819968
|
||||||
// gas irOptimized: 816179
|
// gas irOptimized: 813943
|
||||||
// gas legacy: 954517
|
// gas legacy: 954517
|
||||||
// gas legacyOptimized: 937521
|
// gas legacyOptimized: 937521
|
||||||
|
@ -11,6 +11,6 @@ contract C {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// f(uint256[]): 0x20, 0x03, 0x1, 0x2, 0x3 -> 0x1
|
// f(uint256[]): 0x20, 0x03, 0x1, 0x2, 0x3 -> 0x1
|
||||||
// gas irOptimized: 108090
|
// gas irOptimized: 105320
|
||||||
// gas legacy: 105365
|
// gas legacy: 105365
|
||||||
// gas legacyOptimized: 105147
|
// gas legacyOptimized: 105147
|
||||||
|
@ -37,7 +37,7 @@ contract C {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// f() -> 0x40, 0x80, 6, 0x6162636465660000000000000000000000000000000000000000000000000000, 0x49, 0x3132333435363738393031323334353637383930313233343536373839303120, 0x3132333435363738393031323334353637383930313233343536373839303120, 0x3132333435363738390000000000000000000000000000000000000000000000
|
// f() -> 0x40, 0x80, 6, 0x6162636465660000000000000000000000000000000000000000000000000000, 0x49, 0x3132333435363738393031323334353637383930313233343536373839303120, 0x3132333435363738393031323334353637383930313233343536373839303120, 0x3132333435363738390000000000000000000000000000000000000000000000
|
||||||
// gas irOptimized: 172876
|
// gas irOptimized: 172472
|
||||||
// gas legacy: 174794
|
// gas legacy: 174794
|
||||||
// gas legacyOptimized: 174188
|
// gas legacyOptimized: 174188
|
||||||
// g() -> 0x40, 0xc0, 0x49, 0x3132333435363738393031323334353637383930313233343536373839303120, 0x3132333435363738393031323334353637383930313233343536373839303120, 0x3132333435363738390000000000000000000000000000000000000000000000, 0x11, 0x3132333435363738393233343536373839000000000000000000000000000000
|
// g() -> 0x40, 0xc0, 0x49, 0x3132333435363738393031323334353637383930313233343536373839303120, 0x3132333435363738393031323334353637383930313233343536373839303120, 0x3132333435363738390000000000000000000000000000000000000000000000, 0x11, 0x3132333435363738393233343536373839000000000000000000000000000000
|
||||||
|
@ -48,6 +48,6 @@ contract C {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// f() -> 0xff
|
// f() -> 0xff
|
||||||
// gas irOptimized: 137415
|
// gas irOptimized: 136355
|
||||||
// gas legacy: 137645
|
// gas legacy: 137645
|
||||||
// gas legacyOptimized: 134376
|
// gas legacyOptimized: 134376
|
||||||
|
@ -18,6 +18,6 @@ contract C {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// test() -> 7
|
// test() -> 7
|
||||||
// gas irOptimized: 134680
|
// gas irOptimized: 134260
|
||||||
// gas legacy: 211296
|
// gas legacy: 211296
|
||||||
// gas legacyOptimized: 211087
|
// gas legacyOptimized: 211087
|
||||||
|
@ -9,7 +9,7 @@ contract c {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// set(): 1, 2, 3, 4, 5 -> true
|
// set(): 1, 2, 3, 4, 5 -> true
|
||||||
// gas irOptimized: 163855
|
// gas irOptimized: 163790
|
||||||
// gas legacy: 163756
|
// gas legacy: 163756
|
||||||
// gas legacyOptimized: 163596
|
// gas legacyOptimized: 163596
|
||||||
// storage: nonempty
|
// storage: nonempty
|
||||||
|
@ -20,6 +20,6 @@ contract C {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// f() -> 3
|
// f() -> 3
|
||||||
// gas irOptimized: 175175
|
// gas irOptimized: 174259
|
||||||
// gas legacy: 179707
|
// gas legacy: 179707
|
||||||
// gas legacyOptimized: 178763
|
// gas legacyOptimized: 178763
|
||||||
|
@ -19,6 +19,6 @@ contract C {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// f() -> 1, 2, 3, 4, 5, 6, 7
|
// f() -> 1, 2, 3, 4, 5, 6, 7
|
||||||
// gas irOptimized: 218088
|
// gas irOptimized: 212697
|
||||||
// gas legacy: 223725
|
// gas legacy: 223725
|
||||||
// gas legacyOptimized: 222886
|
// gas legacyOptimized: 222886
|
||||||
|
@ -13,6 +13,6 @@ contract C {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// f() -> 0x20, 0x02, 0x40, 0x80, 3, 0x6162630000000000000000000000000000000000000000000000000000000000, 0x99, 44048183304486788312148433451363384677562265908331949128489393215789685032262, 32241931068525137014058842823026578386641954854143559838526554899205067598957, 49951309422467613961193228765530489307475214998374779756599339590522149884499, 0x54555658595a6162636465666768696a6b6c6d6e6f707172737475767778797a, 0x4142434445464748494a4b4c4d4e4f5051525354555658595a00000000000000
|
// f() -> 0x20, 0x02, 0x40, 0x80, 3, 0x6162630000000000000000000000000000000000000000000000000000000000, 0x99, 44048183304486788312148433451363384677562265908331949128489393215789685032262, 32241931068525137014058842823026578386641954854143559838526554899205067598957, 49951309422467613961193228765530489307475214998374779756599339590522149884499, 0x54555658595a6162636465666768696a6b6c6d6e6f707172737475767778797a, 0x4142434445464748494a4b4c4d4e4f5051525354555658595a00000000000000
|
||||||
// gas irOptimized: 198770
|
// gas irOptimized: 198455
|
||||||
// gas legacy: 199159
|
// gas legacy: 199159
|
||||||
// gas legacyOptimized: 198132
|
// gas legacyOptimized: 198132
|
||||||
|
@ -20,6 +20,6 @@ contract C {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// f() -> 1, 2, 3, 4, 5, 6, 7
|
// f() -> 1, 2, 3, 4, 5, 6, 7
|
||||||
// gas irOptimized: 218088
|
// gas irOptimized: 212697
|
||||||
// gas legacy: 223730
|
// gas legacy: 223730
|
||||||
// gas legacyOptimized: 222891
|
// gas legacyOptimized: 222891
|
||||||
|
@ -26,6 +26,6 @@ contract C {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// f() -> 11, 0x0c, 1, 0x15, 22, 4
|
// f() -> 11, 0x0c, 1, 0x15, 22, 4
|
||||||
// gas irOptimized: 292610
|
// gas irOptimized: 289378
|
||||||
// gas legacy: 296916
|
// gas legacy: 296916
|
||||||
// gas legacyOptimized: 283163
|
// gas legacyOptimized: 283163
|
||||||
|
@ -15,6 +15,6 @@ contract C {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// f() -> 2, 3, 4
|
// f() -> 2, 3, 4
|
||||||
// gas irOptimized: 240291
|
// gas irOptimized: 209867
|
||||||
// gas legacy: 241549
|
// gas legacy: 241549
|
||||||
// gas legacyOptimized: 236002
|
// gas legacyOptimized: 236002
|
||||||
|
@ -20,6 +20,6 @@ contract C {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// f() -> "A", 8, 4, "B"
|
// f() -> "A", 8, 4, "B"
|
||||||
// gas irOptimized: 170553
|
// gas irOptimized: 151068
|
||||||
// gas legacy: 121398
|
// gas legacy: 121398
|
||||||
// gas legacyOptimized: 115494
|
// gas legacyOptimized: 115494
|
||||||
|
@ -18,6 +18,6 @@ contract c {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// test1() -> true
|
// test1() -> true
|
||||||
// gas irOptimized: 533377
|
// gas irOptimized: 531791
|
||||||
// gas legacy: 613377
|
// gas legacy: 613377
|
||||||
// gas legacyOptimized: 606411
|
// gas legacyOptimized: 606411
|
||||||
|
@ -16,4 +16,4 @@ contract C {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// f() -> 0, 0, 0
|
// f() -> 0, 0, 0
|
||||||
// gas irOptimized: 101909
|
// gas irOptimized: 101644
|
||||||
|
@ -16,7 +16,7 @@ contract c {
|
|||||||
// ----
|
// ----
|
||||||
// storage: empty
|
// storage: empty
|
||||||
// fill() ->
|
// fill() ->
|
||||||
// gas irOptimized: 536196
|
// gas irOptimized: 535980
|
||||||
// gas legacy: 504373
|
// gas legacy: 504373
|
||||||
// gas legacyOptimized: 499648
|
// gas legacyOptimized: 499648
|
||||||
// storage: nonempty
|
// storage: nonempty
|
||||||
|
@ -44,7 +44,7 @@ contract c {
|
|||||||
// ----
|
// ----
|
||||||
// getLengths() -> 0, 0
|
// getLengths() -> 0, 0
|
||||||
// setLengths(uint256,uint256): 48, 49 ->
|
// setLengths(uint256,uint256): 48, 49 ->
|
||||||
// gas irOptimized: 276350
|
// gas irOptimized: 275906
|
||||||
// gas legacy: 308271
|
// gas legacy: 308271
|
||||||
// gas legacyOptimized: 300117
|
// gas legacyOptimized: 300117
|
||||||
// getLengths() -> 48, 49
|
// getLengths() -> 48, 49
|
||||||
|
@ -18,7 +18,7 @@ contract c {
|
|||||||
// ----
|
// ----
|
||||||
// storage: empty
|
// storage: empty
|
||||||
// fill() -> 8
|
// fill() -> 8
|
||||||
// gas irOptimized: 181160
|
// gas irOptimized: 170158
|
||||||
// gas legacy: 165456
|
// gas legacy: 165456
|
||||||
// gas legacyOptimized: 164387
|
// gas legacyOptimized: 164387
|
||||||
// storage: nonempty
|
// storage: nonempty
|
||||||
|
@ -13,7 +13,7 @@ contract c {
|
|||||||
// ----
|
// ----
|
||||||
// storage: empty
|
// storage: empty
|
||||||
// fill() ->
|
// fill() ->
|
||||||
// gas irOptimized: 423997
|
// gas irOptimized: 423949
|
||||||
// gas legacy: 429460
|
// gas legacy: 429460
|
||||||
// gas legacyOptimized: 425520
|
// gas legacyOptimized: 425520
|
||||||
// storage: nonempty
|
// storage: nonempty
|
||||||
|
@ -21,6 +21,6 @@ contract B {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// f() -> 2, 3, 4, 5, 6, 1000, 1001, 1002, 1003, 1004
|
// f() -> 2, 3, 4, 5, 6, 1000, 1001, 1002, 1003, 1004
|
||||||
// gas irOptimized: 179451
|
// gas irOptimized: 152350
|
||||||
// gas legacy: 264410
|
// gas legacy: 264410
|
||||||
// gas legacyOptimized: 134899
|
// gas legacyOptimized: 134899
|
||||||
|
@ -45,6 +45,6 @@ contract C {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// test() -> 5, 6, 7
|
// test() -> 5, 6, 7
|
||||||
// gas irOptimized: 360198
|
// gas irOptimized: 354715
|
||||||
// gas legacy: 500424
|
// gas legacy: 500424
|
||||||
// gas legacyOptimized: 307813
|
// gas legacyOptimized: 307813
|
||||||
|
@ -25,7 +25,7 @@ contract c {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// test() -> 1, 2, 3
|
// test() -> 1, 2, 3
|
||||||
// gas irOptimized: 2556747
|
// gas irOptimized: 2462156
|
||||||
// gas legacy: 2416722
|
// gas legacy: 2416722
|
||||||
// gas legacyOptimized: 2405396
|
// gas legacyOptimized: 2405396
|
||||||
// storage: empty
|
// storage: empty
|
||||||
|
@ -20,7 +20,7 @@ contract c {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// test() -> 38, 28, 18
|
// test() -> 38, 28, 18
|
||||||
// gas irOptimized: 538686
|
// gas irOptimized: 531794
|
||||||
// gas legacy: 454080
|
// gas legacy: 454080
|
||||||
// gas legacyOptimized: 443170
|
// gas legacyOptimized: 443170
|
||||||
// storage: empty
|
// storage: empty
|
||||||
|
@ -20,7 +20,7 @@ contract c {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// test() -> 20, 10
|
// test() -> 20, 10
|
||||||
// gas irOptimized: 374254
|
// gas irOptimized: 369920
|
||||||
// gas legacy: 320859
|
// gas legacy: 320859
|
||||||
// gas legacyOptimized: 314681
|
// gas legacyOptimized: 314681
|
||||||
// storage: empty
|
// storage: empty
|
||||||
|
@ -12,6 +12,6 @@ contract c {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// test() -> 0x20, 29, 0x0303030303030303030303030303030303030303030303030303030303000000
|
// test() -> 0x20, 29, 0x0303030303030303030303030303030303030303030303030303030303000000
|
||||||
// gas irOptimized: 163879
|
// gas irOptimized: 163643
|
||||||
// gas legacy: 245809
|
// gas legacy: 245809
|
||||||
// gas legacyOptimized: 242636
|
// gas legacyOptimized: 242636
|
||||||
|
@ -18,7 +18,7 @@ contract c {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// test() -> true
|
// test() -> true
|
||||||
// gas irOptimized: 460283
|
// gas irOptimized: 455964
|
||||||
// gas legacy: 552064
|
// gas legacy: 552064
|
||||||
// gas legacyOptimized: 533164
|
// gas legacyOptimized: 533164
|
||||||
// storage: empty
|
// storage: empty
|
||||||
|
@ -17,7 +17,7 @@ contract c {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// test() ->
|
// test() ->
|
||||||
// gas irOptimized: 302142
|
// gas irOptimized: 300920
|
||||||
// gas legacy: 372763
|
// gas legacy: 372763
|
||||||
// gas legacyOptimized: 366846
|
// gas legacyOptimized: 366846
|
||||||
// storage: empty
|
// storage: empty
|
||||||
|
@ -12,6 +12,6 @@ contract c {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// test() -> 0x20, 33, 0x303030303030303030303030303030303030303030303030303030303030303, 0x0300000000000000000000000000000000000000000000000000000000000000
|
// test() -> 0x20, 33, 0x303030303030303030303030303030303030303030303030303030303030303, 0x0300000000000000000000000000000000000000000000000000000000000000
|
||||||
// gas irOptimized: 161236
|
// gas irOptimized: 160975
|
||||||
// gas legacy: 243287
|
// gas legacy: 243287
|
||||||
// gas legacyOptimized: 240361
|
// gas legacyOptimized: 240361
|
||||||
|
@ -18,6 +18,6 @@ contract c {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// test() -> 5, 4, 3, 3
|
// test() -> 5, 4, 3, 3
|
||||||
// gas irOptimized: 116387
|
// gas irOptimized: 111041
|
||||||
// gas legacy: 111938
|
// gas legacy: 111938
|
||||||
// gas legacyOptimized: 110528
|
// gas legacyOptimized: 110528
|
||||||
|
@ -14,6 +14,6 @@ contract C {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// f(uint120[]): 0x20, 3, 1, 2, 3 -> 1
|
// f(uint120[]): 0x20, 3, 1, 2, 3 -> 1
|
||||||
// gas irOptimized: 116591
|
// gas irOptimized: 116414
|
||||||
// gas legacy: 116886
|
// gas legacy: 116886
|
||||||
// gas legacyOptimized: 116699
|
// gas legacyOptimized: 116699
|
||||||
|
@ -16,6 +16,6 @@ contract c {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// test() -> 1, 2, 3, 4
|
// test() -> 1, 2, 3, 4
|
||||||
// gas irOptimized: 112751
|
// gas irOptimized: 112131
|
||||||
// gas legacy: 107098
|
// gas legacy: 107098
|
||||||
// gas legacyOptimized: 106362
|
// gas legacyOptimized: 106362
|
||||||
|
@ -22,6 +22,6 @@ contract c {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// test() -> 2, 3, 4, 5
|
// test() -> 2, 3, 4, 5
|
||||||
// gas irOptimized: 147373
|
// gas irOptimized: 146426
|
||||||
// gas legacy: 190684
|
// gas legacy: 190684
|
||||||
// gas legacyOptimized: 188256
|
// gas legacyOptimized: 188256
|
||||||
|
@ -18,6 +18,6 @@ contract c {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// test((uint16,uint16,uint16[3],uint16[])): 0x20, 2, 3, 0, 0, 4, 0xC0, 4, 0, 0, 5, 0, 0 -> 2, 3, 4, 5
|
// test((uint16,uint16,uint16[3],uint16[])): 0x20, 2, 3, 0, 0, 4, 0xC0, 4, 0, 0, 5, 0, 0 -> 2, 3, 4, 5
|
||||||
// gas irOptimized: 148644
|
// gas irOptimized: 148261
|
||||||
// gas legacy: 152444
|
// gas legacy: 152444
|
||||||
// gas legacyOptimized: 146671
|
// gas legacyOptimized: 146671
|
||||||
|
@ -17,6 +17,6 @@ contract c {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// test() -> 0
|
// test() -> 0
|
||||||
// gas irOptimized: 397892
|
// gas irOptimized: 396112
|
||||||
// gas legacy: 565428
|
// gas legacy: 565428
|
||||||
// gas legacyOptimized: 552524
|
// gas legacyOptimized: 552524
|
||||||
|
@ -29,14 +29,14 @@ contract C {
|
|||||||
// ----
|
// ----
|
||||||
// l() -> 0
|
// l() -> 0
|
||||||
// f(uint256,uint256): 42, 64 ->
|
// f(uint256,uint256): 42, 64 ->
|
||||||
// gas irOptimized: 202796
|
// gas irOptimized: 202728
|
||||||
// gas legacy: 163034
|
// gas legacy: 163034
|
||||||
// gas legacyOptimized: 157045
|
// gas legacyOptimized: 157045
|
||||||
// l() -> 1
|
// l() -> 1
|
||||||
// ll(uint256): 0 -> 43
|
// ll(uint256): 0 -> 43
|
||||||
// a(uint256,uint256): 0, 42 -> 64
|
// a(uint256,uint256): 0, 42 -> 64
|
||||||
// f(uint256,uint256): 84, 128 ->
|
// f(uint256,uint256): 84, 128 ->
|
||||||
// gas irOptimized: 299012
|
// gas irOptimized: 298944
|
||||||
// gas legacy: 222080
|
// gas legacy: 222080
|
||||||
// gas legacyOptimized: 210631
|
// gas legacyOptimized: 210631
|
||||||
// l() -> 2
|
// l() -> 2
|
||||||
|
@ -23,7 +23,7 @@ contract C {
|
|||||||
// ----
|
// ----
|
||||||
// l() -> 0
|
// l() -> 0
|
||||||
// g(uint256): 70 ->
|
// g(uint256): 70 ->
|
||||||
// gas irOptimized: 433438
|
// gas irOptimized: 428840
|
||||||
// gas legacy: 419791
|
// gas legacy: 419791
|
||||||
// gas legacyOptimized: 415408
|
// gas legacyOptimized: 415408
|
||||||
// l() -> 70
|
// l() -> 70
|
||||||
|
@ -26,6 +26,6 @@ contract Main {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// f(uint256): 0x34 -> 0x46bddb1178e94d7f2892ff5f366840eb658911794f2c3a44c450aa2c505186c1
|
// f(uint256): 0x34 -> 0x46bddb1178e94d7f2892ff5f366840eb658911794f2c3a44c450aa2c505186c1
|
||||||
// gas irOptimized: 117287
|
// gas irOptimized: 117113
|
||||||
// gas legacy: 127152
|
// gas legacy: 127152
|
||||||
// gas legacyOptimized: 113679
|
// gas legacyOptimized: 113679
|
||||||
|
@ -26,6 +26,6 @@ contract Creator {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// f(uint256,address[]): 7, 0x40, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 -> 7, 8
|
// f(uint256,address[]): 7, 0x40, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 -> 7, 8
|
||||||
// gas irOptimized: 472714
|
// gas irOptimized: 479282
|
||||||
// gas legacy: 570900
|
// gas legacy: 570900
|
||||||
// gas legacyOptimized: 435524
|
// gas legacyOptimized: 435524
|
||||||
|
@ -26,6 +26,6 @@ contract Creator {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// f(uint256,bytes): 7, 0x40, 78, "abcdefghijklmnopqrstuvwxyzabcdef", "ghijklmnopqrstuvwxyzabcdefghijkl", "mnopqrstuvwxyz" -> 7, "h"
|
// f(uint256,bytes): 7, 0x40, 78, "abcdefghijklmnopqrstuvwxyzabcdef", "ghijklmnopqrstuvwxyzabcdefghijkl", "mnopqrstuvwxyz" -> 7, "h"
|
||||||
// gas irOptimized: 335239
|
// gas irOptimized: 341858
|
||||||
// gas legacy: 414850
|
// gas legacy: 414850
|
||||||
// gas legacyOptimized: 290278
|
// gas legacyOptimized: 290278
|
||||||
|
@ -19,6 +19,6 @@ contract C {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// f(), 2000 ether -> true
|
// f(), 2000 ether -> true
|
||||||
// gas irOptimized: 123853
|
// gas irOptimized: 123796
|
||||||
// gas legacy: 123226
|
// gas legacy: 123226
|
||||||
// gas legacyOptimized: 123092
|
// gas legacyOptimized: 123092
|
||||||
|
@ -178,33 +178,33 @@ contract DepositContract is IDepositContract, ERC165 {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// constructor()
|
// constructor()
|
||||||
// gas irOptimized: 1813273
|
// gas irOptimized: 1828768
|
||||||
// gas legacy: 2558004
|
// gas legacy: 2558004
|
||||||
// gas legacyOptimized: 1806764
|
// gas legacyOptimized: 1797889
|
||||||
// supportsInterface(bytes4): 0x0 -> 0
|
// supportsInterface(bytes4): 0x0 -> 0
|
||||||
// supportsInterface(bytes4): 0xffffffff00000000000000000000000000000000000000000000000000000000 -> false # defined to be false by ERC-165 #
|
// supportsInterface(bytes4): 0xffffffff00000000000000000000000000000000000000000000000000000000 -> false # defined to be false by ERC-165 #
|
||||||
// supportsInterface(bytes4): 0x01ffc9a700000000000000000000000000000000000000000000000000000000 -> true # ERC-165 id #
|
// supportsInterface(bytes4): 0x01ffc9a700000000000000000000000000000000000000000000000000000000 -> true # ERC-165 id #
|
||||||
// supportsInterface(bytes4): 0x8564090700000000000000000000000000000000000000000000000000000000 -> true # the deposit interface id #
|
// supportsInterface(bytes4): 0x8564090700000000000000000000000000000000000000000000000000000000 -> true # the deposit interface id #
|
||||||
// get_deposit_root() -> 0xd70a234731285c6804c2a4f56711ddb8c82c99740f207854891028af34e27e5e
|
// get_deposit_root() -> 0xd70a234731285c6804c2a4f56711ddb8c82c99740f207854891028af34e27e5e
|
||||||
// gas irOptimized: 107525
|
// gas irOptimized: 104470
|
||||||
// gas legacy: 128065
|
// gas legacy: 128065
|
||||||
// gas legacyOptimized: 100398
|
// gas legacyOptimized: 100398
|
||||||
// get_deposit_count() -> 0x20, 8, 0 # TODO: check balance and logs after each deposit #
|
// get_deposit_count() -> 0x20, 8, 0 # TODO: check balance and logs after each deposit #
|
||||||
// deposit(bytes,bytes,bytes,bytes32), 32 ether: 0 -> FAILURE # Empty input #
|
// deposit(bytes,bytes,bytes,bytes32), 32 ether: 0 -> FAILURE # Empty input #
|
||||||
// get_deposit_root() -> 0xd70a234731285c6804c2a4f56711ddb8c82c99740f207854891028af34e27e5e
|
// get_deposit_root() -> 0xd70a234731285c6804c2a4f56711ddb8c82c99740f207854891028af34e27e5e
|
||||||
// gas irOptimized: 107525
|
// gas irOptimized: 104470
|
||||||
// gas legacy: 128065
|
// gas legacy: 128065
|
||||||
// gas legacyOptimized: 100398
|
// gas legacyOptimized: 100398
|
||||||
// get_deposit_count() -> 0x20, 8, 0
|
// get_deposit_count() -> 0x20, 8, 0
|
||||||
// deposit(bytes,bytes,bytes,bytes32), 1 ether: 0x80, 0xe0, 0x120, 0xaa4a8d0b7d9077248630f1a4701ae9764e42271d7f22b7838778411857fd349e, 0x30, 0x933ad9491b62059dd065b560d256d8957a8c402cc6e8d8ee7290ae11e8f73292, 0x67a8811c397529dac52ae1342ba58c9500000000000000000000000000000000, 0x20, 0x00f50428677c60f997aadeab24aabf7fceaef491c96a52b463ae91f95611cf71, 0x60, 0xa29d01cc8c6296a8150e515b5995390ef841dc18948aa3e79be6d7c1851b4cbb, 0x5d6ff49fa70b9c782399506a22a85193151b9b691245cebafd2063012443c132, 0x4b6c36debaedefb7b2d71b0503ffdc00150aaffd42e63358238ec888901738b8 -> # txhash: 0x7085c586686d666e8bb6e9477a0f0b09565b2060a11f1c4209d3a52295033832 #
|
// deposit(bytes,bytes,bytes,bytes32), 1 ether: 0x80, 0xe0, 0x120, 0xaa4a8d0b7d9077248630f1a4701ae9764e42271d7f22b7838778411857fd349e, 0x30, 0x933ad9491b62059dd065b560d256d8957a8c402cc6e8d8ee7290ae11e8f73292, 0x67a8811c397529dac52ae1342ba58c9500000000000000000000000000000000, 0x20, 0x00f50428677c60f997aadeab24aabf7fceaef491c96a52b463ae91f95611cf71, 0x60, 0xa29d01cc8c6296a8150e515b5995390ef841dc18948aa3e79be6d7c1851b4cbb, 0x5d6ff49fa70b9c782399506a22a85193151b9b691245cebafd2063012443c132, 0x4b6c36debaedefb7b2d71b0503ffdc00150aaffd42e63358238ec888901738b8 -> # txhash: 0x7085c586686d666e8bb6e9477a0f0b09565b2060a11f1c4209d3a52295033832 #
|
||||||
// get_deposit_root() -> 0x2089653123d9c721215120b6db6738ba273bbc5228ac093b1f983badcdc8a438
|
// get_deposit_root() -> 0x2089653123d9c721215120b6db6738ba273bbc5228ac093b1f983badcdc8a438
|
||||||
// gas irOptimized: 107535
|
// gas irOptimized: 104474
|
||||||
// gas legacy: 128075
|
// gas legacy: 128075
|
||||||
// gas legacyOptimized: 100411
|
// gas legacyOptimized: 100411
|
||||||
// get_deposit_count() -> 0x20, 8, 0x0100000000000000000000000000000000000000000000000000000000000000
|
// get_deposit_count() -> 0x20, 8, 0x0100000000000000000000000000000000000000000000000000000000000000
|
||||||
// deposit(bytes,bytes,bytes,bytes32), 32 ether: 0x80, 0xe0, 0x120, 0xdbd986dc85ceb382708cf90a3500f500f0a393c5ece76963ac3ed72eccd2c301, 0x30, 0xb2ce0f79f90e7b3a113ca5783c65756f96c4b4673c2b5c1eb4efc22280259441, 0x06d601211e8866dc5b50dc48a244dd7c00000000000000000000000000000000, 0x20, 0x00344b6c73f71b11c56aba0d01b7d8ad83559f209d0a4101a515f6ad54c89771, 0x60, 0x945caaf82d18e78c033927d51f452ebcd76524497b91d7a11219cb3db6a1d369, 0x7595fc095ce489e46b2ef129591f2f6d079be4faaf345a02c5eb133c072e7c56, 0x0c6c3617eee66b4b878165c502357d49485326bc6b31bc96873f308c8f19c09d -> # txhash: 0x404d8e109822ce448e68f45216c12cb051b784d068fbe98317ab8e50c58304ac #
|
// deposit(bytes,bytes,bytes,bytes32), 32 ether: 0x80, 0xe0, 0x120, 0xdbd986dc85ceb382708cf90a3500f500f0a393c5ece76963ac3ed72eccd2c301, 0x30, 0xb2ce0f79f90e7b3a113ca5783c65756f96c4b4673c2b5c1eb4efc22280259441, 0x06d601211e8866dc5b50dc48a244dd7c00000000000000000000000000000000, 0x20, 0x00344b6c73f71b11c56aba0d01b7d8ad83559f209d0a4101a515f6ad54c89771, 0x60, 0x945caaf82d18e78c033927d51f452ebcd76524497b91d7a11219cb3db6a1d369, 0x7595fc095ce489e46b2ef129591f2f6d079be4faaf345a02c5eb133c072e7c56, 0x0c6c3617eee66b4b878165c502357d49485326bc6b31bc96873f308c8f19c09d -> # txhash: 0x404d8e109822ce448e68f45216c12cb051b784d068fbe98317ab8e50c58304ac #
|
||||||
// get_deposit_root() -> 0x40255975859377d912c53aa853245ebd939bdd2b33a28e084babdcc1ed8238ee
|
// get_deposit_root() -> 0x40255975859377d912c53aa853245ebd939bdd2b33a28e084babdcc1ed8238ee
|
||||||
// gas irOptimized: 107535
|
// gas irOptimized: 104474
|
||||||
// gas legacy: 128075
|
// gas legacy: 128075
|
||||||
// gas legacyOptimized: 100411
|
// gas legacyOptimized: 100411
|
||||||
// get_deposit_count() -> 0x20, 8, 0x0200000000000000000000000000000000000000000000000000000000000000
|
// get_deposit_count() -> 0x20, 8, 0x0200000000000000000000000000000000000000000000000000000000000000
|
||||||
|
@ -296,6 +296,6 @@ contract Test {
|
|||||||
// g() -> true
|
// g() -> true
|
||||||
// pair() -> true
|
// pair() -> true
|
||||||
// verifyTx() -> true
|
// verifyTx() -> true
|
||||||
// gas irOptimized: 145824
|
// gas irOptimized: 129963
|
||||||
// gas legacy: 130571
|
// gas legacy: 130571
|
||||||
// gas legacyOptimized: 100147
|
// gas legacyOptimized: 100147
|
||||||
|
@ -18,7 +18,7 @@ contract C {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// constructor(), 20 wei
|
// constructor(), 20 wei
|
||||||
// gas irOptimized: 232551
|
// gas irOptimized: 265125
|
||||||
// gas legacy: 285485
|
// gas legacy: 285485
|
||||||
// gas legacyOptimized: 177957
|
// gas legacyOptimized: 177957
|
||||||
// f(uint256): 20 -> 1370859564726510389319704988634906228201275401179
|
// f(uint256): 20 -> 1370859564726510389319704988634906228201275401179
|
||||||
@ -26,7 +26,7 @@ contract C {
|
|||||||
// f(uint256): 20 -> FAILURE
|
// f(uint256): 20 -> FAILURE
|
||||||
// x() -> 1
|
// x() -> 1
|
||||||
// stack(uint256): 1023 -> FAILURE
|
// stack(uint256): 1023 -> FAILURE
|
||||||
// gas irOptimized: 835314
|
// gas irOptimized: 853785
|
||||||
// gas legacy: 981671
|
// gas legacy: 981671
|
||||||
// gas legacyOptimized: 824895
|
// gas legacyOptimized: 824895
|
||||||
// x() -> 1
|
// x() -> 1
|
||||||
|
@ -20,7 +20,7 @@ contract test {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// set(uint8,uint8,uint8,uint8,uint8): 1, 21, 22, 42, 43 -> 0, 0, 0, 0
|
// set(uint8,uint8,uint8,uint8,uint8): 1, 21, 22, 42, 43 -> 0, 0, 0, 0
|
||||||
// gas irOptimized: 110993
|
// gas irOptimized: 110073
|
||||||
// gas legacy: 111406
|
// gas legacy: 111406
|
||||||
// gas legacyOptimized: 107981
|
// gas legacyOptimized: 107981
|
||||||
// get(uint8): 1 -> 21, 22, 42, 43
|
// get(uint8): 1 -> 21, 22, 42, 43
|
||||||
|
@ -28,6 +28,6 @@ contract C {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// t() -> 9
|
// t() -> 9
|
||||||
// gas irOptimized: 124896
|
// gas irOptimized: 121044
|
||||||
// gas legacy: 161097
|
// gas legacy: 161097
|
||||||
// gas legacyOptimized: 111516
|
// gas legacyOptimized: 111516
|
||||||
|
@ -29,7 +29,7 @@ contract C {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// f() -> 3, 7, 5
|
// f() -> 3, 7, 5
|
||||||
// gas irOptimized: 133517
|
// gas irOptimized: 133434
|
||||||
// gas legacy: 153990
|
// gas legacy: 153990
|
||||||
// gas legacyOptimized: 127822
|
// gas legacyOptimized: 127822
|
||||||
// x() -> 7
|
// x() -> 7
|
||||||
|
@ -23,8 +23,8 @@ contract D {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// f() -> 1
|
// f() -> 1
|
||||||
// gas irOptimized: 111246
|
// gas irOptimized: 98658
|
||||||
// gas legacy: 114412
|
// gas legacy: 114412
|
||||||
// g() -> 5
|
// g() -> 5
|
||||||
// gas irOptimized: 111379
|
// gas irOptimized: 98760
|
||||||
// gas legacy: 114872
|
// gas legacy: 114872
|
||||||
|
@ -25,5 +25,5 @@ contract B {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// g() -> 42
|
// g() -> 42
|
||||||
// gas irOptimized: 107173
|
// gas irOptimized: 102803
|
||||||
// gas legacy: 117797
|
// gas legacy: 117797
|
||||||
|
@ -25,6 +25,6 @@ contract B {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// g() -> 42
|
// g() -> 42
|
||||||
// gas irOptimized: 127215
|
// gas irOptimized: 134269
|
||||||
// gas legacy: 180597
|
// gas legacy: 180597
|
||||||
// gas legacyOptimized: 116351
|
// gas legacyOptimized: 116351
|
||||||
|
@ -37,10 +37,10 @@ contract C {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// convertParent() -> 1
|
// convertParent() -> 1
|
||||||
// gas irOptimized: 122356
|
// gas irOptimized: 123220
|
||||||
// convertSubA() -> 1, 2
|
// convertSubA() -> 1, 2
|
||||||
// gas irOptimized: 124555
|
// gas irOptimized: 125366
|
||||||
// gas legacy: 101703
|
// gas legacy: 101703
|
||||||
// convertSubB() -> 1, 3
|
// convertSubB() -> 1, 3
|
||||||
// gas irOptimized: 124489
|
// gas irOptimized: 125300
|
||||||
// gas legacy: 101637
|
// gas legacy: 101637
|
||||||
|
@ -22,6 +22,6 @@ contract A {
|
|||||||
// ----
|
// ----
|
||||||
// different_salt() -> true
|
// different_salt() -> true
|
||||||
// same_salt() -> true
|
// same_salt() -> true
|
||||||
// gas irOptimized: 98439083
|
// gas irOptimized: 98439037
|
||||||
// gas legacy: 98439116
|
// gas legacy: 98439116
|
||||||
// gas legacyOptimized: 98438970
|
// gas legacyOptimized: 98438970
|
||||||
|
@ -22,6 +22,6 @@ contract A {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// f(), 10 ether -> 3007, 3008, 3009
|
// f(), 10 ether -> 3007, 3008, 3009
|
||||||
// gas irOptimized: 338630
|
// gas irOptimized: 327566
|
||||||
// gas legacy: 422027
|
// gas legacy: 422027
|
||||||
// gas legacyOptimized: 287256
|
// gas legacyOptimized: 287256
|
||||||
|
@ -46,6 +46,6 @@ contract C {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// test() -> true
|
// test() -> true
|
||||||
// gas irOptimized: 143682
|
// gas irOptimized: 143351
|
||||||
// gas legacy: 143536
|
// gas legacy: 143536
|
||||||
// gas legacyOptimized: 133280
|
// gas legacyOptimized: 133280
|
||||||
|
@ -18,6 +18,6 @@ contract C {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// f(uint32,(uint128,uint256[][2],uint32)): 55, 0x40, 77, 0x60, 88, 0x40, 0x40, 2, 1, 2 -> 55, 77, 1, 2, 88
|
// f(uint32,(uint128,uint256[][2],uint32)): 55, 0x40, 77, 0x60, 88, 0x40, 0x40, 2, 1, 2 -> 55, 77, 1, 2, 88
|
||||||
// gas irOptimized: 202389
|
// gas irOptimized: 198007
|
||||||
// gas legacy: 205149
|
// gas legacy: 205149
|
||||||
// gas legacyOptimized: 200512
|
// gas legacyOptimized: 196983
|
||||||
|
@ -25,4 +25,4 @@ contract CopyTest {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// run() -> 2, 23, 42
|
// run() -> 2, 23, 42
|
||||||
// gas irOptimized: 114638
|
// gas irOptimized: 112957
|
||||||
|
@ -68,7 +68,7 @@ contract Test {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// load() -> 0x01, 0x02, 0x03, 0x04, 0x05, 0x06
|
// load() -> 0x01, 0x02, 0x03, 0x04, 0x05, 0x06
|
||||||
// gas irOptimized: 112329
|
// gas irOptimized: 111603
|
||||||
// gas legacy: 113999
|
// gas legacy: 113999
|
||||||
// gas legacyOptimized: 106281
|
// gas legacyOptimized: 106281
|
||||||
// store() -> 0x01, 0x02, 0x03, 0x04, 0x05, 0x06
|
// store() -> 0x01, 0x02, 0x03, 0x04, 0x05, 0x06
|
||||||
|
@ -25,7 +25,7 @@ contract c {
|
|||||||
// ----
|
// ----
|
||||||
// storage: empty
|
// storage: empty
|
||||||
// set(uint256,bytes,uint256): 12, 0x60, 13, 33, "12345678901234567890123456789012", "3" -> true
|
// set(uint256,bytes,uint256): 12, 0x60, 13, 33, "12345678901234567890123456789012", "3" -> true
|
||||||
// gas irOptimized: 124416
|
// gas irOptimized: 124337
|
||||||
// gas legacy: 124736
|
// gas legacy: 124736
|
||||||
// gas legacyOptimized: 124179
|
// gas legacyOptimized: 124179
|
||||||
// test(uint256): 32 -> "3"
|
// test(uint256): 32 -> "3"
|
||||||
|
@ -38,12 +38,12 @@ contract c {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// set(uint256): 7 -> true
|
// set(uint256): 7 -> true
|
||||||
// gas irOptimized: 101963
|
// gas irOptimized: 101915
|
||||||
// gas legacy: 102216
|
// gas legacy: 102216
|
||||||
// gas legacyOptimized: 101606
|
// gas legacyOptimized: 101606
|
||||||
// retrieve(uint256): 7 -> 1, 3, 4, 2
|
// retrieve(uint256): 7 -> 1, 3, 4, 2
|
||||||
// copy(uint256,uint256): 7, 8 -> true
|
// copy(uint256,uint256): 7, 8 -> true
|
||||||
// gas irOptimized: 105289
|
// gas irOptimized: 105232
|
||||||
// gas legacy: 105566
|
// gas legacy: 105566
|
||||||
// gas legacyOptimized: 105022
|
// gas legacyOptimized: 105022
|
||||||
// retrieve(uint256): 7 -> 1, 3, 4, 2
|
// retrieve(uint256): 7 -> 1, 3, 4, 2
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user