| cmake_minimum_required(VERSION 3.10) |
| enable_language(ASM) |
| |
| add_library(test_v_helpers |
| test_v_helpers.cpp) |
| |
| target_include_directories(test_v_helpers PUBLIC include) |
| target_link_libraries(test_v_helpers PUBLIC pw_unit_test) |
| |
| target_compile_options(test_v_helpers PUBLIC |
| ${VEC_DEFAULT_COPTS} |
| ) |
| |
| vec_cc_generated_test( |
| NAME |
| vsub |
| OPFMT |
| OPIVV |
| OPIVX |
| LINKOPTS |
| -Xlinker --defsym=__itcm_length__=128K |
| ) |
| |
| vec_cc_generated_test( |
| NAME |
| vrsub |
| OPFMT |
| OPIVI |
| OPIVX |
| LINKOPTS |
| -Xlinker --defsym=__itcm_length__=256K |
| ) |
| |
| vec_cc_generated_test( |
| NAME |
| vadd |
| OPFMT |
| OPIVV |
| OPIVX |
| OPIVI |
| LINKOPTS |
| -Xlinker --defsym=__itcm_length__=256K |
| ) |
| |
| vec_cc_generated_test( |
| NAME |
| vor |
| OPFMT |
| OPIVV |
| OPIVX |
| OPIVI |
| LINKOPTS |
| -Xlinker --defsym=__itcm_length__=256K |
| ) |
| |
| vec_cc_generated_test( |
| NAME |
| vxor |
| OPFMT |
| OPIVV |
| OPIVX |
| OPIVI |
| LINKOPTS |
| -Xlinker --defsym=__itcm_length__=256K |
| ) |
| |
| vec_cc_generated_test( |
| NAME |
| vmin |
| OPFMT |
| OPIVV |
| OPIVX |
| LINKOPTS |
| -Xlinker --defsym=__itcm_length__=128K |
| ) |
| |
| vec_cc_generated_test( |
| NAME |
| vminu |
| OPFMT |
| OPIVV |
| OPIVX |
| LINKOPTS |
| -Xlinker --defsym=__itcm_length__=128K |
| ) |
| |
| vec_cc_generated_test( |
| NAME |
| vmul |
| OPFMT |
| OPIVV |
| OPIVX |
| LINKOPTS |
| -Xlinker --defsym=__itcm_length__=128K |
| ) |
| |
| vec_cc_generated_test( |
| NAME |
| vmulh |
| OPFMT |
| OPIVV |
| OPIVX |
| LINKOPTS |
| -Xlinker --defsym=__itcm_length__=128K |
| ) |
| |
| vec_cc_generated_test( |
| NAME |
| vmulhu |
| OPFMT |
| OPIVV |
| OPIVX |
| LINKOPTS |
| -Xlinker --defsym=__itcm_length__=128K |
| ) |
| |
| vec_cc_generated_test( |
| NAME |
| vdiv |
| OPFMT |
| OPIVV |
| OPIVX |
| LINKOPTS |
| -Xlinker --defsym=__itcm_length__=128K |
| ) |
| |
| vec_cc_generated_test( |
| NAME |
| vdivu |
| OPFMT |
| OPIVV |
| OPIVX |
| LINKOPTS |
| -Xlinker --defsym=__itcm_length__=128K |
| ) |
| |
| vec_cc_generated_test( |
| NAME |
| vrem |
| OPFMT |
| OPIVV |
| OPIVX |
| LINKOPTS |
| -Xlinker --defsym=__itcm_length__=128K |
| ) |
| |
| vec_cc_generated_test( |
| NAME |
| vremu |
| OPFMT |
| OPIVV |
| OPIVX |
| LINKOPTS |
| -Xlinker --defsym=__itcm_length__=128K |
| ) |
| |
| vec_cc_generated_test( |
| NAME |
| vwadd |
| OPFMT |
| OPIVV |
| OPIVX |
| LINKOPTS |
| -Xlinker --defsym=__itcm_length__=128K |
| ) |
| |
| vec_cc_generated_test( |
| NAME |
| vwaddu |
| OPFMT |
| OPIVV |
| OPIVX |
| LINKOPTS |
| -Xlinker --defsym=__itcm_length__=128K |
| ) |
| |
| vec_cc_generated_test( |
| NAME |
| vwsub |
| OPFMT |
| OPIVV |
| OPIVX |
| LINKOPTS |
| -Xlinker --defsym=__itcm_length__=128K |
| ) |
| |
| vec_cc_generated_test( |
| NAME |
| vwsubu |
| OPFMT |
| OPIVV |
| OPIVX |
| LINKOPTS |
| -Xlinker --defsym=__itcm_length__=128K |
| ) |
| |
| vec_cc_generated_test( |
| NAME |
| vmax |
| OPFMT |
| OPIVV |
| OPIVX |
| LINKOPTS |
| -Xlinker --defsym=__itcm_length__=128K |
| ) |
| |
| vec_cc_generated_test( |
| NAME |
| vmaxu |
| OPFMT |
| OPIVV |
| OPIVX |
| LINKOPTS |
| -Xlinker --defsym=__itcm_length__=128K |
| ) |
| |
| vec_cc_generated_test( |
| NAME |
| vsext |
| OPFMT |
| VXUNARY0 |
| LINKOPTS |
| -Xlinker --defsym=__itcm_length__=128K |
| ) |
| |
| vec_cc_generated_test( |
| NAME |
| vzext |
| OPFMT |
| VXUNARY0 |
| LINKOPTS |
| -Xlinker --defsym=__itcm_length__=128K |
| ) |
| |
| vec_cc_test( |
| NAME |
| vsetvl_test |
| SRCS |
| vsetvl_test.cpp |
| LINKOPTS |
| -Xlinker --defsym=__itcm_length__=128K |
| ) |
| |
| vec_cc_test( |
| NAME |
| vle_vse_test |
| SRCS |
| vle_vse_test.cpp |
| LINKOPTS |
| -Xlinker --defsym=__itcm_length__=128K |
| TIMEOUT |
| 40 |
| ) |
| |
| vec_cc_test( |
| NAME |
| vmv_test |
| SRCS |
| vmv_test.cpp |
| LINKOPTS |
| -Xlinker --defsym=__itcm_length__=128K |
| TIMEOUT |
| 40 |
| ) |