Skip to content

Commit

Permalink
Correct RVTEST_ISA for rv64 fli tests (#490)
Browse files Browse the repository at this point in the history
  • Loading branch information
jordancarlin authored Sep 23, 2024
1 parent 5e7f23c commit ce04b49
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions riscv-test-suite/rv64i_m/D_Zfa/src/fli.d-01.S
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@
//
// This assembly file tests the fli.d instruction
// for the following ISA configurations:
// * RV32ID_Zfa
// * RV64ID_Zfa

#include "model_test.h"
#include "arch_test.h"

RVTEST_ISA("RV32ID_Zfa,RV64ID_Zfa")
RVTEST_ISA("RV64ID_Zfa")

.section .text.init
.globl rvtest_entry_point
Expand All @@ -22,7 +21,7 @@ RVTEST_CODE_BEGIN

#ifdef TEST_CASE_1

RVTEST_CASE(0,"//check ISA:=regex(.*I.*D.*Zfa.*);def TEST_CASE_1=True;",fli.d)
RVTEST_CASE(0,"//check ISA:=regex(.*RV64.*I.*D.*Zfa.*);def TEST_CASE_1=True;",fli.d)

// Registers with a special purpose
#define SIG_BASEREG x1
Expand Down
5 changes: 2 additions & 3 deletions riscv-test-suite/rv64i_m/F_Zfa/src/fli.s-01.S
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@
//
// This assembly file tests the fli.s instruction
// for the following ISA configurations:
// * RV32IF_Zfa
// * RV64IF_Zfa

#include "model_test.h"
#include "arch_test.h"

RVTEST_ISA("RV32IF_Zfa,RV64IF_Zfa")
RVTEST_ISA("RV64IF_Zfa")

.section .text.init
.globl rvtest_entry_point
Expand All @@ -22,7 +21,7 @@ RVTEST_CODE_BEGIN

#ifdef TEST_CASE_1

RVTEST_CASE(0,"//check ISA:=regex(.*I.*F.*Zfa.*);def TEST_CASE_1=True;",fli.s)
RVTEST_CASE(0,"//check ISA:=regex(.*RV64.*I.*F.*Zfa.*);def TEST_CASE_1=True;",fli.s)

// Registers with a special purpose
#define SIG_BASEREG x1
Expand Down

0 comments on commit ce04b49

Please sign in to comment.