Skip to content

Commit

Permalink
Merge pull request #150 from valida-xyz/sra-instruction
Browse files Browse the repository at this point in the history
Sra instruction in basic machine
  • Loading branch information
morganthomas authored Apr 11, 2024
2 parents afce235 + 07f28f3 commit 92b217a
Show file tree
Hide file tree
Showing 2 changed files with 86 additions and 0 deletions.
83 changes: 83 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions basic/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1122,6 +1122,9 @@ impl<F: PrimeField32 + TwoAdicField> Machine<F> for BasicMachine<F> {
<Shr32Instruction as Instruction<Self, F>>::OPCODE => {
Shr32Instruction::execute_with_advice::<Adv>(self, ops, advice)
}
<Sra32Instruction as Instruction<Self, F>>::OPCODE => {
Sra32Instruction::execute_with_advice::<Adv>(self, ops, advice)
}
<Lt32Instruction as Instruction<Self, F>>::OPCODE => {
Lt32Instruction::execute_with_advice::<Adv>(self, ops, advice)
}
Expand Down

0 comments on commit 92b217a

Please sign in to comment.