| 1 |
/* { dg-do compile { target aarch64*-*-* } } */ |
| 2 |
/* { dg-require-effective-target lp64 } */ |
| 3 |
/* { dg-options "-O3 -mbig-endian" } */ |
| 4 |
|
| 5 |
void __RTL (startwith ("vregs")) foo (void *ptr1, void *ptr2) |
| 6 |
{ |
| 7 |
(function "foo" |
| 8 |
(param "ptr1" |
| 9 |
(DECL_RTL (reg/v:DI <0> [ ptr1 ])) |
| 10 |
(DECL_RTL_INCOMING (reg:DI x0 [ ptr1 ])) |
| 11 |
) ;; param "ptr1" |
| 12 |
(param "ptr2" |
| 13 |
(DECL_RTL (reg/v:DI <1> [ ptr2 ])) |
| 14 |
(DECL_RTL_INCOMING (reg:DI x1 [ ptr2 ])) |
| 15 |
) ;; param "ptr2" |
| 16 |
(insn-chain |
| 17 |
(block 2 |
| 18 |
(edge-from entry (flags "FALLTHRU")) |
| 19 |
(cnote 3 [bb 2] NOTE_INSN_BASIC_BLOCK) |
| 20 |
(insn 4 (set (reg:DI <0>) (reg:DI x0))) |
| 21 |
(insn 5 (set (reg:DI <1>) (reg:DI x1))) |
| 22 |
(insn 6 (set (reg:V2SI <2>) |
| 23 |
(const_vector:V2SI [(const_int 1) |
| 24 |
(const_int 0)])) (nil)) |
| 25 |
(insn 7 (set (mem:V2SI (reg:DI <0>) [1 ptr1+0 S8 A8]) |
| 26 |
(reg:V2SI <2>))) |
| 27 |
(insn 8 (set (reg:V4SI <3>) |
| 28 |
(const_vector:V4SI [(const_int 1) |
| 29 |
(const_int 1) |
| 30 |
(const_int 1) |
| 31 |
(const_int 1)])) (nil)) |
| 32 |
(insn 9 (set (reg:SI <4>) (subreg:SI (reg:V4SI <3>) 12)) |
| 33 |
(expr_list:REG_EQUAL (const_int 1) (nil))) |
| 34 |
(insn 10 (set (mem:SI (reg:DI <1>) [1 ptr2+0 S4 A4]) |
| 35 |
(reg:SI <4>))) |
| 36 |
(edge-to exit (flags "FALLTHRU")) |
| 37 |
) ;; block 2 |
| 38 |
) ;; insn-chain |
| 39 |
) ;; function |
| 40 |
} |
| 41 |
|
| 42 |
/* { dg-final { scan-assembler-not {\tstr\twzr,} } } */ |