| 1 |
/* PR target/88850 */ |
| 2 |
/* { dg-do compile } */ |
| 3 |
/* { dg-skip-if "do not override -mfloat-abi" { *-*-* } { "-mfloat-abi=*" } {"-mfloat-abi=softfp" } } */ |
| 4 |
/* { dg-options "-O2 -march=armv7-a -mfloat-abi=softfp -mfpu=neon -fdump-rtl-final" } */ |
| 5 |
/* { dg-require-effective-target arm_neon_ok } */ |
| 6 |
|
| 7 |
typedef __builtin_neon_qi int8x8_t __attribute__ ((__vector_size__ (8))); |
| 8 |
void bar (int8x8_t, int8x8_t); |
| 9 |
|
| 10 |
void |
| 11 |
foo (int8x8_t x, int8x8_t y) |
| 12 |
{ |
| 13 |
bar (y, x); |
| 14 |
} |
| 15 |
|
| 16 |
void foo2 (int8x8_t x) |
| 17 |
{ |
| 18 |
int8x8_t y; |
| 19 |
bar (y, x); |
| 20 |
} |
| 21 |
|
| 22 |
/* Check that these 64-bit moves are done in SI. */ |
| 23 |
/* { dg-final { scan-rtl-dump "_movsi_vfp" "final" } } */ |