Skip to content

Commit

Permalink
Merge pull request #1404 from o1-labs/feature/imperfect-instruction-p…
Browse files Browse the repository at this point in the history
…arsing

Add missing instructions in pre-fetcher
  • Loading branch information
dannywillems authored Dec 5, 2023
2 parents 6bf6ee4 + 00a7bdd commit c1cae67
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions optimism/src/mips/witness.rs
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,10 @@ impl<Fp: Field> Env<Fp> {
},
0x02 => Instruction::JType(JTypeInstruction::Jump),
0x03 => Instruction::JType(JTypeInstruction::JumpAndLink),
0x04 => Instruction::IType(ITypeInstruction::BranchEq),
0x05 => Instruction::IType(ITypeInstruction::BranchNeq),
0x06 => Instruction::IType(ITypeInstruction::BranchLeqZero),
0x07 => Instruction::IType(ITypeInstruction::BranchGtZero),
0x08 => Instruction::IType(ITypeInstruction::AddImmediate),
0x09 => Instruction::IType(ITypeInstruction::AddImmediateUnsigned),
0x0A => Instruction::IType(ITypeInstruction::SetLessThanImmediate),
Expand Down

0 comments on commit c1cae67

Please sign in to comment.