projects
/
riscv-tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix #120: Instructions 'sll' are replaced with 'slli' in rv64ui/slli.S (#121)
[riscv-tests.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index d85ddd6ef1b3247c89a3ce594e5fb04ec14084c1..ebfd649795a37a5c2098efee103cc817abeff602 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-3,6
+3,14
@@
AC_INIT(riscv-tests, 1.0)
cross_compiling=yes
AC_PROG_CC
+AC_ARG_WITH(xlen,
+ [AS_HELP_STRING([--with-xlen=XLEN],
+ [Set XLEN, the X-register bit width (default is 64)])],
+ AC_SUBST(XLEN, $withval),
+ AC_SUBST(XLEN, 64)
+ )
+
+
AC_OUTPUT(
Makefile
)