[llvm-dev] Clang 5.0 support for armv8 64 bit with neon and auto vectorization

Tim Northover via llvm-dev llvm-dev at lists.llvm.org
Fri Feb 3 09:05:24 PST 2017

Hi Haider,

On 3 February 2017 at 07:13, Haider Zeeshan (CC/ESM1)
<Zeeshan.Haider at de.bosch.com> wrote:
> Being that said, can I be sure that for 64 bit arm architectures (e.g. arm cortex A57) the  neon feature and auto-vectorization is supported as default by clang 5.0?

Yes, unless something has gone horribly wrong they will be. The
obvious quick test would be to compile something trivial like

void foo(float *arr) {
  for (int i = 0; i < 128; ++i)
    arr[i] += 1;

and look at the output.


More information about the llvm-dev mailing list