Debian Codegraph @

gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vmulxq_laneq_f64_indices_1.c

raw
1 #include <arm_neon.h>
2
3 /* { dg-do compile } */
4 /* { dg-skip-if "" { *-*-* } { "-fno-fat-lto-objects" } } */
5 /* { dg-skip-if "" { arm*-*-* } } */
6
7 float64x2_t
8 f_vmulxq_laneq_f64 (float64x2_t v1, float64x2_t v2)
9 {
10 float64x2_t res;
11 /* { dg-error "lane -1 out of range 0 - 1" "" {target *-*-*} 0 } */
12 res = vmulxq_laneq_f64 (v1, v2, -1);
13 /* { dg-error "lane 2 out of range 0 - 1" "" {target *-*-*} 0 } */
14 res = vmulxq_laneq_f64 (v1, v2, 2);
15 return res;
16 }