Debian Codegraph @

gcc/testsuite/gcc.target/aarch64/simd/vrev64f32.x

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