Skip to content

Commit

Permalink
Rename mod divu to mod div (#733)
Browse files Browse the repository at this point in the history
To make the diff for #596 easier
to read.
  • Loading branch information
matthiasgoergens authored Dec 11, 2024
1 parent c4e729a commit a879b84
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ceno_zkvm/src/instructions/riscv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pub mod arith_imm;
pub mod branch;
pub mod config;
pub mod constants;
pub mod divu;
pub mod div;
pub mod dummy;
pub mod ecall;
pub mod jump;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ mod test {
circuit_builder::{CircuitBuilder, ConstraintSystem},
instructions::{
Instruction,
riscv::{constants::UInt, divu::DivUInstruction},
riscv::{constants::UInt, div::DivUInstruction},
},
scheme::mock_prover::{MOCK_PC_START, MockProver},
};
Expand Down
4 changes: 2 additions & 2 deletions ceno_zkvm/src/instructions/riscv/rv32im.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use crate::{
branch::{
BeqInstruction, BgeInstruction, BgeuInstruction, BltInstruction, BneInstruction,
},
divu::DivUInstruction,
div::DivUInstruction,
logic::{AndInstruction, OrInstruction, XorInstruction},
logic_imm::{AndiInstruction, OriInstruction, XoriInstruction},
mul::MulhuInstruction,
Expand All @@ -27,7 +27,7 @@ use ceno_emul::{
InsnKind::{self, *},
Platform, StepRecord,
};
use divu::{DivDummy, RemDummy, RemuDummy};
use div::{DivDummy, RemDummy, RemuDummy};
use ecall::EcallDummy;
use ff_ext::ExtensionField;
use itertools::Itertools;
Expand Down

0 comments on commit a879b84

Please sign in to comment.