2 /* { dg-do assemble } */
3 /* { dg-options "-g -O2" } */
5 extern void *emit_insn (void *);
7 __attribute__((noinline
))
8 void *gen_load_locked_si (void *x
, void *y
)
13 __attribute__((noinline
))
14 void *gen_load_locked_di (void *x
, void *y
)
20 emit_load_locked (int mode
, void *reg
, void *mem
)
22 void * (*fn
) (void *, void *) = ((void *)0);
24 fn
= gen_load_locked_si
;
26 fn
= gen_load_locked_di
;
27 emit_insn (fn (reg
, mem
));