(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
powerpc/
pr83926.c
       1  /* { dg-do compile { target { powerpc*-*-* } } } */
       2  /* { dg-options "-O2 -mdejagnu-cpu=power8" } */
       3  
       4  __attribute__ ((altivec(vector__))) long long
       5  sdiv (__attribute__ ((altivec(vector__))) long long a,
       6        __attribute__ ((altivec(vector__))) long long b)
       7  {
       8    return __builtin_vsx_div_2di (a, b);
       9  }
      10  __attribute__ ((altivec(vector__))) unsigned long long
      11  udiv (__attribute__ ((altivec(vector__))) unsigned long long a,
      12        __attribute__ ((altivec(vector__))) unsigned long long b)
      13  {
      14    return __builtin_vsx_udiv_2di (a, b);
      15  }
      16  __attribute__ ((altivec(vector__))) long long
      17  smul (__attribute__ ((altivec(vector__))) long long a,
      18        __attribute__ ((altivec(vector__))) long long b)
      19  {
      20    return __builtin_vsx_mul_2di (a, b);
      21  }