aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2016-12-10 12:09:15 +0100
committerClifford Wolf <clifford@clifford.at>2016-12-10 12:09:15 +0100
commit9d873cac925246c38d86d644787d159efb9855a0 (patch)
treeb7a81cc08f8d74ef2b8292e0d25c9f6940bb93d9 /tests
parentf29376ac22b89091219a0d5bb1a5bada82df1998 (diff)
downloadpicorv32-9d873cac925246c38d86d644787d159efb9855a0.tar.gz
picorv32-9d873cac925246c38d86d644787d159efb9855a0.zip
Minor changes and build fixes for new riscv-gnu-toolchain
Diffstat (limited to 'tests')
-rw-r--r--tests/sb.S6
-rw-r--r--tests/sh.S6
2 files changed, 0 insertions, 12 deletions
diff --git a/tests/sb.S b/tests/sb.S
index 1a8598c..05d1894 100644
--- a/tests/sb.S
+++ b/tests/sb.S
@@ -19,13 +19,7 @@ RVTEST_CODE_BEGIN
TEST_ST_OP( 2, lb, sb, 0xffffffaa, 0, tdat );
TEST_ST_OP( 3, lb, sb, 0x00000000, 1, tdat );
-#ifdef __RISCVEL
TEST_ST_OP( 4, lh, sb, 0xffffefa0, 2, tdat );
-#elif defined(__RISCVEB)
-#else
- TEST_ST_OP( 4, lh, sb, 0xffffa0ef, 2, tdat );
-#error unknown endianness!
-#endif
TEST_ST_OP( 5, lb, sb, 0x0000000a, 3, tdat );
# Test with negative offset
diff --git a/tests/sh.S b/tests/sh.S
index 6c464e5..387e181 100644
--- a/tests/sh.S
+++ b/tests/sh.S
@@ -19,13 +19,7 @@ RVTEST_CODE_BEGIN
TEST_ST_OP( 2, lh, sh, 0x000000aa, 0, tdat );
TEST_ST_OP( 3, lh, sh, 0xffffaa00, 2, tdat );
-#ifdef __RISCVEL
TEST_ST_OP( 4, lw, sh, 0xbeef0aa0, 4, tdat );
-#elif defined(__RISCVEB)
-#else
- TEST_ST_OP( 4, lw, sh, 0x0aa0beef, 4, tdat );
-#error unknown endianness!
-#endif
TEST_ST_OP( 5, lh, sh, 0xffffa00a, 6, tdat );
# Test with negative offset