aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@cs.berkeley.edu>2016-02-28 23:18:19 -0800
committerAndrew Waterman <waterman@cs.berkeley.edu>2016-02-28 23:20:48 -0800
commite2f81e97281915d15fdec0713de1003095d2ae17 (patch)
treefaa0493d65f92b754065c9f56f844eb71e8e0a24
parent0e17d07550ab5f4b2f83af6c4e3dc00ddf875ce7 (diff)
downloadriscv-tests-e2f81e97281915d15fdec0713de1003095d2ae17.zip
riscv-tests-e2f81e97281915d15fdec0713de1003095d2ae17.tar.gz
riscv-tests-e2f81e97281915d15fdec0713de1003095d2ae17.tar.bz2
Strip big-endian tests
These tests will likely never support non-standard big-endian systems.
-rw-r--r--isa/rv32ui/sb.S6
-rw-r--r--isa/rv32ui/sh.S6
-rw-r--r--isa/rv64ui/sb.S6
-rw-r--r--isa/rv64ui/sh.S6
4 files changed, 0 insertions, 24 deletions
diff --git a/isa/rv32ui/sb.S b/isa/rv32ui/sb.S
index 1a8598c..05d1894 100644
--- a/isa/rv32ui/sb.S
+++ b/isa/rv32ui/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/isa/rv32ui/sh.S b/isa/rv32ui/sh.S
index 6c464e5..387e181 100644
--- a/isa/rv32ui/sh.S
+++ b/isa/rv32ui/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
diff --git a/isa/rv64ui/sb.S b/isa/rv64ui/sb.S
index aefeaa0..17ab2e2 100644
--- a/isa/rv64ui/sb.S
+++ b/isa/rv64ui/sb.S
@@ -19,13 +19,7 @@ RVTEST_CODE_BEGIN
TEST_ST_OP( 2, lb, sb, 0xffffffffffffffaa, 0, tdat );
TEST_ST_OP( 3, lb, sb, 0x0000000000000000, 1, tdat );
-#ifdef __RISCVEL
TEST_ST_OP( 4, lh, sb, 0xffffffffffffefa0, 2, tdat );
-#elif defined(__RISCVEB)
-#else
- TEST_ST_OP( 4, lh, sb, 0xffffffffffffa0ef, 2, tdat );
-#error unknown endianness!
-#endif
TEST_ST_OP( 5, lb, sb, 0x000000000000000a, 3, tdat );
# Test with negative offset
diff --git a/isa/rv64ui/sh.S b/isa/rv64ui/sh.S
index 773127c..10897d4 100644
--- a/isa/rv64ui/sh.S
+++ b/isa/rv64ui/sh.S
@@ -19,13 +19,7 @@ RVTEST_CODE_BEGIN
TEST_ST_OP( 2, lh, sh, 0x00000000000000aa, 0, tdat );
TEST_ST_OP( 3, lh, sh, 0xffffffffffffaa00, 2, tdat );
-#ifdef __RISCVEL
TEST_ST_OP( 4, lw, sh, 0xffffffffbeef0aa0, 4, tdat );
-#elif defined(__RISCVEB)
-#else
- TEST_ST_OP( 4, lw, sh, 0x000000000aa0beef, 4, tdat );
-#error unknown endianness!
-#endif
TEST_ST_OP( 5, lh, sh, 0xffffffffffffa00a, 6, tdat );
# Test with negative offset