[LLVMdev] ARM NEON intrinsics in clang

Stanislav Manilov stanislav.manilov at gmail.com
Thu Sep 26 10:13:31 PDT 2013

> To answer your question I am testing on a pandaboard currently, which has
>> an arm cortex-a9 processor, which I think is 64-bit.
> Cortex-A9 is still 32-bits, so you'll have all support you need. ;)

Ah, Okay, embarrassing...

however it doesn't if I remove the -ffreestanding flag. I need to figure
>> this out next.
> Can you at least assemble the file to .s? You won't be able to compile
> Tim's example to executable because you don't have a main in there.

I can compile to assembly with the -ffreestanding flag on, but without it I

In file included from neon.c:1:
In file included from
In file included from
In file included from /usr/include/stdint.h:25:
In file included from /usr/include/features.h:341:
/usr/include/stdc-predef.h:30:10: fatal error: 'bits/predefs.h' file not
#include <bits/predefs.h>

which I suspect has something to do with the fact that in /usr/include I
have a folder called x86_64-linux-gnu but not one
called arm-linux-gnueabihf. Am I even remotely right?

 - Stan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130926/06eae0a9/attachment.html>

More information about the llvm-dev mailing list