1 /* { dg-do compile } */
2 /* { dg-options "-O2 -mmwaitx" } */
4 /* Verify that they work in both 32bit and 64bit. */
9 foo (char *p
, int x
, int y
, int z
, int c
)
11 _mm_monitorx (p
, y
, x
);
16 bar (char *p
, long x
, long y
, long z
, long c
)
18 _mm_monitorx (p
, y
, x
);
25 _mm_monitorx (p
, 0, 0);