From 1ddda6614a929ea141755d20a09f564d80e63b99 Mon Sep 17 00:00:00 2001 From: taitep Date: Mon, 22 Dec 2025 19:25:19 +0100 Subject: Implement AND and improve formatting and ordering in rvi.rs --- src/instructions.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/instructions.rs') diff --git a/src/instructions.rs b/src/instructions.rs index c9c1c52..3096ed0 100644 --- a/src/instructions.rs +++ b/src/instructions.rs @@ -16,6 +16,7 @@ pub(crate) fn find_and_exec(instr: Instruction, core: &mut Core) -> Option match (instr.funct7(), instr.funct3()) { // OP (0b0000000, 0b000) => Some(rvi::add(core, instr)), + (0b0000000, 0b111) => Some(rvi::and(core, instr)), _ => None, }, 0b00100 => match instr.funct3() { -- cgit v1.2.3