Skip to content

andestech/libvec

Repository files navigation

Open source for Andes Vector library

  • User manual and function API:

    • Html : docs/html/index.html
  • How to build libvec.a

    • execute the script "build_purec_lib.sh", then "libvec.a" will be compiled in the "build_dir/" folder

      $ ./build_purec_lib.sh ${COMPILER_NAME}

      • $1: COMPILER_NAME (ex: riscv32-elf-gcc, riscv64-elf-gcc, gcc, riscv32-elf-clang, riscv64-elf-clang , ...)

      Ex: ./build_purec_lib.sh riscv32-elf-gcc

  • How to link libvec.a

    • Here is a demo.c for function "riscv_vec_add_f32"

      $ riscv32-elf-gcc -I./include -o demo.adx demo.c build_dir/libvec.a

About

Andes Vector Library

Resources

Stars

Watchers

Forks

Packages

No packages published