aboutsummaryrefslogtreecommitdiff
path: root/config.h.in
diff options
context:
space:
mode:
authorChih-Min Chao <chihmin.chao@sifive.com>2019-06-06 01:54:38 -0700
committerChih-Min Chao <chihmin.chao@sifive.com>2019-06-14 07:36:45 -0700
commit004649e9e5d71d0a3ebb1e4d70711999aca91cbf (patch)
treed4992148a971eaa5fa295599fcf726c8eb69722c /config.h.in
parent3d7c84220971c6b1aee6e28779c8ebc71276d26a (diff)
downloadspike-004649e9e5d71d0a3ebb1e4d70711999aca91cbf.zip
spike-004649e9e5d71d0a3ebb1e4d70711999aca91cbf.tar.gz
spike-004649e9e5d71d0a3ebb1e4d70711999aca91cbf.tar.bz2
rvv: add configuration and command-line option
1. configure option "--with-varch" the option defines the default u-arch implementatiton-decided parameter VLEN: vector register length in bit SLEN: striping distance in bit ELEN: max element size in bit ex: --with-vector=v128:e32:s128 2. add __int128_t type checking 3. add --varch command option and help message ex: --varch=v512:e64:s512 Signed-off-by: Dave Wen <dave.wen@sifive.com>
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in
index 137f195..e82156d 100644
--- a/config.h.in
+++ b/config.h.in
@@ -6,6 +6,9 @@
/* Default value for --isa switch */
#undef DEFAULT_ISA
+/* Default value for --vector switch */
+#undef DEFAULT_VARCH
+
/* Path to the device-tree-compiler */
#undef DTC