summaryrefslogtreecommitdiff
path: root/v
diff options
context:
space:
mode:
authorHan-Kuan Chen <hankuan.chen@sifive.com>2020-03-06 12:03:16 +0800
committerGitHub <noreply@github.com>2020-03-05 20:03:16 -0800
commite7010dffc1f0c7152b99d89598534c8963300549 (patch)
tree784b92ba4d8ec37ab304c59d9fb76f7e154ed1e3 /v
parent500b89fb41ae857f5a1a0d6df382812cfce0b82e (diff)
downloadenv-e7010dffc1f0c7152b99d89598534c8963300549.zip
env-e7010dffc1f0c7152b99d89598534c8963300549.tar.gz
env-e7010dffc1f0c7152b99d89598534c8963300549.tar.bz2
enable vector unit in V environment (#20)
Diffstat (limited to 'v')
-rw-r--r--v/riscv_test.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/v/riscv_test.h b/v/riscv_test.h
index 751e037..f9b4f66 100644
--- a/v/riscv_test.h
+++ b/v/riscv_test.h
@@ -12,6 +12,9 @@
#undef RVTEST_FP_ENABLE
#define RVTEST_FP_ENABLE fssr x0
+#undef RVTEST_VECTOR_ENABLE
+#define RVTEST_VECTOR_ENABLE fssr x0
+
#undef RVTEST_CODE_BEGIN
#define RVTEST_CODE_BEGIN \
.text; \