(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
i386/
hle-xadd-acq-1.c
       1  /* { dg-do compile } */
       2  /* { dg-options "-march=x86-64 -mhle" } */
       3  /* { dg-final { scan-assembler "lock;?\[ \n\t\]+\(xacquire\|\.byte\[ \t\]+0xf2\)\[ \t\n\]+xadd" } } */
       4  
       5  int
       6  hle_xadd (int *p, int v)
       7  {
       8    return __atomic_fetch_add (p, v, __ATOMIC_ACQUIRE | __ATOMIC_HLE_ACQUIRE);
       9  }