mirror of https://github.com/status-im/evmc.git
Set OP_EXP cost to HIGH
This commit is contained in:
parent
bfa5c5bf06
commit
2c83269f62
|
@ -32,7 +32,7 @@ static struct evmc_instruction_metrics constantinople_metrics[256] = {
|
|||
/* SMOD = 0x07 */ {LOW, 2, 1},
|
||||
/* ADDMOD = 0x08 */ {MID, 3, 1},
|
||||
/* MULMOD = 0x09 */ {MID, 3, 1},
|
||||
/* EXP = 0x0a */ {10, 2, 1},
|
||||
/* EXP = 0x0a */ {HIGH, 2, 1},
|
||||
/* SIGNEXTEND = 0x0b */ {LOW, 2, 1},
|
||||
/* = 0x0c */ {UNDEFINED, 0, 0},
|
||||
/* = 0x0d */ {UNDEFINED, 0, 0},
|
||||
|
@ -291,7 +291,7 @@ static struct evmc_instruction_metrics byzantium_metrics[256] = {
|
|||
/* SMOD = 0x07 */ {LOW, 2, 1},
|
||||
/* ADDMOD = 0x08 */ {MID, 3, 1},
|
||||
/* MULMOD = 0x09 */ {MID, 3, 1},
|
||||
/* EXP = 0x0a */ {10, 2, 1},
|
||||
/* EXP = 0x0a */ {HIGH, 2, 1},
|
||||
/* SIGNEXTEND = 0x0b */ {LOW, 2, 1},
|
||||
/* = 0x0c */ {UNDEFINED, 0, 0},
|
||||
/* = 0x0d */ {UNDEFINED, 0, 0},
|
||||
|
@ -550,7 +550,7 @@ static struct evmc_instruction_metrics tangerine_whistle_metrics[256] = {
|
|||
/* SMOD = 0x07 */ {LOW, 2, 1},
|
||||
/* ADDMOD = 0x08 */ {MID, 3, 1},
|
||||
/* MULMOD = 0x09 */ {MID, 3, 1},
|
||||
/* EXP = 0x0a */ {10, 2, 1},
|
||||
/* EXP = 0x0a */ {HIGH, 2, 1},
|
||||
/* SIGNEXTEND = 0x0b */ {LOW, 2, 1},
|
||||
/* = 0x0c */ {UNDEFINED, 0, 0},
|
||||
/* = 0x0d */ {UNDEFINED, 0, 0},
|
||||
|
@ -809,7 +809,7 @@ static struct evmc_instruction_metrics homestead_metrics[256] = {
|
|||
/* SMOD = 0x07 */ {LOW, 2, 1},
|
||||
/* ADDMOD = 0x08 */ {MID, 3, 1},
|
||||
/* MULMOD = 0x09 */ {MID, 3, 1},
|
||||
/* EXP = 0x0a */ {10, 2, 1},
|
||||
/* EXP = 0x0a */ {HIGH, 2, 1},
|
||||
/* SIGNEXTEND = 0x0b */ {LOW, 2, 1},
|
||||
/* = 0x0c */ {UNDEFINED, 0, 0},
|
||||
/* = 0x0d */ {UNDEFINED, 0, 0},
|
||||
|
@ -1068,7 +1068,7 @@ static struct evmc_instruction_metrics frontier_metrics[256] = {
|
|||
/* SMOD = 0x07 */ {LOW, 2, 1},
|
||||
/* ADDMOD = 0x08 */ {MID, 3, 1},
|
||||
/* MULMOD = 0x09 */ {MID, 3, 1},
|
||||
/* EXP = 0x0a */ {10, 2, 1},
|
||||
/* EXP = 0x0a */ {HIGH, 2, 1},
|
||||
/* SIGNEXTEND = 0x0b */ {LOW, 2, 1},
|
||||
/* = 0x0c */ {UNDEFINED, 0, 0},
|
||||
/* = 0x0d */ {UNDEFINED, 0, 0},
|
||||
|
|
Loading…
Reference in New Issue