1 /* { dg-do compile } */
2 /* { dg-options "-O2 -mno-fix-cortex-a53-835769 -march=armv8-a -mcpu=generic -save-temps" } */
4 /* Check that the attribute overrides the command line option
5 and the fix is applied once. */
7 __attribute__ ((target ("fix-cortex-a53-835769")))
9 test (unsigned long long a
, double b
, unsigned long long c
,
10 unsigned long long d
, unsigned long long *e
)
13 volatile unsigned long long tmp
= *e
;
14 __asm__
__volatile ("// %0, %1"
17 : /* No clobbers. */);
22 test2 (unsigned long long a
, double b
, unsigned long long c
,
23 unsigned long long d
, unsigned long long *e
)
26 volatile unsigned long long tmp
= *e
;
27 __asm__
__volatile ("// %0, %1"
30 : /* No clobbers. */);
34 /* { dg-final { scan-assembler-times "between mem op and" 1 } } */