[cfe-dev] Over-aligned vst1.64 and vld1.64 for arm-linux-androideabi

Greg McGary via cfe-dev cfe-dev at lists.llvm.org
Wed Feb 7 17:53:43 PST 2018


I am seeing clang for arm-linux-androideabi emit 16-byte-aligned vst1.64
and vld1.64, but the ABI only guarantees 8-byte alignment. Result at
runtime is SIGBUS. Since clang emits "#define __BIGGEST_ALIGNMENT__ 8", it
is aware of the ABI's maximum alignment.

clang -S shows no alignment clause in the address-register operand. I.e.,
simple [rN], not [rN:128], but disassembly shows the [rN:128]. What
controls that default alignment boundary?

G
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20180207/6888d3c3/attachment.html>


More information about the cfe-dev mailing list