Skip to content

Commit

Permalink
Add mldv bench (#1481)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dentosal authored Nov 10, 2023
1 parent ab440ee commit 3503e53
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions benches/benches/vm_set/alu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,16 @@ pub fn run(c: &mut Criterion) {
.with_prepare_script(vec![op::movi(0x11, 100000), op::movi(0x12, 27)]),
);

run_group_ref(
&mut c.benchmark_group("mldv"),
"mldv",
VmBench::new(op::mldv(0x10, 0x11, 0x12, 0x13)).with_prepare_script(vec![
op::movi(0x11, 1234567),
op::not(0x12, RegId::ZERO),
op::movi(0x13, 3456789),
]),
);

run_group_ref(
&mut c.benchmark_group("mlog"),
"mlog",
Expand Down

0 comments on commit 3503e53

Please sign in to comment.