Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into matthias/saner
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasgoergens committed Dec 16, 2024
2 parents 1c4077e + 09d0dbe commit 5bc6215
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion ceno_zkvm/src/instructions/riscv/arith_imm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ impl<E: ExtensionField> Instruction<E> for AddiInstruction<E> {
let i_insn = IInstructionConfig::<E>::construct_circuit(
circuit_builder,
Self::INST_KIND,
&imm.value(),
imm.value(),
rs1_read.register_expr(),
rd_written.register_expr(),
false,
Expand Down
2 changes: 1 addition & 1 deletion ceno_zkvm/src/instructions/riscv/i_insn.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ impl<E: ExtensionField> IInstructionConfig<E> {
pub fn construct_circuit(
circuit_builder: &mut CircuitBuilder<E>,
insn_kind: InsnKind,
imm: &Expression<E>,
imm: Expression<E>,
rs1_read: RegisterExpr<E>,
rd_written: RegisterExpr<E>,
branching: bool,
Expand Down
2 changes: 1 addition & 1 deletion ceno_zkvm/src/instructions/riscv/jump/jalr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ impl<E: ExtensionField> Instruction<E> for JalrInstruction<E> {
let i_insn = IInstructionConfig::construct_circuit(
circuit_builder,
InsnKind::JALR,
&imm.expr(),
imm.expr(),
rs1_read.register_expr(),
rd_written.register_expr(),
true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ impl<E: ExtensionField> LogicConfig<E> {
let i_insn = IInstructionConfig::<E>::construct_circuit(
cb,
insn_kind,
&imm.value(),
imm.value(),
rs1_read.register_expr(),
rd_written.register_expr(),
false,
Expand Down
2 changes: 1 addition & 1 deletion ceno_zkvm/src/instructions/riscv/shift_imm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ impl<E: ExtensionField, I: RIVInstruction> Instruction<E> for ShiftImmInstructio
let i_insn = IInstructionConfig::<E>::construct_circuit(
circuit_builder,
I::INST_KIND,
&imm.expr(),
imm.expr(),
rs1_read.register_expr(),
rd_written.register_expr(),
false,
Expand Down
2 changes: 1 addition & 1 deletion ceno_zkvm/src/instructions/riscv/slti.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ impl<E: ExtensionField, I: RIVInstruction> Instruction<E> for SetLessThanImmInst
let i_insn = IInstructionConfig::<E>::construct_circuit(
cb,
I::INST_KIND,
&imm.expr(),
imm.expr(),
rs1_read.register_expr(),
rd_written.register_expr(),
false,
Expand Down

0 comments on commit 5bc6215

Please sign in to comment.