Add another FP recoding test case
[riscv-tests.git] / isa / rv64uv / amomax_d.S
index 97a5cf4e25cfdb72de154cadd9d8245ae7b9adb7..321a43f4ccbc5371f2ebb6d8bf22dd8c89631e24 100644 (file)
@@ -1,3 +1,5 @@
+# See LICENSE for license details.
+
 #*****************************************************************************
 # amomax_d.S
 #-----------------------------------------------------------------------------
@@ -8,7 +10,7 @@
 #include "riscv_test.h"
 #include "test_macros.h"
 
-RVTEST_RV64U
+RVTEST_RV64UV
 RVTEST_CODE_BEGIN
 
   vsetcfg 4,0
@@ -27,7 +29,7 @@ RVTEST_CODE_BEGIN
   li a2,0
 loop:
   ld a0,0(a6)
-  addi x28,a1,2
+  addi TESTNUM,a1,2
   bne a0,a2,fail
   addi a6,a6,8
   addi a1,a1,1