| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-options "-O2 -mcpu=generic" } */ |
| 3 |
|
| 4 |
int f(int *a, int b) |
| 5 |
{ |
| 6 |
a[28] = 0; |
| 7 |
a[29] = b; |
| 8 |
a[31] = 0; |
| 9 |
} |
| 10 |
|
| 11 |
/* We should be able to produce store pair for the store of 28/29 store. */ |
| 12 |
/* { dg-final { scan-assembler "stp\tw(\[0-9\]+)\|(zr), w\[0-9\]+" } } */ |