1 /* { dg-do compile { target { aarch64*-*-* } } } */
2 /* { dg-skip-if "" { *-*-* } { "-fno-fat-lto-objects" } } */
3 /* { dg-require-effective-target arm_v8_2a_bf16_neon_ok } */
4 /* { dg-add-options arm_v8_2a_bf16_neon } */
9 f_vbfmlaltq_lane_f32 (float32x4_t r
, bfloat16x8_t a
, bfloat16x4_t b
)
11 /* { dg-error "lane -1 out of range 0 - 3" "" { target *-*-* } 0 } */
12 vbfmlaltq_lane_f32 (r
, a
, b
, -1);
13 /* { dg-error "lane 4 out of range 0 - 3" "" { target *-*-* } 0 } */
14 vbfmlaltq_lane_f32 (r
, a
, b
, 4);
19 f_vbfmlaltq_laneq_f32 (float32x4_t r
, bfloat16x8_t a
, bfloat16x8_t b
)
21 /* { dg-error "lane -1 out of range 0 - 7" "" { target *-*-* } 0 } */
22 vbfmlaltq_laneq_f32 (r
, a
, b
, -1);
23 /* { dg-error "lane 8 out of range 0 - 7" "" { target *-*-* } 0 } */
24 vbfmlaltq_laneq_f32 (r
, a
, b
, 8);
29 f_vbfmlalbq_lane_f32 (float32x4_t r
, bfloat16x8_t a
, bfloat16x4_t b
)
31 /* { dg-error "lane -2 out of range 0 - 3" "" { target *-*-* } 0 } */
32 vbfmlalbq_lane_f32 (r
, a
, b
, -2);
33 /* { dg-error "lane 5 out of range 0 - 3" "" { target *-*-* } 0 } */
34 vbfmlalbq_lane_f32 (r
, a
, b
, 5);
39 f_vbfmlalbq_laneq_f32 (float32x4_t r
, bfloat16x8_t a
, bfloat16x8_t b
)
41 /* { dg-error "lane -2 out of range 0 - 7" "" { target *-*-* } 0 } */
42 vbfmlalbq_laneq_f32 (r
, a
, b
, -2);
43 /* { dg-error "lane 9 out of range 0 - 7" "" { target *-*-* } 0 } */
44 vbfmlalbq_laneq_f32 (r
, a
, b
, 9);