Share code between rv32ui and rv64ui tests
[riscv-tests.git] / isa / rv32ui / simple.S
index 92cf20366996c9cdf2e7f6eeab2d8542dd158f5b..20e5546573d312a05a985277cb7addab4b5256d7 100644 (file)
@@ -1,27 +1,7 @@
 # See LICENSE for license details.
 
-#*****************************************************************************
-# simple.S
-#-----------------------------------------------------------------------------
-#
-# This is the most basic self checking test. If your simulator does not
-# pass thiss then there is little chance that it will pass any of the
-# more complicated self checking tests.
-#
-
 #include "riscv_test.h"
-#include "test_macros.h"
-
-RVTEST_RV32U
-RVTEST_CODE_BEGIN
-
-RVTEST_PASS
-
-RVTEST_CODE_END
-
-  .data
-RVTEST_DATA_BEGIN
-
-  TEST_DATA
+#undef RVTEST_RV64U
+#define RVTEST_RV64U RVTEST_RV32U
 
-RVTEST_DATA_END
+#include "../rv64ui/simple.S"