blob: e2acf28950fb8922a4e8504e0658fc0f2b309bca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
/* { dg-options "-maltivec -mno-vsx" } */
/* { dg-require-effective-target int128 } */
/* { dg-require-effective-target powerpc_altivec } */
/* Verify there is no ICE but one expected error message instead. */
#include <altivec.h>
extern vector signed __int128 res_vslll;
extern unsigned long long aull[2];
void
testVectorInt128Pack ()
{
res_vslll = __builtin_pack_vector_int128 (aull[0], aull[1]); /* { dg-error "'__builtin_pack_vector_int128' requires the '-mvsx' option" } */
}
|