/* { dg-do compile } */ /* { dg-require-effective-target vect_dotprod_hisi } */ /* Ensure that, given the same input datatype, both the two-way and four-way dot products are autovectorized, with the correct operation then selected based on the distinct output types. */ #include uint32_t udot4(int n, uint8_t* data) { uint32_t sum = 0; for (int i=0; i