aboutsummaryrefslogtreecommitdiff
path: root/isa/rv64uv/amomax_w.S
diff options
context:
space:
mode:
Diffstat (limited to 'isa/rv64uv/amomax_w.S')
-rw-r--r--isa/rv64uv/amomax_w.S5
1 files changed, 3 insertions, 2 deletions
diff --git a/isa/rv64uv/amomax_w.S b/isa/rv64uv/amomax_w.S
index 2f7ebf4..f89bed6 100644
--- a/isa/rv64uv/amomax_w.S
+++ b/isa/rv64uv/amomax_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