summaryrefslogtreecommitdiff
path: root/src/instructions/opcodes.rs
diff options
context:
space:
mode:
authortaitep <taitep@taitep.se>2025-10-14 18:21:28 +0200
committertaitep <taitep@taitep.se>2025-10-14 18:21:28 +0200
commit7a519924cb15f16a683782391e70a6e34700612a (patch)
treee53218460f0a357f3e1ceb7d524258999b0802d4 /src/instructions/opcodes.rs
parent6bd31e73fb910d59066adeb11b9d85411e2c743e (diff)
Move funct3 values to rvi.rs instead of being in opcodes.rs
Diffstat (limited to 'src/instructions/opcodes.rs')
-rw-r--r--src/instructions/opcodes.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/instructions/opcodes.rs b/src/instructions/opcodes.rs
index 04059a2..7115820 100644
--- a/src/instructions/opcodes.rs
+++ b/src/instructions/opcodes.rs
@@ -1,10 +1,5 @@
-//! Includes opcodes, funct3 values, and match/mask values.
//! Opcodes (unless compressed) have the last 2 bits stripped off as they are always 1s for non-compressed instructions.
pub(super) const OP_IMM: u8 = 0b00100;
-pub(super) const FUNCT3_ADDI: u8 = 0b000;
-
pub(super) const STORE: u8 = 0b01000;
-
-pub(super) const FUNCT3_SD: u8 = 0b011;