From c56451fc5ab672d2ec49663ff83d0dc51c61aa57 Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Mon, 4 Nov 2019 13:44:22 -0800 Subject: Remove cruft from icache-alias test --- isa/rv64si/icache-alias.S | 35 ----------------------------------- 1 file changed, 35 deletions(-) (limited to 'isa') diff --git a/isa/rv64si/icache-alias.S b/isa/rv64si/icache-alias.S index 15553b1..dbc934e 100644 --- a/isa/rv64si/icache-alias.S +++ b/isa/rv64si/icache-alias.S @@ -116,41 +116,6 @@ mtvec_handler: jr a2 - li t1, 2 - bne TESTNUM, t1, 1f - # Make sure D bit is clear - lw t0, page_table_1 - and t1, t0, PTE_D - bnez t1, die -skip: - csrr t0, mepc - add t0, t0, 4 - csrw mepc, t0 - mret - -1: - li t1, 3 - bne TESTNUM, t1, 1f - # The implementation doesn't appear to set D bits in HW. - # Make sure the D bit really is clear. - lw t0, page_table_1 - and t1, t0, PTE_D - bnez t1, die - # Set the D bit. - or t0, t0, PTE_D - sw t0, page_table_1, t1 - sfence.vma - mret - -1: - li t1, 4 - bne TESTNUM, t1, 1f - j pass - -1: -die: - RVTEST_FAIL - RVTEST_CODE_END .data -- cgit v1.1