aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/aarch64/atomic-op-char.c
blob: d6c2aa593baa2f3bf42d9c5571dbe8e4358601cd (plain)
1
2
3
4
5
6
7
/* { dg-do compile } */
/* { dg-options "-O2" } */

#include "atomic-op-char.x"

/* { dg-final { scan-assembler-times "ldxrb\tw\[0-9\]+, \\\[x\[0-9\]+\\\]" 6 } } */
/* { dg-final { scan-assembler-times "stxrb\tw\[0-9\]+, w\[0-9\]+, \\\[x\[0-9\]+\\\]" 6 } } */