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