From af55524d979bffa9961e097c31b913e9606280cf Mon Sep 17 00:00:00 2001 From: David Harris Date: Thu, 23 Mar 2023 09:06:05 -0700 Subject: [PATCH] Coverage improvements --- sim/regression-wally | 8 ++++++-- tests/coverage/badinstr.S | 1 + 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/sim/regression-wally b/sim/regression-wally index d10e3565..77ab05c1 100755 --- a/sim/regression-wally +++ b/sim/regression-wally @@ -126,10 +126,14 @@ for test in ahbTests: grepstr="All tests ran without failures") configs.append(tc) -tests64gc = ["arch64f", "arch64d", "arch64i", "arch64zba", "arch64zbb", "arch64zbc", "arch64zbs", "arch64priv", "arch64c", "arch64m", "arch64zi", "wally64a", "wally64periph", "wally64priv"] +tests64gc = ["arch64f", "arch64d", "arch64i", "arch64zba", "arch64zbb", "arch64zbc", "arch64zbs", + "arch64priv", "arch64c", "arch64m", "arch64zi", "wally64a", "wally64periph", "wally64priv"] if (coverage): # delete all but 64gc tests when running coverage configs = [] - tests64gc = ["coverage64gc", "arch64f", "arch64d", "arch64i", "arch64priv", "arch64c", "arch64m", "arch64zi", "wally64a", "wally64periph", "wally64priv", "imperas64f", "imperas64d", "imperas64c", "imperas64i"] + tests64gc = ["arch64f", "arch64d", "arch64i", "arch64priv", "arch64c", "arch64m", + "arch64zi", "wally64a", "wally64periph", "wally64priv", + "arch64zba", "arch64zbb", "arch64zbc", "arch64zbs", + "imperas64f", "imperas64d", "imperas64c", "imperas64i"] coverStr = '-coverage' else: coverStr = '' diff --git a/tests/coverage/badinstr.S b/tests/coverage/badinstr.S index 7714ab07..174ea0ae 100644 --- a/tests/coverage/badinstr.S +++ b/tests/coverage/badinstr.S @@ -36,6 +36,7 @@ main: .word 0x00004023 // Illegal store instruction .word 0x0400003B // Illegal RW or MulDivW instruction .word 0x00007067 // Illegal JALR instruction + .word 0x00002063 // Illegal branch instruction j done