diff options
author | Han-Kuan Chen <hankuan.chen@sifive.com> | 2020-03-06 12:03:16 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-05 20:03:16 -0800 |
commit | e7010dffc1f0c7152b99d89598534c8963300549 (patch) | |
tree | 784b92ba4d8ec37ab304c59d9fb76f7e154ed1e3 /v | |
parent | 500b89fb41ae857f5a1a0d6df382812cfce0b82e (diff) | |
download | env-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.h | 3 |
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; \ |