aboutsummaryrefslogtreecommitdiff
path: root/isa/rv64si
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@cs.berkeley.edu>2016-07-19 12:23:22 -0700
committerAndrew Waterman <waterman@cs.berkeley.edu>2016-07-22 11:26:57 -0700
commita442bdafac1ae7a03bc6ac0e4354165b01ba5ddd (patch)
tree895a0d3f455503cc0ba81ca3d10cd2550403204b /isa/rv64si
parenta27ddca0570517e7e40a91c16e4c96c6c5f329e1 (diff)
downloadriscv-tests-a442bdafac1ae7a03bc6ac0e4354165b01ba5ddd.zip
riscv-tests-a442bdafac1ae7a03bc6ac0e4354165b01ba5ddd.tar.gz
riscv-tests-a442bdafac1ae7a03bc6ac0e4354165b01ba5ddd.tar.bz2
Make ma_fetch test robust against code size changes
Diffstat (limited to 'isa/rv64si')
-rw-r--r--isa/rv64si/ma_fetch.S6
1 files changed, 4 insertions, 2 deletions
diff --git a/isa/rv64si/ma_fetch.S b/isa/rv64si/ma_fetch.S
index 544daa0..7766c69 100644
--- a/isa/rv64si/ma_fetch.S
+++ b/isa/rv64si/ma_fetch.S
@@ -32,9 +32,10 @@ RVTEST_CODE_BEGIN
jalr t1, t0, 2
1:
.option rvc
- c.j fail
+ c.j 1f
c.j 2f
.option norvc
+1:
j fail
2:
@@ -53,9 +54,10 @@ RVTEST_CODE_BEGIN
jalr t1, t0, 3
1:
.option rvc
- c.j fail
+ c.j 1f
c.j 2f
.option norvc
+1:
j fail
2: