Debian Codegraph @

gcc/testsuite/gcc.target/i386/hle-clear-rel.c

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