summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/other/opaque-3.C
blob: 5ece652c0cd1cb54c6e92006249d316f2568f26f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-do compile } */
/* { dg-options "-mcpu=8540 -mspe -mabi=spe -mfloat-gprs=single" } */
/* { dg-skip-if "not an SPE target" { ! powerpc_spe_nocache } { "*" } { "" } } */

__ev64_opaque__ o;
#define v __attribute__((vector_size(8)))
v unsigned int *p;

void m()
{
  o = __builtin_spe_evldd(p, 5);
}