Make ma_fetch test robust against code size changes
authorAndrew Waterman <waterman@cs.berkeley.edu>
Tue, 19 Jul 2016 19:23:22 +0000 (12:23 -0700)
committerAndrew Waterman <waterman@cs.berkeley.edu>
Fri, 22 Jul 2016 18:26:57 +0000 (11:26 -0700)
isa/rv64si/ma_fetch.S

index 544daa0140a2703b6754ad7b14cc73b22f1d734c..7766c696ce6c195c2384c1ffef0c60aaca8b6f13 100644 (file)
@@ -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: