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