summaryrefslogtreecommitdiffstats
path: root/picorv32/tests/j.S
diff options
context:
space:
mode:
Diffstat (limited to 'picorv32/tests/j.S')
-rw-r--r--picorv32/tests/j.S49
1 files changed, 0 insertions, 49 deletions
diff --git a/picorv32/tests/j.S b/picorv32/tests/j.S
deleted file mode 100644
index 259a236..0000000
--- a/picorv32/tests/j.S
+++ /dev/null
@@ -1,49 +0,0 @@
-# See LICENSE for license details.
-
-#*****************************************************************************
-# j.S
-#-----------------------------------------------------------------------------
-#
-# Test j instruction.
-#
-
-#include "riscv_test.h"
-#include "test_macros.h"
-
-RVTEST_RV32U
-RVTEST_CODE_BEGIN
-
- #-------------------------------------------------------------
- # Test basic
- #-------------------------------------------------------------
-
- li TESTNUM, 2;
- j test_2;
- j fail;
-test_2:
-
- #-------------------------------------------------------------
- # Test delay slot instructions not executed nor bypassed
- #-------------------------------------------------------------
-
- TEST_CASE( 3, x1, 3, \
- li x1, 1; \
- j 1f; \
- addi x1, x1, 1; \
- addi x1, x1, 1; \
- addi x1, x1, 1; \
- addi x1, x1, 1; \
-1: addi x1, x1, 1; \
- addi x1, x1, 1; \
- )
-
- TEST_PASSFAIL
-
-RVTEST_CODE_END
-
- .data
-RVTEST_DATA_BEGIN
-
- TEST_DATA
-
-RVTEST_DATA_END