From a442bdafac1ae7a03bc6ac0e4354165b01ba5ddd Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Tue, 19 Jul 2016 12:23:22 -0700 Subject: [PATCH] Make ma_fetch test robust against code size changes --- isa/rv64si/ma_fetch.S | 6 ++++-- 1 file 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: -- 2.30.2