aboutsummaryrefslogtreecommitdiff
path: root/isa/rv64uv/lh.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/lh.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/lh.S')
-rw-r--r--isa/rv64uv/lh.S5
1 files changed, 3 insertions, 2 deletions
diff --git a/isa/rv64uv/lh.S b/isa/rv64uv/lh.S
index 98b001c..910ffd3 100644
--- a/isa/rv64uv/lh.S
+++ b/isa/rv64uv/lh.S
@@ -11,8 +11,9 @@
RVTEST_RV64U
RVTEST_CODE_BEGIN
+ vsetcfg 16,0
li a4,512
- vvcfgivl a4,a4,16,0
+ vsetvl a4,a4
la a5,src
vmsv vx2,a5
@@ -20,7 +21,7 @@ RVTEST_CODE_BEGIN
vf %lo(vtcode)(a0)
la a6,dest
vsd vx1,a6
- fence.v.l
+ fence
li a2,0
loop: