27 #include <lal/LALStdlib.h>
28 #include <lal/LALSIMD.h>
30 int main(
int argc,
char **argv) {
35 "Usage: %s [-h|--help]\n\n"
36 "Print compiled and detected SIMD extensions\n\n"
38 " --help display this message and exit\n",
41 if ( strcmp( argv[1],
"-h" ) == 0 || strcmp( argv[1],
"-help" ) == 0 || strcmp( argv[1],
"--help" ) == 0 ) {
48 printf(
"%s was compiled with support for the following instruction sets:\n %s %s\n",
51 printf(
"This machine supports executing the following instruction sets:\n ");
const char * XLALSIMDInstructionSetName(LAL_SIMD_ISET iset)
Return the name of a given instruction set as a string.
int XLALHaveSIMDInstructionSet(LAL_SIMD_ISET iset)
Return true if the executing machine supports the given instruction set.
LAL_SIMD_ISET
SIMD instruction sets this module can detect.
int main(int argc, char **argv)