Skip to content

Commit

Permalink
disable immediate value constraint
Browse files Browse the repository at this point in the history
  • Loading branch information
morganthomas committed Feb 14, 2024
1 parent 766b5e5 commit e4c4ece
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cpu/src/stark.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ where

// Immediate value constraints (TODO: we'd need to range check read_value_2 in
// this case)
builder.when(local.opcode_flags.is_imm_op).assert_eq(
local.instruction.operands.c(),
reduce::<AB>(&base, local.read_value_2()),
);
// builder.when(local.opcode_flags.is_imm_op).assert_eq(
// local.instruction.operands.c(),
// reduce::<AB>(&base, local.read_value_2()),
// );

// "Stop" constraints (to check that program execution was not stopped prematurely)
builder
Expand Down

0 comments on commit e4c4ece

Please sign in to comment.