From 726a546463d5674205f1e8905cc082c6c807e79b Mon Sep 17 00:00:00 2001 From: Yunsup Lee Date: Thu, 13 Nov 2014 03:11:05 -0800 Subject: [PATCH] make rv32si fault load/store test stronger --- isa/rv32si/fa_addr_zscale_8192.S | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/isa/rv32si/fa_addr_zscale_8192.S b/isa/rv32si/fa_addr_zscale_8192.S index 8bb110a..37b6edf 100644 --- a/isa/rv32si/fa_addr_zscale_8192.S +++ b/isa/rv32si/fa_addr_zscale_8192.S @@ -58,7 +58,11 @@ loop: li s0, 0xbad1dea0 beq s1, x0, loop - j pass + li TESTNUM, 10 + li s0, 0x1ffc + lw x0, 0(s0) // if an exception is taken, then would fail because evec is set to evec_store + + j pass // this time it should pass TEST_PASSFAIL -- 2.30.2