1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-23 10:05:46 -05:00
sdrangel/cmake/test/test_arm_neon.cxx
Davide Gerhard 6e80780d17
cmake: windows fixes for MSVC
- disable sdrangelbench on windows with MSVC
- fix cpu flags test code for MSVC
- add ico file
2019-05-28 15:19:12 +02:00

17 lines
272 B
C++

#include <stdint.h>
#include <arm_neon.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;
}