/* { dg-do run } */ /* { dg-require-effective-target vect_dotprod_hisi } */ /* { dg-options "-static -O3 -ftree-vectorize -fdump-tree-vect-details -save-temps" } */ /* Ensure runtime correctness in the autovectorized two-way dot product operations. */ #include #include #pragma GCC target "+sme2" uint32_t udot2 (int n, uint16_t* data) __arm_streaming { uint32_t sum = 0; for (int i=0; i