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.
CMake Error at cmake/modules/LLVM-Build.cmake:42 (get_property):
get_property could not find TARGET AArch32. Perhaps it has not yet been
created.
Call Stack (most recent call first):
lib/CMakeLists.txt:70 (LLVMBuildGenerateCFragment)
CMake Error at cmake/modules/LLVM-Build.cmake:43 (get_property):
get_property could not find TARGET AArch32. Perhaps it has not yet been
created.
Call Stack (most recent call first):
lib/CMakeLists.txt:70 (LLVMBuildGenerateCFragment)
cmake -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=”AArch32″/foo/llvm-project
cmake to built the system for AArch32
Sanket Lonkar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.