Reputation: 11
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
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