1 /* Check that the appropriate atomic insns are used if the result values
3 /* { dg-do compile { target { atomic_model_soft_gusa_available } } } */
4 /* { dg-options "-dp -O2 -matomic-model=soft-gusa,strict" } */
5 /* { dg-final { scan-assembler-times "atomic_add_fetch" 12 } } */
6 /* { dg-final { scan-assembler-times "atomic_and_fetch" 6 } } */
7 /* { dg-final { scan-assembler-times "atomic_or_fetch" 6 } } */
8 /* { dg-final { scan-assembler-times "atomic_xor_fetch" 6 } } */
9 /* { dg-final { scan-assembler-times "atomic_nand_fetch" 6 } } */
10 /* { dg-final { scan-assembler-times "atomic_not_fetch" 12 } } */
12 #include "pr64660-0.h"