Skip to content

Commit

Permalink
Update test_macros.h, removed TEST_RI macro (#545)
Browse files Browse the repository at this point in the history
Signed-off-by: shehzmak <108384507+shehzmak@users.noreply.github.com>
  • Loading branch information
shehzmak authored Oct 31, 2024
1 parent 2980588 commit 3843c73
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions riscv-test-suite/env/test_macros.h
Original file line number Diff line number Diff line change
Expand Up @@ -888,13 +888,6 @@ ADDI(swreg, swreg, RVMODEL_CBZ_BLOCKSIZE)
inst destreg, reg1, reg2, imm ;\
)

//Tests for a instructions with register-register operand
#define TEST_RI_OP(inst, destreg, reg1, reg2, imm, correctval, val1, val2, swreg, offset, testreg) \
TEST_CASE(testreg, destreg, correctval, swreg, offset, \
LI(reg1, MASK_XLEN(val1)) ;\
LI(reg2, MASK_XLEN(val2)) ;\
inst destreg, reg1, reg2, imm ;\
)

//Tests for a instructions with register-register operand
#define TEST_RR_OP(inst, destreg, reg1, reg2, correctval, val1, val2, swreg, offset, testreg) \
Expand Down

0 comments on commit 3843c73

Please sign in to comment.