1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
/* { dg-do compile } */ /* { dg-options "-menqcmd -O2" } */ /* { dg-final { scan-assembler-times "\tenqcmd" 1 } } */ /* { dg-final { scan-assembler-times "\tsete" 1 } } */ #include <x86intrin.h> unsigned int w; unsigned int array[16]; int test_enqcmd (void) { return _enqcmd(&w, array); }