1  /* { dg-do compile } */
       2  /* { dg-options "-O2 -ftree-vectorize" } */
       3  
       4  #include <stdint.h>
       5  
       6  void
       7  f (uint16_t *a, uint16_t *b)
       8  {
       9    for (int i = 0; i < 100; ++i)
      10      a[i] = __builtin_bswap16 (b[i]);
      11  }
      12  
      13  /* { dg-final { scan-assembler-times {\trevb\tz[0-9]+\.h, p[0-7]/m, z[0-9]+\.h\n} 1 { xfail aarch64_big_endian } } } */