| 1 |
// PR target/124133 |
| 2 |
// { dg-options "-mdejagnu-cpu=power8 -mvsx" } |
| 3 |
// { dg-require-effective-target powerpc_vsx } |
| 4 |
|
| 5 |
typedef __INTPTR_TYPE__ intptr_t; |
| 6 |
|
| 7 |
template <int> |
| 8 |
void |
| 9 |
foo (int x, short *y, intptr_t z) |
| 10 |
{ |
| 11 |
__builtin_vec_vsx_ld ((x + z) * 2, y); |
| 12 |
} |