1 /* Test fragment for vectors of 2 elements. */
5 constexpr V in1[] = { { A, B}, {A, B}, { A, B},
6 { A, B}, {X, Y}, { X, Y}};
7 constexpr VI mask1[] = { {0, 1}, {(unsigned)-16, 1}, {1, 0},
8 {0, 0}, { 1, 1}, {1, 0}};
9 constexpr V out1[] = { {A, B}, {A, B}, {B, A},
10 {A, A}, {Y, Y}, {Y, X}};
12 constexpr V in2[] = { { A, B}, {A, B}, {A, B}, {A, B},
13 { A, B}, {A, B}, {A, B}};
14 constexpr V in3 = {X, Y};
15 constexpr VI mask2[] = { {0, 1}, {2, 3}, {0, 2}, {2, 1},
16 {3, 0}, {0, 0}, {3, 3}};
18 constexpr V out2[] = { {A, B}, {X, Y}, {A, X}, {X, B},
19 {Y, A}, {A, A}, {Y, Y}};