aboutsummaryrefslogtreecommitdiff
path: root/isa/rv64uv/amomin_w.S
diff options
context:
space:
mode:
authorYunsup Lee <yunsup@cs.berkeley.edu>2013-10-10 12:04:58 -0700
committerYunsup Lee <yunsup@cs.berkeley.edu>2013-10-10 12:04:58 -0700
commit57f2254feaf4e3595a5b6cce48ebcfbebaaa3c67 (patch)
tree9f09e5a22b797f06c528ac909caa2ec58f9df895 /isa/rv64uv/amomin_w.S
parent8dd97c2e7af399bc04b9d132bd1f1a4bdbbfec57 (diff)
downloadriscv-tests-57f2254feaf4e3595a5b6cce48ebcfbebaaa3c67.zip
riscv-tests-57f2254feaf4e3595a5b6cce48ebcfbebaaa3c67.tar.gz
riscv-tests-57f2254feaf4e3595a5b6cce48ebcfbebaaa3c67.tar.bz2
revamp hwacha tests
Diffstat (limited to 'isa/rv64uv/amomin_w.S')
-rw-r--r--isa/rv64uv/amomin_w.S5
1 files changed, 3 insertions, 2 deletions
diff --git a/isa/rv64uv/amomin_w.S b/isa/rv64uv/amomin_w.S
index bac8400..0633ba7 100644
--- a/isa/rv64uv/amomin_w.S
+++ b/isa/rv64uv/amomin_w.S
@@ -11,8 +11,9 @@
RVTEST_RV64U
RVTEST_CODE_BEGIN
+ vsetcfg 4,0
li a4,2048
- vvcfgivl a4,a4,4,0
+ vsetvl a4,a4
la a5,amodest
vmsv vx2,a5
@@ -20,7 +21,7 @@ RVTEST_CODE_BEGIN
vf %lo(vtcode)(a0)
la a6,dest
vsw vx1,a6
- fence.v.l
+ fence
li a1,0
li a2,0