mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-03 22:33:06 +00:00
Fix sys_exp (#958)
This commit is contained in:
parent
923722b1e4
commit
5ac12de990
@ -73,7 +73,7 @@ recursion_return:
|
||||
jump
|
||||
|
||||
global sys_exp:
|
||||
// stack: x, e, return_info
|
||||
%stack (return_info, x, e) -> (x, e, return_info)
|
||||
push 0
|
||||
// stack: shift, x, e, return_info
|
||||
%jump(sys_exp_gas_loop_enter)
|
||||
@ -95,7 +95,7 @@ sys_exp_gas_loop_enter:
|
||||
%charge_gas
|
||||
|
||||
%stack(return_info, x, e) -> (x, e, sys_exp_return, return_info)
|
||||
jump exp
|
||||
%jump(exp)
|
||||
sys_exp_return:
|
||||
// stack: pow(x, e), return_info
|
||||
swap1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user