Joe Raoul
Joe Raoul

Reputation: 11

ARM NEON Intrinsics in C

I'm writing an application for NEON. Where can I find the NEON ARM intrinsics in C/C++? I want to be able to decode my code running the application on a PC.

Upvotes: 1

Views: 1558

Answers (1)

silver_rocket
silver_rocket

Reputation: 428

You can effectively simulate NEON intrinsics on PC using this header file: NEONvsSSE.h

In my experience it has close to 100% Arm/PC compatibility

In your solution it is possible to use definition like following to distinguish between Arm/PC versions:

#if !defined PC_VER
#include <arm_neon.h>
#else
#include "NEONvsSSE.h"
#endif

Upvotes: 0

Related Questions