Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 6707734

Browse files
committedMar 4, 2025·
Using tmp3_col for configuring the output.
1 parent 50fa458 commit 6707734

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎riscv/src/large_field/runtime.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -280,8 +280,8 @@ impl Runtime {
280280
[r#"instr poseidon2_gl X, Y, Z
281281
link ~> tmp1_col = regs.mload(X, STEP)
282282
link ~> tmp2_col = regs.mload(Y, STEP + 1)
283-
link ~> tmp?_col = regs.mload(Z, STEP + 2)
284-
link ~> poseidon2_gl.permute(tmp1_col, STEP, tmp2_col, STEP + 1, tmp?_col)
283+
link ~> tmp3_col = regs.mload(Z, STEP + 2)
284+
link ~> poseidon2_gl.permute(tmp1_col, STEP, tmp2_col, STEP + 1, tmp3_col)
285285
{
286286
// make sure tmp1_col and tmp2_col are 4-byte aligned memory addresses
287287
tmp1_col = 4 * (X_b1 + X_b2 * 0x100 + X_b3 * 0x10000 + X_b4 * 0x1000000),

0 commit comments

Comments
 (0)
Please sign in to comment.