aboutsummaryrefslogtreecommitdiff
path: root/riscv/riscv.ac
diff options
context:
space:
mode:
authorZhen Wei <zhen.wei@sifive.com>2020-02-27 09:36:57 +0800
committerChih-Min Chao <chihmin.chao@sifive.com>2020-03-09 19:58:54 -0700
commitc949a75893a3c8df98a407d216ee995c82d4db4f (patch)
tree34a9bebbc9b13bfc50e9dd2827b59ee6fec2eee9 /riscv/riscv.ac
parentef5950ea11c4ef97bbe9a025a70950f754b38959 (diff)
downloadspike-c949a75893a3c8df98a407d216ee995c82d4db4f.zip
spike-c949a75893a3c8df98a407d216ee995c82d4db4f.tar.gz
spike-c949a75893a3c8df98a407d216ee995c82d4db4f.tar.bz2
rvv: enhance --varch to parse string type options
To improve the readability of varch argument and future configuration, the format of options within varch are changed from "v128:e64:s512" to "vlen:128,elen:64,slen:512".
Diffstat (limited to 'riscv/riscv.ac')
-rw-r--r--riscv/riscv.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/riscv/riscv.ac b/riscv/riscv.ac
index fc45732..22d0d3a 100644
--- a/riscv/riscv.ac
+++ b/riscv/riscv.ac
@@ -13,10 +13,10 @@ AC_ARG_WITH(priv,
AC_DEFINE_UNQUOTED([DEFAULT_PRIV], "MSU", [Default value for --priv switch]))
AC_ARG_WITH(varch,
- [AS_HELP_STRING([--with-varch=v128:e64:s128],
+ [AS_HELP_STRING([--with-varch=vlen:128,elen:64,slen:128],
[Sets the default vector config])],
AC_DEFINE_UNQUOTED([DEFAULT_VARCH], "$withval", [Default value for --varch switch]),
- AC_DEFINE_UNQUOTED([DEFAULT_VARCH], "v128:e64:s128", [Default value for --varch switch]))
+ AC_DEFINE_UNQUOTED([DEFAULT_VARCH], "vlen:128,elen:64,slen:128", [Default value for --varch switch]))
AC_SEARCH_LIBS([dlopen], [dl dld], [], [