summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-04-22 21:28:21 -0400
committerbd <bdunahu@operationnull.com>2025-04-22 21:28:21 -0400
commit74b24d15eb1fe48a8e221a0bc061107d6b85d659 (patch)
treeb1e644178724bd7b0a773fcac2f2b9e19ee9951c
parentbaacedcc858d8d4857282cc7fb1881a11048a5bc (diff)
Add definition for size of vector register
-rw-r--r--inc/id.h1
-rw-r--r--inc/pipe_spec.h5
2 files changed, 5 insertions, 1 deletions
diff --git a/inc/id.h b/inc/id.h
index a10ad49..dabf206 100644
--- a/inc/id.h
+++ b/inc/id.h
@@ -25,7 +25,6 @@
class ID : public Stage
{
public:
- ID(Stage *next);
using Stage::Stage;
using Stage::advance;
diff --git a/inc/pipe_spec.h b/inc/pipe_spec.h
index 0433f23..7d65637 100644
--- a/inc/pipe_spec.h
+++ b/inc/pipe_spec.h
@@ -40,6 +40,11 @@
#define V_NUM 8
/**
+ * The size, in 32-bit integers, of a vector register.
+ */
+#define V_R_LIMIT 8
+
+/**
* The number of bits to specify an instruction type
*/
#define TYPE_SIZE 2