summaryrefslogtreecommitdiff
path: root/inc/instr.h
diff options
context:
space:
mode:
authorSiddarth Suresh <155843085+SiddarthSuresh98@users.noreply.github.com>2025-05-11 23:39:06 -0400
committerGitHub <noreply@github.com>2025-05-11 23:39:06 -0400
commitf02bea04284d33a2d014f636baa6a861b73f6c41 (patch)
treece89a55af60b01f6b4129d7539d07c08bfaa1b9a /inc/instr.h
parenta35eb451889f0efa99ff7fe1c0a3a76afd5e7ad5 (diff)
parent43588597069587f6846a7d64a1957435bec5429d (diff)
Merge pull request #79 from bdunahu/bdunahuHEADmaster
Replace LOADV, STOREV, with strided load (SRDL), strided store (SRDS), add vector rotate (ROTV)
Diffstat (limited to 'inc/instr.h')
-rw-r--r--inc/instr.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/inc/instr.h b/inc/instr.h
index 0c49a79..5a8ff4a 100644
--- a/inc/instr.h
+++ b/inc/instr.h
@@ -37,8 +37,10 @@ enum Mnemonic {
DIVV,
CMP,
CEV,
+ SRDL,
+ SRDS,
+ ROTV,
LOAD,
- LOADV,
ADDI,
SUBI,
SFTRI,
@@ -47,7 +49,6 @@ enum Mnemonic {
ORI,
XORI,
STORE,
- STOREV,
JMP,
JRL,
JAL,
@@ -64,7 +65,7 @@ enum Mnemonic {
enum FieldType {
SI_INT,
R_VECT,
- I_VECT,
+ S_VECT,
};
namespace instr