| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-options "-O3 -fdump-tree-forwprop4-details -Wno-psabi" } */ |
| 3 |
/* { dg-additional-options "-msse2" { target i?86-*-* x86_64-*-* } } */ |
| 4 |
|
| 5 |
float *fastconv_parse_dst; |
| 6 |
|
| 7 |
void fastconv_parse () |
| 8 |
{ |
| 9 |
float r3k = fastconv_parse_dst[1] - fastconv_parse_dst[3], |
| 10 |
i0k = fastconv_parse_dst[4] + fastconv_parse_dst[6], |
| 11 |
i1k = fastconv_parse_dst[4] - fastconv_parse_dst[6], |
| 12 |
i2k = fastconv_parse_dst[5] + fastconv_parse_dst[7]; |
| 13 |
fastconv_parse_dst[1] = fastconv_parse_dst[0]; |
| 14 |
fastconv_parse_dst[4] = fastconv_parse_dst[5] = i0k - i2k; |
| 15 |
fastconv_parse_dst[6] = fastconv_parse_dst[7] = i1k + r3k; |
| 16 |
} |
| 17 |
|
| 18 |
/* { dg-final { scan-tree-dump "Vec perm simplify sequences have been blended" "forwprop4" { target { i?86-*-* x86_64-*-* } } } } */ |
| 19 |
/* { dg-final { scan-tree-dump "VEC_PERM_EXPR.*{ 0, 0, 6, 6 }" "forwprop4" { target { i?86-*-* x86_64-*-* } } } } */ |
| 20 |
/* { dg-final { scan-tree-dump "VEC_PERM_EXPR.*{ 1, 1, 7, 7 }" "forwprop4" { target { i?86-*-* x86_64-*-* } } } } */ |