summaryrefslogtreecommitdiff
path: root/inc/instrDTO.h
diff options
context:
space:
mode:
authorbd <bdunaisky@umass.edu>2025-04-28 03:44:42 +0000
committerGitHub <noreply@github.com>2025-04-28 03:44:42 +0000
commit013a79547aa465872d0262b2f5c24e73f9556869 (patch)
tree28cc8f2ea6e5aa1a74f328de8594b0ad5995fa66 /inc/instrDTO.h
parent5653b2a033e7a4173d2f178b5ce52384666d3d7b (diff)
parent336faf3fd701aaf962613abd1ff0a69cbdf021ce (diff)
Merge pull request #69 from bdunahu/vector_ext
Vector ext
Diffstat (limited to 'inc/instrDTO.h')
-rw-r--r--inc/instrDTO.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/inc/instrDTO.h b/inc/instrDTO.h
index 1402526..f3d4597 100644
--- a/inc/instrDTO.h
+++ b/inc/instrDTO.h
@@ -18,6 +18,8 @@
#ifndef INSTRDTO_H
#define INSTRDTO_H
#include "instr.h"
+#include "pipe_spec.h"
+#include<array>
struct U_INT_TYPE {
signed int slot_one;
@@ -26,6 +28,15 @@ struct U_INT_TYPE {
};
struct V_TYPE {
+ std::array<signed int, V_R_LIMIT> slot_one;
+ std::array<signed int, V_R_LIMIT> slot_two;
+ std::array<signed int, V_R_LIMIT> slot_three;
+};
+
+struct LOAD_STORE_V_TYPE{
+ signed int base_addr;
+ signed int immediate;
+ std::array<signed int, V_R_LIMIT> vector_register;
};
struct InstrDTO {
@@ -52,6 +63,7 @@ struct InstrDTO {
union {
struct U_INT_TYPE integer;
struct V_TYPE vector;
+ struct LOAD_STORE_V_TYPE load_store_vector;
} operands;
};