aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2015-06-07 08:28:10 +0200
committerClifford Wolf <clifford@clifford.at>2015-06-07 11:49:47 +0200
commite84f044bc5e740c880ae547e84c3f3a0fe424f51 (patch)
tree1b5c3b0519d93eb23a3104e7519880dd4929bf3c /tests
parent491cd5e15dc3f96d177493d2e23edc356dcc648e (diff)
downloadpicorv32-e84f044bc5e740c880ae547e84c3f3a0fe424f51.tar.gz
picorv32-e84f044bc5e740c880ae547e84c3f3a0fe424f51.zip
Major redesign of main FSM
Diffstat (limited to 'tests')
-rw-r--r--tests/fence_i.S53
1 files changed, 0 insertions, 53 deletions
diff --git a/tests/fence_i.S b/tests/fence_i.S
deleted file mode 100644
index 8785c1e..0000000
--- a/tests/fence_i.S
+++ /dev/null
@@ -1,53 +0,0 @@
-# See LICENSE for license details.
-
-#*****************************************************************************
-# fence_i.S
-#-----------------------------------------------------------------------------
-#
-# Test self-modifying code and the fence.i instruction.
-#
-
-#include "riscv_test.h"
-#include "test_macros.h"
-
-RVTEST_RV32U
-RVTEST_CODE_BEGIN
-
-li a3, 111
-la a0, 3f
-la a1, 1f
-la a2, 2f
-lw a0, 0(a0)
-
-# test I$ hit
-.align 6
-sw a0, 0(a1)
-fence.i
-
-1: addi a3, a3, 222
-TEST_CASE( 2, a3, 444, nop )
-
-# test prefetcher hit
-li a4, 100
-1: addi a4, a4, -1
-bnez a4, 1b
-
-sw a0, 0(a2)
-fence.i
-
-.align 6
-2: addi a3, a3, 555
-TEST_CASE( 3, a3, 777, nop )
-
-3: addi a3, a3, 333
-
-TEST_PASSFAIL
-
-RVTEST_CODE_END
-
- .data
-RVTEST_DATA_BEGIN
-
- TEST_DATA
-
-RVTEST_DATA_END