aboutsummaryrefslogtreecommitdiff
path: root/isa/rv64uv/wakeup.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/wakeup.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/wakeup.S')
-rw-r--r--isa/rv64uv/wakeup.S15
1 files changed, 7 insertions, 8 deletions
diff --git a/isa/rv64uv/wakeup.S b/isa/rv64uv/wakeup.S
index 62cc6c8..9fadeba 100644
--- a/isa/rv64uv/wakeup.S
+++ b/isa/rv64uv/wakeup.S
@@ -12,10 +12,9 @@ RVTEST_RV64U
RVTEST_CODE_BEGIN
# make sure these don't choke at the beginning
- fence.v.l
- fence.v.l
- fence.v.g
- fence.v.g
+ fence
+ fence rw,io
+ fence io,rw
# this shouldn't go through since app vl is zero
la a3,src1
@@ -26,7 +25,7 @@ RVTEST_CODE_BEGIN
vf %lo(vtcode1)(a0)
la a5,dest
vsd vx2,a5
- fence.v.l
+ fence
ld a1,0(a5)
li a2,0xdeadbeefcafebabe
@@ -61,7 +60,7 @@ RVTEST_CODE_BEGIN
li x28, 8
bne a3, a0, fail
- # now do some vector stuff without vvcfgivl
+ # now do some vector stuff without vsetcfg
vsetvl x0, x0
li a3, 4
@@ -74,7 +73,7 @@ RVTEST_CODE_BEGIN
vf %lo(vtcode1)(a0)
la a5,dest
vsd vx2,a5
- fence.v.l
+ fence
ld a1,0(a5)
li a2,5
@@ -109,7 +108,7 @@ RVTEST_CODE_BEGIN
vf %lo(vtcode1)(a0)
la a5,dest
vsd vx2,a5
- fence.v.l
+ fence
ld a1,0(a5)
li a2,0xdeadbeefcafebabe