(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
powerpc/
p9-vec-length-2.h
       1  #include "p9-vec-length.h"
       2  
       3  /* Test the case loop iteration is unknown.  */
       4  #define N 255
       5  
       6  #define test(TYPE)                                                             \
       7    extern TYPE a_##TYPE[N];                                                     \
       8    extern TYPE b_##TYPE[N];                                                     \
       9    extern TYPE c_##TYPE[N];                                                     \
      10    void __attribute__ ((noinline, noclone)) test##TYPE (unsigned int n)         \
      11    {                                                                            \
      12      unsigned int i = 0;                                                        \
      13      for (i = 0; i < n; i++)                                                    \
      14        c_##TYPE[i] = a_##TYPE[i] + b_##TYPE[i];                                 \
      15    }
      16  
      17  TEST_ALL (test)