/* { dg-do run { target aarch64_sve256_hw } } */ /* { dg-options "-O3 -msve-vector-bits=256 -std=gnu99" } */ #include "svlast.c" int main (void) { int8_t res_8_SV_VL1__a = 1; int8_t res_8_SV_VL2__a = 2; int8_t res_8_SV_VL3__a = 3; int8_t res_8_SV_VL4__a = 4; int8_t res_8_SV_VL5__a = 5; int8_t res_8_SV_VL6__a = 6; int8_t res_8_SV_VL7__a = 7; int8_t res_8_SV_VL8__a = 8; int8_t res_8_SV_VL16__a = 16; uint8_t res_8_SV_VL1_u_a = 1; uint8_t res_8_SV_VL2_u_a = 2; uint8_t res_8_SV_VL3_u_a = 3; uint8_t res_8_SV_VL4_u_a = 4; uint8_t res_8_SV_VL5_u_a = 5; uint8_t res_8_SV_VL6_u_a = 6; uint8_t res_8_SV_VL7_u_a = 7; uint8_t res_8_SV_VL8_u_a = 8; uint8_t res_8_SV_VL16_u_a = 16; int16_t res_16_SV_VL1__a = 1; int16_t res_16_SV_VL2__a = 2; int16_t res_16_SV_VL3__a = 3; int16_t res_16_SV_VL4__a = 4; int16_t res_16_SV_VL5__a = 5; int16_t res_16_SV_VL6__a = 6; int16_t res_16_SV_VL7__a = 7; int16_t res_16_SV_VL8__a = 8; int16_t res_16_SV_VL16__a = 0; uint16_t res_16_SV_VL1_u_a = 1; uint16_t res_16_SV_VL2_u_a = 2; uint16_t res_16_SV_VL3_u_a = 3; uint16_t res_16_SV_VL4_u_a = 4; uint16_t res_16_SV_VL5_u_a = 5; uint16_t res_16_SV_VL6_u_a = 6; uint16_t res_16_SV_VL7_u_a = 7; uint16_t res_16_SV_VL8_u_a = 8; uint16_t res_16_SV_VL16_u_a = 0; int32_t res_32_SV_VL1__a = 1; int32_t res_32_SV_VL2__a = 2; int32_t res_32_SV_VL3__a = 3; int32_t res_32_SV_VL4__a = 4; int32_t res_32_SV_VL5__a = 5; int32_t res_32_SV_VL6__a = 6; int32_t res_32_SV_VL7__a = 7; int32_t res_32_SV_VL8__a = 0; int32_t res_32_SV_VL16__a = 0; uint32_t res_32_SV_VL1_u_a = 1; uint32_t res_32_SV_VL2_u_a = 2; uint32_t res_32_SV_VL3_u_a = 3; uint32_t res_32_SV_VL4_u_a = 4; uint32_t res_32_SV_VL5_u_a = 5; uint32_t res_32_SV_VL6_u_a = 6; uint32_t res_32_SV_VL7_u_a = 7; uint32_t res_32_SV_VL8_u_a = 0; uint32_t res_32_SV_VL16_u_a = 0; int64_t res_64_SV_VL1__a = 1; int64_t res_64_SV_VL2__a = 2; int64_t res_64_SV_VL3__a = 3; int64_t res_64_SV_VL4__a = 0; int64_t res_64_SV_VL5__a = 0; int64_t res_64_SV_VL6__a = 0; int64_t res_64_SV_VL7__a = 0; int64_t res_64_SV_VL8__a = 0; int64_t res_64_SV_VL16__a = 0; uint64_t res_64_SV_VL1_u_a = 1; uint64_t res_64_SV_VL2_u_a = 2; uint64_t res_64_SV_VL3_u_a = 3; uint64_t res_64_SV_VL4_u_a = 0; uint64_t res_64_SV_VL5_u_a = 0; uint64_t res_64_SV_VL6_u_a = 0; uint64_t res_64_SV_VL7_u_a = 0; uint64_t res_64_SV_VL8_u_a = 0; uint64_t res_64_SV_VL16_u_a = 0; int8_t res_8_SV_VL1__b = 0; int8_t res_8_SV_VL2__b = 1; int8_t res_8_SV_VL3__b = 2; int8_t res_8_SV_VL4__b = 3; int8_t res_8_SV_VL5__b = 4; int8_t res_8_SV_VL6__b = 5; int8_t res_8_SV_VL7__b = 6; int8_t res_8_SV_VL8__b = 7; int8_t res_8_SV_VL16__b = 15; uint8_t res_8_SV_VL1_u_b = 0; uint8_t res_8_SV_VL2_u_b = 1; uint8_t res_8_SV_VL3_u_b = 2; uint8_t res_8_SV_VL4_u_b = 3; uint8_t res_8_SV_VL5_u_b = 4; uint8_t res_8_SV_VL6_u_b = 5; uint8_t res_8_SV_VL7_u_b = 6; uint8_t res_8_SV_VL8_u_b = 7; uint8_t res_8_SV_VL16_u_b = 15; int16_t res_16_SV_VL1__b = 0; int16_t res_16_SV_VL2__b = 1; int16_t res_16_SV_VL3__b = 2; int16_t res_16_SV_VL4__b = 3; int16_t res_16_SV_VL5__b = 4; int16_t res_16_SV_VL6__b = 5; int16_t res_16_SV_VL7__b = 6; int16_t res_16_SV_VL8__b = 7; int16_t res_16_SV_VL16__b = 15; uint16_t res_16_SV_VL1_u_b = 0; uint16_t res_16_SV_VL2_u_b = 1; uint16_t res_16_SV_VL3_u_b = 2; uint16_t res_16_SV_VL4_u_b = 3; uint16_t res_16_SV_VL5_u_b = 4; uint16_t res_16_SV_VL6_u_b = 5; uint16_t res_16_SV_VL7_u_b = 6; uint16_t res_16_SV_VL8_u_b = 7; uint16_t res_16_SV_VL16_u_b = 15; int32_t res_32_SV_VL1__b = 0; int32_t res_32_SV_VL2__b = 1; int32_t res_32_SV_VL3__b = 2; int32_t res_32_SV_VL4__b = 3; int32_t res_32_SV_VL5__b = 4; int32_t res_32_SV_VL6__b = 5; int32_t res_32_SV_VL7__b = 6; int32_t res_32_SV_VL8__b = 7; int32_t res_32_SV_VL16__b = 7; uint32_t res_32_SV_VL1_u_b = 0; uint32_t res_32_SV_VL2_u_b = 1; uint32_t res_32_SV_VL3_u_b = 2; uint32_t res_32_SV_VL4_u_b = 3; uint32_t res_32_SV_VL5_u_b = 4; uint32_t res_32_SV_VL6_u_b = 5; uint32_t res_32_SV_VL7_u_b = 6; uint32_t res_32_SV_VL8_u_b = 7; uint32_t res_32_SV_VL16_u_b = 7; int64_t res_64_SV_VL1__b = 0; int64_t res_64_SV_VL2__b = 1; int64_t res_64_SV_VL3__b = 2; int64_t res_64_SV_VL4__b = 3; int64_t res_64_SV_VL5__b = 3; int64_t res_64_SV_VL6__b = 3; int64_t res_64_SV_VL7__b = 3; int64_t res_64_SV_VL8__b = 3; int64_t res_64_SV_VL16__b = 3; uint64_t res_64_SV_VL1_u_b = 0; uint64_t res_64_SV_VL2_u_b = 1; uint64_t res_64_SV_VL3_u_b = 2; uint64_t res_64_SV_VL4_u_b = 3; uint64_t res_64_SV_VL5_u_b = 3; uint64_t res_64_SV_VL6_u_b = 3; uint64_t res_64_SV_VL7_u_b = 3; uint64_t res_64_SV_VL8_u_b = 3; uint64_t res_64_SV_VL16_u_b = 3; int8_t res_8_SV_VL1__a_false = 0; int8_t res_8_SV_VL2__a_false = 0; int8_t res_8_SV_VL3__a_false = 0; int8_t res_8_SV_VL4__a_false = 0; int8_t res_8_SV_VL5__a_false = 0; int8_t res_8_SV_VL6__a_false = 0; int8_t res_8_SV_VL7__a_false = 0; int8_t res_8_SV_VL8__a_false = 0; int8_t res_8_SV_VL16__a_false = 0; uint8_t res_8_SV_VL1_u_a_false = 0; uint8_t res_8_SV_VL2_u_a_false = 0; uint8_t res_8_SV_VL3_u_a_false = 0; uint8_t res_8_SV_VL4_u_a_false = 0; uint8_t res_8_SV_VL5_u_a_false = 0; uint8_t res_8_SV_VL6_u_a_false = 0; uint8_t res_8_SV_VL7_u_a_false = 0; uint8_t res_8_SV_VL8_u_a_false = 0; uint8_t res_8_SV_VL16_u_a_false = 0; int16_t res_16_SV_VL1__a_false = 0; int16_t res_16_SV_VL2__a_false = 0; int16_t res_16_SV_VL3__a_false = 0; int16_t res_16_SV_VL4__a_false = 0; int16_t res_16_SV_VL5__a_false = 0; int16_t res_16_SV_VL6__a_false = 0; int16_t res_16_SV_VL7__a_false = 0; int16_t res_16_SV_VL8__a_false = 0; int16_t res_16_SV_VL16__a_false = 0; uint16_t res_16_SV_VL1_u_a_false = 0; uint16_t res_16_SV_VL2_u_a_false = 0; uint16_t res_16_SV_VL3_u_a_false = 0; uint16_t res_16_SV_VL4_u_a_false = 0; uint16_t res_16_SV_VL5_u_a_false = 0; uint16_t res_16_SV_VL6_u_a_false = 0; uint16_t res_16_SV_VL7_u_a_false = 0; uint16_t res_16_SV_VL8_u_a_false = 0; uint16_t res_16_SV_VL16_u_a_false = 0; int32_t res_32_SV_VL1__a_false = 0; int32_t res_32_SV_VL2__a_false = 0; int32_t res_32_SV_VL3__a_false = 0; int32_t res_32_SV_VL4__a_false = 0; int32_t res_32_SV_VL5__a_false = 0; int32_t res_32_SV_VL6__a_false = 0; int32_t res_32_SV_VL7__a_false = 0; int32_t res_32_SV_VL8__a_false = 0; int32_t res_32_SV_VL16__a_false = 0; uint32_t res_32_SV_VL1_u_a_false = 0; uint32_t res_32_SV_VL2_u_a_false = 0; uint32_t res_32_SV_VL3_u_a_false = 0; uint32_t res_32_SV_VL4_u_a_false = 0; uint32_t res_32_SV_VL5_u_a_false = 0; uint32_t res_32_SV_VL6_u_a_false = 0; uint32_t res_32_SV_VL7_u_a_false = 0; uint32_t res_32_SV_VL8_u_a_false = 0; uint32_t res_32_SV_VL16_u_a_false = 0; int64_t res_64_SV_VL1__a_false = 0; int64_t res_64_SV_VL2__a_false = 0; int64_t res_64_SV_VL3__a_false = 0; int64_t res_64_SV_VL4__a_false = 0; int64_t res_64_SV_VL5__a_false = 0; int64_t res_64_SV_VL6__a_false = 0; int64_t res_64_SV_VL7__a_false = 0; int64_t res_64_SV_VL8__a_false = 0; int64_t res_64_SV_VL16__a_false = 0; uint64_t res_64_SV_VL1_u_a_false = 0; uint64_t res_64_SV_VL2_u_a_false = 0; uint64_t res_64_SV_VL3_u_a_false = 0; uint64_t res_64_SV_VL4_u_a_false = 0; uint64_t res_64_SV_VL5_u_a_false = 0; uint64_t res_64_SV_VL6_u_a_false = 0; uint64_t res_64_SV_VL7_u_a_false = 0; uint64_t res_64_SV_VL8_u_a_false = 0; uint64_t res_64_SV_VL16_u_a_false = 0; int8_t res_8_SV_VL1__b_false = 31; int8_t res_8_SV_VL2__b_false = 31; int8_t res_8_SV_VL3__b_false = 31; int8_t res_8_SV_VL4__b_false = 31; int8_t res_8_SV_VL5__b_false = 31; int8_t res_8_SV_VL6__b_false = 31; int8_t res_8_SV_VL7__b_false = 31; int8_t res_8_SV_VL8__b_false = 31; int8_t res_8_SV_VL16__b_false = 31; uint8_t res_8_SV_VL1_u_b_false = 31; uint8_t res_8_SV_VL2_u_b_false = 31; uint8_t res_8_SV_VL3_u_b_false = 31; uint8_t res_8_SV_VL4_u_b_false = 31; uint8_t res_8_SV_VL5_u_b_false = 31; uint8_t res_8_SV_VL6_u_b_false = 31; uint8_t res_8_SV_VL7_u_b_false = 31; uint8_t res_8_SV_VL8_u_b_false = 31; uint8_t res_8_SV_VL16_u_b_false = 31; int16_t res_16_SV_VL1__b_false = 15; int16_t res_16_SV_VL2__b_false = 15; int16_t res_16_SV_VL3__b_false = 15; int16_t res_16_SV_VL4__b_false = 15; int16_t res_16_SV_VL5__b_false = 15; int16_t res_16_SV_VL6__b_false = 15; int16_t res_16_SV_VL7__b_false = 15; int16_t res_16_SV_VL8__b_false = 15; int16_t res_16_SV_VL16__b_false = 15; uint16_t res_16_SV_VL1_u_b_false = 15; uint16_t res_16_SV_VL2_u_b_false = 15; uint16_t res_16_SV_VL3_u_b_false = 15; uint16_t res_16_SV_VL4_u_b_false = 15; uint16_t res_16_SV_VL5_u_b_false = 15; uint16_t res_16_SV_VL6_u_b_false = 15; uint16_t res_16_SV_VL7_u_b_false = 15; uint16_t res_16_SV_VL8_u_b_false = 15; uint16_t res_16_SV_VL16_u_b_false = 15; int32_t res_32_SV_VL1__b_false = 7; int32_t res_32_SV_VL2__b_false = 7; int32_t res_32_SV_VL3__b_false = 7; int32_t res_32_SV_VL4__b_false = 7; int32_t res_32_SV_VL5__b_false = 7; int32_t res_32_SV_VL6__b_false = 7; int32_t res_32_SV_VL7__b_false = 7; int32_t res_32_SV_VL8__b_false = 7; int32_t res_32_SV_VL16__b_false = 7; uint32_t res_32_SV_VL1_u_b_false = 7; uint32_t res_32_SV_VL2_u_b_false = 7; uint32_t res_32_SV_VL3_u_b_false = 7; uint32_t res_32_SV_VL4_u_b_false = 7; uint32_t res_32_SV_VL5_u_b_false = 7; uint32_t res_32_SV_VL6_u_b_false = 7; uint32_t res_32_SV_VL7_u_b_false = 7; uint32_t res_32_SV_VL8_u_b_false = 7; uint32_t res_32_SV_VL16_u_b_false = 7; int64_t res_64_SV_VL1__b_false = 3; int64_t res_64_SV_VL2__b_false = 3; int64_t res_64_SV_VL3__b_false = 3; int64_t res_64_SV_VL4__b_false = 3; int64_t res_64_SV_VL5__b_false = 3; int64_t res_64_SV_VL6__b_false = 3; int64_t res_64_SV_VL7__b_false = 3; int64_t res_64_SV_VL8__b_false = 3; int64_t res_64_SV_VL16__b_false = 3; uint64_t res_64_SV_VL1_u_b_false = 3; uint64_t res_64_SV_VL2_u_b_false = 3; uint64_t res_64_SV_VL3_u_b_false = 3; uint64_t res_64_SV_VL4_u_b_false = 3; uint64_t res_64_SV_VL5_u_b_false = 3; uint64_t res_64_SV_VL6_u_b_false = 3; uint64_t res_64_SV_VL7_u_b_false = 3; uint64_t res_64_SV_VL8_u_b_false = 3; uint64_t res_64_SV_VL16_u_b_false = 3; #undef SVELAST_DEF #define SVELAST_DEF(size, pat, sign, ab, su) \ if (NAME (foo, size, pat, sign, ab) \ (svindex_ ## su ## size (0 ,1)) != \ NAME (res, size, pat, sign, ab)) \ __builtin_abort (); \ if (NAMEF (foo, size, pat, sign, ab) \ (svindex_ ## su ## size (0 ,1)) != \ NAMEF (res, size, pat, sign, ab)) \ __builtin_abort (); ALL_POS () return 0; }