#define RVTEST_RV64UF \
.macro init; \
fssr x0; \
- .endm
+ .endm
-#define RVTEST_VEC_ENABLE \
+#define RVTEST_RV64UV \
+ RVTEST_RV64UF
#define RVTEST_CODE_BEGIN \
.text; \
#ifndef __TEST_MACROS_VECTOR_H
#define __TEST_MACROS_VECTOR_H
+#undef EXTRA_INIT
+#define EXTRA_INIT RVTEST_VEC_ENABLE
#-----------------------------------------------------------------------
# Helper macros
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
vsetcfg 4,0
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
vsetcfg 4,0
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
vsetcfg 4,0
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
vsetcfg 4,0
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
vsetcfg 4,0
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
vsetcfg 4,0
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
vsetcfg 4,0
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
vsetcfg 4,0
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
vsetcfg 4,0
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
vsetcfg 4,0
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
vsetcfg 4,0
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
vsetcfg 4,0
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
vsetcfg 4,0
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
vsetcfg 4,0
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
vsetcfg 4,0
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
vsetcfg 4,0
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
#-------------------------------------------------------------
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
#-------------------------------------------------------------
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
#-------------------------------------------------------------
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
#-------------------------------------------------------------
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
#-------------------------------------------------------------
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
#-------------------------------------------------------------
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
vsetcfg 32,32
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
# make sure these don't choke at the beginning
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
vsetcfg 4,1
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
vsetcfg 4,1
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64UF
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
vsetcfg 3,2
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
vsetcfg 4,2
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
vsetcfg 4,2
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
vsetcfg 4,1
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
vsetcfg 4,1
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
vsetcfg 3,0
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
vsetcfg 16,0
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
vsetcfg 16,0
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
vsetcfg 16,0
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
vsetcfg 16,0
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
vsetcfg 16,0
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
vsetcfg 16,0
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
vsetcfg 16,0
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
vsetcfg 4,0
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
vsetcfg 4,0
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
vsetcfg 16,0
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
vsetcfg 16,0
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
vsetcfg 16,0
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
vsetcfg 16,0
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
vsetcfg 2,0
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
vsetcfg 2,2
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
vsetcfg 3,0
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
vsetcfg 3,0
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
#-------------------------------------------------------------
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
#-------------------------------------------------------------
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
#-------------------------------------------------------------
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
vsetcfg 32,0
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
vsetcfg 32,0
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
vsetcfg 32,32
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
vsetcfg 32,32
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
vsetcfg 32,0
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
vsetcfg 32,0
#include "riscv_test.h"
#include "test_macros.h"
-RVTEST_RV64U
+RVTEST_RV64UV
RVTEST_CODE_BEGIN
# make sure these don't choke at the beginning