You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We allow #inline annotation for if inside a for loop for SCT checking. We need a checker which will ensure that these inline if's are resolved and removed before generating assembly code.
inline fn __keccak_rho_offsets(inline int i, #msf reg u64 ms) -> inline int, #msf reg u64
{
inline int r x y z t;
r = 0;
x = 1;
y = 0;
for t = 0 to 24 {
#inline if (i == x + 5 * y) { // this inline if should not be present in late stages of compilation
r = ((t + 1) * (t + 2) / 2) % 64;
}
z = (2 * x + 3 * y) % 5;
x = y;
y = z;
}
return r, ms;
}
The text was updated successfully, but these errors were encountered:
Branch: glob_array3_slh
We allow
#inline
annotation forif
inside afor
loop for SCT checking. We need a checker which will ensure that theseinline if
's are resolved and removed before generating assembly code.The text was updated successfully, but these errors were encountered: