1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-26 09:48:45 -05:00
sdrangel/cmake/test/test_arm_neon.cxx

17 lines
272 B
C++

#include <arm_neon.h>
#include <stdint.h>
#include <stdlib.h>
#include <signal.h>
void signalHandler(int signum) {
exit(signum); // SIGILL = 4
}
int main(int argc, char* argv[])
{
signal(SIGILL, signalHandler);
uint32x4_t x={0};
x=veorq_u32(x,x);
return 0;
}