Update tests.

This commit is contained in:
Djordje Mijovic
2021-03-10 14:22:30 +01:00
parent 63017bd510
commit b73e9f3eef
133 changed files with 502 additions and 37 deletions
@@ -57,8 +57,14 @@ contract C {
}
}
// ====
// compileViaYul: also
// EVMVersion: >homestead
// compileViaYul: also
// ----
// test_bytes() ->
// gas irOptimized: 516922
// gas legacy: 466763
// gas legacyOptimized: 374537
// test_uint256() ->
// gas irOptimized: 712790
// gas legacy: 634592
// gas legacyOptimized: 499481
@@ -53,3 +53,6 @@ contract C {
// f2() -> 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
// gas irOptimized: 110858
// gas legacy: 111328
// gas legacyOptimized: 109206
@@ -30,3 +30,6 @@ contract C is B {
// compileViaYul: also
// ----
// test() -> 77
// gas irOptimized: 139834
// gas legacy: 156573
// gas legacyOptimized: 112983
@@ -38,3 +38,4 @@ contract C is B {
// compileViaYul: also
// ----
// test() -> 5, 10
// gas legacy: 100441
@@ -15,9 +15,12 @@ contract C {
}
}
// ====
// compileViaYul: also
// EVMVersion: >homestead
// compileViaYul: also
// ----
// f(uint256[][1]): 32, 32, 0 -> true
// f(uint256[][1]): 32, 32, 1, 42 -> true
// f(uint256[][1]): 32, 32, 8, 421, 422, 423, 424, 425, 426, 427, 428 -> true
// gas irOptimized: 227663
// gas legacy: 144300
// gas legacyOptimized: 124199
@@ -15,8 +15,14 @@ contract C {
}
}
// ====
// compileViaYul: also
// EVMVersion: >homestead
// compileViaYul: also
// ----
// h(uint256[2][]): 0x20, 3, 123, 124, 223, 224, 323, 324 -> 32, 256, 0x20, 3, 123, 124, 223, 224, 323, 324
// gas irOptimized: 172714
// gas legacy: 175929
// gas legacyOptimized: 172506
// i(uint256[2][2]): 123, 124, 223, 224 -> 32, 128, 123, 124, 223, 224
// gas irOptimized: 107681
// gas legacy: 109868
// gas legacyOptimized: 107388