alter unit tests to match change in CSR table format
[riscv-tests.git] / isa / rv64ud / sv_fadd.S
index f456119c8721f0cbb8f99ae062bf89dfa3b5475e..9057dff8e1c2ef531fd871bffb9ef07512a9ee64 100644 (file)
@@ -22,7 +22,8 @@ RVTEST_CODE_BEGIN   # Start of test code.
         SV_FLD_DATA( f8, testdata+56, 0)
 
         SET_SV_MVL(2)
-        SET_SV_CSR(0, 2, 0, 2, 1, 0)
+        SET_SV_2CSRS( SV_REG_CSR(0, 2, 0, 2, 1),
+                      SV_REG_CSR(0, 6, 0, 6, 1) )
         SET_SV_VL(2)
 
         fadd.d f2, f2, f6;