[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang / test / Sema / aarch64-sve-intrinsics / acle_sve_bfloat.cpp
blob88579efa4d6c1736791edff8529ea9595bfc2c56
1 // REQUIRES: aarch64-registered-target
3 // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -verify -verify-ignore-unexpected=error,note %s
5 #include <arm_sve.h>
7 void test_bfloat(svbool_t pg, uint64_t u64, int64_t i64, const bfloat16_t *const_bf16_ptr, svbfloat16_t bf16, svbfloat16x2_t bf16x2, svbfloat16x3_t bf16x3, svbfloat16x4_t bf16x4)
9 // expected-error@+1 {{use of undeclared identifier 'svcreate2_bf16'}}
10 svcreate2_bf16(bf16, bf16);
11 // expected-error@+1 {{use of undeclared identifier 'svcreate3_bf16'}}
12 svcreate3_bf16(bf16, bf16, bf16);
13 // expected-error@+1 {{use of undeclared identifier 'svcreate4_bf16'}}
14 svcreate4_bf16(bf16, bf16, bf16, bf16);
15 // expected-error@+1 {{use of undeclared identifier 'svget2_bf16'}}
16 svget2_bf16(bf16x2, u64);
17 // expected-error@+1 {{use of undeclared identifier 'svget3_bf16'}}
18 svget3_bf16(bf16x3, u64);
19 // expected-error@+1 {{use of undeclared identifier 'svget4_bf16'}}
20 svget4_bf16(bf16x4, u64);
21 // expected-error@+1 {{use of undeclared identifier 'svld1_bf16'}}
22 svld1_bf16(pg, const_bf16_ptr);
23 // expected-error@+1 {{use of undeclared identifier 'svld1_vnum_bf16'}}
24 svld1_vnum_bf16(pg, const_bf16_ptr, i64);
25 // expected-error@+1 {{use of undeclared identifier 'svld1rq_bf16'}}
26 svld1rq_bf16(pg, const_bf16_ptr);
27 // expected-error@+1 {{use of undeclared identifier 'svldff1_bf16'}}
28 svldff1_bf16(pg, const_bf16_ptr);
29 // expected-error@+1 {{use of undeclared identifier 'svldff1_vnum_bf16'}}
30 svldff1_vnum_bf16(pg, const_bf16_ptr, i64);
31 // expected-error@+1 {{use of undeclared identifier 'svldnf1_bf16'}}
32 svldnf1_bf16(pg, const_bf16_ptr);
33 // expected-error@+1 {{use of undeclared identifier 'svldnf1_vnum_bf16'}}
34 svldnf1_vnum_bf16(pg, const_bf16_ptr, i64);
35 // expected-error@+1 {{use of undeclared identifier 'svldnt1_bf16'}}
36 svldnt1_bf16(pg, const_bf16_ptr);
37 // expected-error@+1 {{use of undeclared identifier 'svldnt1_vnum_bf16'}}
38 svldnt1_vnum_bf16(pg, const_bf16_ptr, i64);
39 // expected-error@+1 {{use of undeclared identifier 'svrev_bf16'}}
40 svrev_bf16(bf16);
41 // expected-error@+1 {{use of undeclared identifier 'svset2_bf16'}}
42 svset2_bf16(bf16x2, u64, bf16);
43 // expected-error@+1 {{use of undeclared identifier 'svset3_bf16'}}
44 svset3_bf16(bf16x3, u64, bf16);
45 // expected-error@+1 {{use of undeclared identifier 'svset4_bf16'}}
46 svset4_bf16(bf16x4, u64, bf16);
47 // expected-error@+1 {{use of undeclared identifier 'svst1_bf16'}}
48 svst1_bf16(pg, const_bf16_ptr, bf16);
49 // expected-error@+1 {{use of undeclared identifier 'svst1_vnum_bf16'}}
50 svst1_vnum_bf16(pg, const_bf16_ptr, i64, bf16);
51 // expected-error@+1 {{use of undeclared identifier 'svstnt1_bf16'}}
52 svstnt1_bf16(pg, const_bf16_ptr, bf16);
53 // expected-error@+1 {{use of undeclared identifier 'svstnt1_vnum_bf16'}}
54 svstnt1_vnum_bf16(pg, const_bf16_ptr, i64, bf16);
55 // expected-error@+1 {{use of undeclared identifier 'svtrn1_bf16'}}
56 svtrn1_bf16(bf16, bf16);
57 // expected-error@+1 {{use of undeclared identifier 'svtrn1q_bf16'}}
58 svtrn1q_bf16(bf16, bf16);
59 // expected-error@+1 {{use of undeclared identifier 'svtrn2_bf16'}}
60 svtrn2_bf16(bf16, bf16);
61 // expected-error@+1 {{use of undeclared identifier 'svtrn2q_bf16'}}
62 svtrn2q_bf16(bf16, bf16);
63 // expected-error@+1 {{use of undeclared identifier 'svundef_bf16'}}
64 svundef_bf16();
65 // expected-error@+1 {{use of undeclared identifier 'svundef2_bf16'}}
66 svundef2_bf16();
67 // expected-error@+1 {{use of undeclared identifier 'svundef3_bf16'}}
68 svundef3_bf16();
69 // expected-error@+1 {{use of undeclared identifier 'svundef4_bf16'}}
70 svundef4_bf16();
71 // expected-error@+1 {{use of undeclared identifier 'svuzp1_bf16'}}
72 svuzp1_bf16(bf16, bf16);
73 // expected-error@+1 {{use of undeclared identifier 'svuzp1q_bf16'}}
74 svuzp1q_bf16(bf16, bf16);
75 // expected-error@+1 {{use of undeclared identifier 'svuzp2_bf16'}}
76 svuzp2_bf16(bf16, bf16);
77 // expected-error@+1 {{use of undeclared identifier 'svuzp2q_bf16'}}
78 svuzp2q_bf16(bf16, bf16);
79 // expected-error@+1 {{use of undeclared identifier 'svzip1_bf16'}}
80 svzip1_bf16(bf16, bf16);
81 // expected-error@+1 {{use of undeclared identifier 'svzip1q_bf16'}}
82 svzip1q_bf16(bf16, bf16);
83 // expected-error@+1 {{use of undeclared identifier 'svzip2_bf16'}}
84 svzip2_bf16(bf16, bf16);
85 // expected-error@+1 {{use of undeclared identifier 'svzip2q_bf16'}}
86 svzip2q_bf16(bf16, bf16);