[MAINTAINERS] Update email and move to DCO
[official-gcc.git] / gcc / testsuite / gcc.target / arm / simd / bf16_dot_3.c
blob93f08f02bc74bce40b78f0901bde1f179b4fde60
1 /* { dg-do compile } */
2 /* { dg-require-effective-target arm_v8_2a_bf16_neon_ok } */
3 /* { dg-add-options arm_v8_2a_bf16_neon } */
5 #include "arm_neon.h"
7 float32x4_t
8 test_vbfdotq_lane_f32_a (float32x4_t r, bfloat16x8_t a, bfloat16x4_t b)
10 /* { dg-error "lane -1 out of range 0 - 1" "" {target *-*-*} 0 } */
11 return vbfdotq_lane_f32 (r, a, b, -1);
14 float32x4_t
15 test_vbfdotq_lane_f32_b (float32x4_t r, bfloat16x8_t a, bfloat16x4_t b)
17 /* { dg-error "lane 2 out of range 0 - 1" "" {target *-*-*} 0 } */
18 return vbfdotq_lane_f32 (r, a, b, 2);
21 float32x4_t
22 test_vbfdotq_laneq_f32_a (float32x4_t r, bfloat16x8_t a, bfloat16x8_t b)
24 /* { dg-error "lane -1 out of range 0 - 3" "" { target *-*-* } 0 } */
25 return vbfdotq_laneq_f32 (r, a, b, -1);
28 float32x4_t
29 test_vbfdotq_laneq_f32_b (float32x4_t r, bfloat16x8_t a, bfloat16x8_t b)
31 /* { dg-error "lane 4 out of range 0 - 3" "" { target *-*-* } 0 } */
32 return vbfdotq_laneq_f32 (r, a, b, 4);