#define RVTEST_RV64U \
+#define RVTEST_RV64UF \
+ RVTEST_RV64U; \
+ RVTEST_FP_ENABLE
+
#define RVTEST_RV32U \
clearpcr cr0, 0x80
#define RVTEST_RV64U \
+#define RVTEST_RV64UF \
+ RVTEST_RV64U; \
+ RVTEST_FP_ENABLE
+
#define RVTEST_RV64S \
#define RVTEST_FP_ENABLE \
#define RVTEST_RV64U \
+#define RVTEST_RV64UF \
+ RVTEST_RV64U; \
+ RVTEST_FP_ENABLE
+
#define RVTEST_FP_ENABLE \
setpcr cr0, 2; \
mfpcr a0, cr0; \
//-----------------------------------------------------------------------
#define RVTEST_RV64U \
+ .text; \
+init: \
+ ret
-#define RVTEST_RV64S \
-
-#define RVTEST_FP_ENABLE \
+#define RVTEST_RV64UF \
+ .text; \
+init: \
mtfsr x0; \
+ ret
+
+#define RVTEST_RV64S \
#define RVTEST_VEC_ENABLE \
mfpcr t0, cr0; \
.align 13; \
.global userstart; \
userstart: \
- RVTEST_FP_ENABLE; \
+ jal init
//-----------------------------------------------------------------------
// End Macro
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UF
RVTEST_CODE_BEGIN
#-------------------------------------------------------------
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UF
RVTEST_CODE_BEGIN
#-------------------------------------------------------------
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UF
RVTEST_CODE_BEGIN
#-------------------------------------------------------------
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UF
RVTEST_CODE_BEGIN
#-------------------------------------------------------------
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UF
RVTEST_CODE_BEGIN
#-------------------------------------------------------------
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UF
RVTEST_CODE_BEGIN
#-------------------------------------------------------------
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UF
RVTEST_CODE_BEGIN
#-------------------------------------------------------------
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UF
RVTEST_CODE_BEGIN
TEST_CASE(2, a0, 0x4000000040400000, la a1, tdat; flw f1, 4(a1); fsw f1, 12(a1); ld a0, 8(a1))
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UF
RVTEST_CODE_BEGIN
li a0, 1
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UF
RVTEST_CODE_BEGIN
li x25, 1