From: Andrew Waterman Date: Tue, 19 Jul 2016 19:23:22 +0000 (-0700) Subject: Make ma_fetch test robust against code size changes X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a442bdafac1ae7a03bc6ac0e4354165b01ba5ddd;p=riscv-tests.git Make ma_fetch test robust against code size changes --- 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: