blob: 137a820c87f8efd47d7bc0a18db1dafb3523d858 (
plain)
1
2
3
4
5
6
7
8
9
|
/* { dg-do compile } */
/* { dg-options "-mhle" } */
/* { dg-final { scan-assembler "\[ \n\t\]+\(xrelease\|\.byte\[ \t\]+0xf3\)\[ \t\n\]+mov" } } */
void
hle_clear (char *p, int v)
{
__atomic_clear (p, __ATOMIC_RELEASE | __ATOMIC_HLE_RELEASE);
}
|