blob: 2464b8da4f71ff35288c9d19938474e2f4883de6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
/* { dg-do run } */
/* { dg-options "-O2 -Wall" } */
/* { dg-require-effective-target powerpc_altivec_ok } */
/*
* Based on test created by sjmunroe for pr96139
*/
#include <stdio.h>
#include <altivec.h>
volatile vector long long llfoo;
void
print_v2xint64_b () {
printf (" %016llx \n", llfoo[0]);
printf (" %016llx \n", llfoo[1]);
}
int
main() {
llfoo[0]=12345678;
llfoo[1]=34567890;
print_v2xint64_b();
return 0;
}
|