Relative Content

Tag Archive for armllvm

llvm built for arm based vector instructions

I have been to get latencies of the arm based cortex a55 based vector instructions mainly aarch32, i have registered targets as
aarch64 – AArch64 (little endian)
aarch64_32 – AArch64 (little endian ILP32)
aarch64_be – AArch64 (big endian)
arm – ARM
arm64 – ARM64 (little endian)
arm64_32 – ARM64 (little endian ILP32)
armeb – ARM (big endian)
riscv32 – 32-bit RISC-V
riscv64 – 64-bit RISC-V
thumb – Thumb
thumbeb – Thumb (big endian)
but aarch32 based vector instructions are not giving latency when i use aarch64 , to resolve this i tried to register the target aarch32 by using the following command
cmake –build build –target clean
cmake -S llvm -B build -G Ninja -DLLVM_ENABLE_PROJECTS=’clang;clang-tools-extra’ -DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD=”RISCV;ARM;AArch64;AArch32″ -DCMAKE_INSTALL_PREFIX=$HOME/llvm/install
cmake –build build
ninja -C build install
but i am getting error as
CMake Error at lib/Target/CMakeLists.txt:36 (add_subdirectory):
add_subdirectory given source “AArch32” which is not an existing directory.