From 3503e539b8f1122e92cb20bd8f2624809c0ac871 Mon Sep 17 00:00:00 2001 From: Hannes Karppila Date: Fri, 10 Nov 2023 15:00:04 +0300 Subject: [PATCH] Add mldv bench (#1481) --- benches/benches/vm_set/alu.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/benches/benches/vm_set/alu.rs b/benches/benches/vm_set/alu.rs index 66dc7a2ef2b..0f9bfefc3d2 100644 --- a/benches/benches/vm_set/alu.rs +++ b/benches/benches/vm_set/alu.rs @@ -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",