1 extern void abort (void);
2 
3 int8x16_t
test_vrev64qs8(int8x16_t _arg)4 test_vrev64qs8 (int8x16_t _arg)
5 {
6   return vrev64q_s8 (_arg);
7 }
8 
9 int
main(int argc,char ** argv)10 main (int argc, char **argv)
11 {
12   int i;
13   int8x16_t inorder = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16};
14   int8x16_t reversed = test_vrev64qs8 (inorder);
15   int8x16_t expected = {8, 7, 6, 5, 4, 3, 2, 1, 16, 15, 14, 13, 12, 11, 10, 9};
16 
17   for (i = 0; i < 16; i++)
18     if (reversed[i] != expected[i])
19       abort ();
20   return 0;
21 }
22 
23