Skip to content

Commit

Permalink
Reverted changes in TEST_JAL_OP
Browse files Browse the repository at this point in the history
  • Loading branch information
UmerShahidengr committed Oct 27, 2023
1 parent 04ef8f0 commit bfb4640
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions riscv-test-suite/env/test_macros.h
Original file line number Diff line number Diff line change
Expand Up @@ -438,14 +438,18 @@
jalr x0,0(tempreg) ;\
6: LA(tempreg, 4f) ;\
jalr x0,0(tempreg) ;\
1: .if (adj & 2 == 2) && (label == 1b) ;\
1: .if adj & 2 == 2 ;\
.ifc label, 1b ;\
.fill 2,1,0x00 ;\
.endif ;\
.endif ;\
xori rd,rd, 0x1 ;\
beq x0,x0,6b ;\
.if (adj & 2 == 2) && (label == 1b) ;\
.if adj & 2 == 2 ;\
.ifc label, 1b ;\
.fill 2,1,0x00 ;\
.endif ;\
.endif ;\
.if (imm/2) - 2 >= 0 ;\
.set num,(imm/2)-2 ;\
.else ;\
Expand Down Expand Up @@ -476,9 +480,11 @@
.rept num ;\
nop ;\
.endr ;\
3: .if (adj & 2 == 2) && (label == 3f) ;\
3: .if adj & 2 == 2 ;\
.ifc label, 3f ;\
.fill 2,1,0x00 ;\
.endif ;\
.endif ;\
xori rd,rd, 0x3 ;\
LA(tempreg, 4f) ;\
jalr x0,0(tempreg) ;\
Expand Down

0 comments on commit bfb4640

Please sign in to comment.