aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerry Zhao <jerryz123@berkeley.edu>2023-02-10 10:53:47 -0800
committerJerry Zhao <jerryz123@berkeley.edu>2023-05-22 14:52:44 -0700
commite9fa54f4e771f4471d3af36397ae56beb215cfb8 (patch)
tree25ea71a5987bc0688e9d409f8e1f1339576d30ca
parent044a6a06f2a35d22c4d13c9a0336125af87b62ca (diff)
downloadriscv-tests-e9fa54f4e771f4471d3af36397ae56beb215cfb8.zip
riscv-tests-e9fa54f4e771f4471d3af36397ae56beb215cfb8.tar.gz
riscv-tests-e9fa54f4e771f4471d3af36397ae56beb215cfb8.tar.bz2
Enable VS for benchmarks
-rw-r--r--benchmarks/common/crt.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/benchmarks/common/crt.S b/benchmarks/common/crt.S
index 018f929..3f5bb2c 100644
--- a/benchmarks/common/crt.S
+++ b/benchmarks/common/crt.S
@@ -47,8 +47,8 @@ _start:
li x30,0
li x31,0
- # enable FPU and accelerator if present
- li t0, MSTATUS_FS | MSTATUS_XS
+ # enable FPU, vector, and accelerator if present
+ li t0, MSTATUS_FS | MSTATUS_XS | MSTATUS_VS
csrs mstatus, t0
# make sure XLEN agrees with compilation choice