| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-skip-if "Test is specific to the iWMMXt" { arm*-*-* } { "-mcpu=*" } { "-mcpu=iwmmxt" } } */ |
| 3 |
/* { dg-skip-if "Test is specific to the iWMMXt" { arm*-*-* } { "-mabi=*" } { "-mabi=iwmmxt" } } */ |
| 4 |
/* { dg-skip-if "Test is specific to the iWMMXt" { arm*-*-* } { "-march=*" } { "-march=iwmmxt" } } */ |
| 5 |
/* { dg-skip-if "Test is specific to ARM mode" { arm*-*-* } { "-mthumb" } { "" } } */ |
| 6 |
/* { dg-require-effective-target arm32 } */ |
| 7 |
/* { dg-require-effective-target arm_iwmmxt_ok } */ |
| 8 |
/* { dg-options "-O1 -mcpu=iwmmxt" } */ |
| 9 |
|
| 10 |
long long x6(void); |
| 11 |
void x7(long long, long long); |
| 12 |
void x8(long long); |
| 13 |
|
| 14 |
int x0; |
| 15 |
long long *x1; |
| 16 |
|
| 17 |
void x2(void) { |
| 18 |
long long *x3 = x1; |
| 19 |
while (x1) { |
| 20 |
long long x4 = x0, x5 = x6(); |
| 21 |
x7(x4, x5); |
| 22 |
x8(x5); |
| 23 |
*x3 = 0; |
| 24 |
} |
| 25 |
} |