[PATCH] D85128: [Prototype][SVE] Support arm_sve_vector_bits attribute
Cullen Rhodes via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 5 02:25:00 PDT 2020
c-rhodes added a comment.
In D85128#2193309 <https://reviews.llvm.org/D85128#2193309>, @tschuett wrote:
> Sorry. I meant ABI. Can link GCC .o files with Clang .o files using the attributes?
Yes they should be compatible. The machine-level ABI distinguishes 4 types of SVE vector [1]:
- VG×64-bit vector of 8-bit elements
- VG×64-bit vector of 16-bit elements
- VG×64-bit vector of 32-bit elements
- VG×64-bit vector of 64-bit elements
The VLS and VLA types are defined by the ACLE to map to the same machine-level SVE vectors (in both compilers). Hence the mangling changes in this patch.
[1] https://github.com/ARM-software/abi-aa/blob/master/aapcs64/aapcs64.rst#fundamental-data-types
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D85128/new/
https://reviews.llvm.org/D85128
More information about the cfe-commits
mailing list