Re: trying to get C++ code using NEON intrinsics to build
Re: trying to get C++ code using NEON intrinsics to build
- Subject: Re: trying to get C++ code using NEON intrinsics to build
- From: "Patrick J. Collins" <email@hidden>
- Date: Mon, 04 Jul 2016 15:37:43 -0700 (PDT)
Agh.. Nevermind!
It turns out I just needed to:
#include <arm_neon.h>
not
#include "arm_neon.h"
and then I didn't even need to download that file...
Patrick J. Collins
http://collinatorstudios.com
On Mon, 4 Jul 2016, Patrick J. Collins wrote:
> Hi everyone,
>
> I've been wasting hours trying to get my project to build, and nothing
> seems to be working...
>
> To summarize,
>
> I copied the source code from:
> http://clang.llvm.org/doxygen/arm__neon_8h-source.html
>
> Into a file called "arm_neon.h"
>
> added that to my project...
>
> In the C++ file that is using intrinsics, I did #include "arm_neon.h"
>
> When I build, I get a bunch of errors "Use of undeclared identifier
> '__builtin_neon_vaddl'; did you mean '__builtin_neon_vpaddl_v'?"
>
> These errors are in the arm_neon.h file on the lines such as:
>
> // vector long add
> INTTYPES_WIDENING(vaddl, __builtin_neon_vaddl)
>
> What am I doing wrong? How do I get NEON intrinsics to properly build
> in Xcode?
>
> I am using Xcode 7.2.1
>
>
> Patrick J. Collins
> http://collinatorstudios.com
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden