Home
last modified time | relevance | path

Searched refs:vector_size (Results 1 – 25 of 305) sorted by relevance

12345678910>>...13

/external/libcxx/test/libcxx/atomics/atomics.align/
Dalign.pass.sh.cpp69 CHECK_ALIGNMENT(int __attribute__((vector_size(1 * sizeof(int))))); in main()
70 CHECK_ALIGNMENT(int __attribute__((vector_size(2 * sizeof(int))))); in main()
71 CHECK_ALIGNMENT(int __attribute__((vector_size(4 * sizeof(int))))); in main()
72 CHECK_ALIGNMENT(int __attribute__((vector_size(16 * sizeof(int))))); in main()
73 CHECK_ALIGNMENT(int __attribute__((vector_size(32 * sizeof(int))))); in main()
74 CHECK_ALIGNMENT(float __attribute__((vector_size(1 * sizeof(float))))); in main()
75 CHECK_ALIGNMENT(float __attribute__((vector_size(2 * sizeof(float))))); in main()
76 CHECK_ALIGNMENT(float __attribute__((vector_size(4 * sizeof(float))))); in main()
77 CHECK_ALIGNMENT(float __attribute__((vector_size(16 * sizeof(float))))); in main()
78 CHECK_ALIGNMENT(float __attribute__((vector_size(32 * sizeof(float))))); in main()
[all …]
/external/llvm-project/libcxx/test/libcxx/atomics/atomics.align/
Dalign.pass.pass.cpp69 CHECK_ALIGNMENT(int __attribute__((vector_size(1 * sizeof(int))))); in main()
70 CHECK_ALIGNMENT(int __attribute__((vector_size(2 * sizeof(int))))); in main()
71 CHECK_ALIGNMENT(int __attribute__((vector_size(4 * sizeof(int))))); in main()
72 CHECK_ALIGNMENT(int __attribute__((vector_size(16 * sizeof(int))))); in main()
73 CHECK_ALIGNMENT(int __attribute__((vector_size(32 * sizeof(int))))); in main()
74 CHECK_ALIGNMENT(float __attribute__((vector_size(1 * sizeof(float))))); in main()
75 CHECK_ALIGNMENT(float __attribute__((vector_size(2 * sizeof(float))))); in main()
76 CHECK_ALIGNMENT(float __attribute__((vector_size(4 * sizeof(float))))); in main()
77 CHECK_ALIGNMENT(float __attribute__((vector_size(16 * sizeof(float))))); in main()
78 CHECK_ALIGNMENT(float __attribute__((vector_size(32 * sizeof(float))))); in main()
[all …]
/external/llvm-project/clang/test/CodeGen/
Dvector-alignment.c17 double __attribute__((vector_size(16))) v1;
21 double __attribute__((vector_size(32))) v2;
28 double __attribute__((vector_size(64))) v3;
32 double __attribute__((vector_size(1024))) v4;
38 double __attribute__((vector_size(16), aligned(16))) v5;
40 double __attribute__((vector_size(16), aligned(64))) v6;
42 double __attribute__((vector_size(32), aligned(16))) v7;
44 double __attribute__((vector_size(32), aligned(64))) v8;
48 double __attribute__((vector_size(24))) v9;
52 double __attribute__((vector_size(40))) v10;
[all …]
Dvecshift.c18 typedef __attribute__((vector_size(8))) char vector_char8;
19 typedef __attribute__((vector_size(16))) short vector_short8;
20 typedef __attribute__((vector_size(32))) int vector_int8;
21 typedef __attribute__((vector_size(8))) unsigned char vector_uchar8;
22 typedef __attribute__((vector_size(16))) unsigned short vector_ushort8;
23 typedef __attribute__((vector_size(32))) unsigned int vector_uint8;
24 typedef __attribute__((vector_size(4))) char vector_char4;
25 typedef __attribute__((vector_size(4))) short vector_short4;
26 typedef __attribute__((vector_size(16))) int vector_int4;
27 typedef __attribute__((vector_size(4))) unsigned char vector_uchar4;
[all …]
/external/clang/test/CodeGen/
Dvector-alignment.c17 double __attribute__((vector_size(16))) v1;
21 double __attribute__((vector_size(32))) v2;
28 double __attribute__((vector_size(64))) v3;
32 double __attribute__((vector_size(1024))) v4;
38 double __attribute__((vector_size(16), aligned(16))) v5;
40 double __attribute__((vector_size(16), aligned(64))) v6;
42 double __attribute__((vector_size(32), aligned(16))) v7;
44 double __attribute__((vector_size(32), aligned(64))) v8;
48 double __attribute__((vector_size(24))) v9;
52 double __attribute__((vector_size(40))) v10;
[all …]
Dsystemz-abi-vector.c10 typedef __attribute__((vector_size(1))) char v1i8;
12 typedef __attribute__((vector_size(2))) char v2i8;
13 typedef __attribute__((vector_size(2))) short v1i16;
15 typedef __attribute__((vector_size(4))) char v4i8;
16 typedef __attribute__((vector_size(4))) short v2i16;
17 typedef __attribute__((vector_size(4))) int v1i32;
18 typedef __attribute__((vector_size(4))) float v1f32;
20 typedef __attribute__((vector_size(8))) char v8i8;
21 typedef __attribute__((vector_size(8))) short v4i16;
22 typedef __attribute__((vector_size(8))) int v2i32;
[all …]
Dx86_32-arguments-darwin.c79 typedef short T11 __attribute__ ((vector_size (4)));
81 typedef int T12 __attribute__ ((vector_size (8)));
83 typedef long long T13 __attribute__ ((vector_size (8)));
85 typedef double T14 __attribute__ ((vector_size (8)));
87 typedef long long T15 __attribute__ ((vector_size (16)));
89 typedef double T16 __attribute__ ((vector_size (16)));
157 typedef int v39 __attribute((vector_size(16)));
252 typedef int __attribute__((vector_size (8))) t56_v2i;
253 typedef double __attribute__((vector_size (8))) t56_v1d;
254 typedef int __attribute__((vector_size (16))) t56_v4i;
[all …]
Dppc64-vector.c3 typedef short v2i16 __attribute__((vector_size (4)));
4 typedef short v3i16 __attribute__((vector_size (6)));
5 typedef short v4i16 __attribute__((vector_size (8)));
6 typedef short v6i16 __attribute__((vector_size (12)));
7 typedef short v8i16 __attribute__((vector_size (16)));
8 typedef short v16i16 __attribute__((vector_size (32)));
/external/llvm-project/clang/test/Sema/
Dattr-mode-vector-types.c4 typedef int __attribute__((mode(byte))) __attribute__((vector_size(256))) vec_t1;
5 typedef int __attribute__((mode(QI))) __attribute__((vector_size(256))) vec_t2;
6 typedef int __attribute__((mode(SI))) __attribute__((vector_size(256))) vec_t3;
7 typedef int __attribute__((mode(DI))) __attribute__((vector_size(256)))vec_t4;
8 typedef float __attribute__((mode(SF))) __attribute__((vector_size(256))) vec_t5;
9 typedef float __attribute__((mode(DF))) __attribute__((vector_size(256))) vec_t6;
10 typedef float __attribute__((mode(XF))) __attribute__((vector_size(256))) vec_t7;
12 typedef int v8qi __attribute__ ((mode(QI))) __attribute__ ((vector_size(8)));
18 typedef float v4sf __attribute__((mode(SF))) __attribute__ ((vector_size(16)));
21 typedef float __attribute__((mode(QC))) __attribute__((vector_size(256))) vec_t8;
[all …]
Dvecshift.c20 typedef __attribute__((vector_size(8))) char vector_char8;
21 typedef __attribute__((vector_size(16))) short vector_short8;
22 typedef __attribute__((vector_size(32))) int vector_int8;
23 typedef __attribute__((vector_size(8))) unsigned char vector_uchar8;
24 typedef __attribute__((vector_size(16))) unsigned short vector_ushort8;
25 typedef __attribute__((vector_size(32))) unsigned int vector_uint8;
26 typedef __attribute__((vector_size(4))) char vector_char4;
27 typedef __attribute__((vector_size(4))) short vector_short4;
28 typedef __attribute__((vector_size(16))) int vector_int4;
29 typedef __attribute__((vector_size(4))) unsigned char vector_uchar4;
[all …]
Dvector-init.c4 typedef float float4 __attribute__((vector_size(16)));
20 __attribute__((vector_size(16))) float f1(void) { in f1()
21 __attribute__((vector_size(16))) float vec = {0.0f, 0.0f, 0.0f}; in f1()
25 __attribute__((vector_size(16))) float f2( in f2()
26 __attribute__((vector_size(16))) float a1) { in f2()
37 typedef long long __attribute__((vector_size(16))) longlong2;
38 typedef short __attribute__((vector_size(16))) short8;
39 typedef short __attribute__((vector_size(8))) short4;
Dtypes.c57 int __attribute__ ((vector_size (8), vector_size (8))) v; // expected-error {{invalid vector eleme…
73 int __attribute__((vector_size(123456))) v1;
74 int __attribute__((vector_size(0x1000000000))) v2; // expected-error {{vector size too larg…
75 int __attribute__((vector_size((__int128_t)1 << 100))) v3; // expected-error {{vector size too larg…
76 int __attribute__((vector_size(0))) v4; // expected-error {{zero vector size}}
79 typedef int __attribute__((vector_size((__int128_t)1 << 100))) e3; // expected-error {{vector size …
83 enum { e_2 } x3 __attribute__((vector_size(64))); // expected-error {{invalid vector element type}}
/external/clang/test/Sema/
Dattr-mode-vector-types.c4 typedef int __attribute__((mode(byte))) __attribute__((vector_size(256))) vec_t1;
5 typedef int __attribute__((mode(QI))) __attribute__((vector_size(256))) vec_t2;
6 typedef int __attribute__((mode(SI))) __attribute__((vector_size(256))) vec_t3;
7 typedef int __attribute__((mode(DI))) __attribute__((vector_size(256)))vec_t4;
8 typedef float __attribute__((mode(SF))) __attribute__((vector_size(256))) vec_t5;
9 typedef float __attribute__((mode(DF))) __attribute__((vector_size(256))) vec_t6;
10 typedef float __attribute__((mode(XF))) __attribute__((vector_size(256))) vec_t7;
12 typedef int v8qi __attribute__ ((mode(QI))) __attribute__ ((vector_size(8)));
18 typedef float v4sf __attribute__((mode(SF))) __attribute__ ((vector_size(16)));
21 typedef float __attribute__((mode(QC))) __attribute__((vector_size(256))) vec_t8;
[all …]
Dvector-init.c4 typedef float float4 __attribute__((vector_size(16)));
20 __attribute__((vector_size(16))) float f1(void) { in f1()
21 __attribute__((vector_size(16))) float vec = {0.0f, 0.0f, 0.0f}; in f1()
25 __attribute__((vector_size(16))) float f2( in f2()
26 __attribute__((vector_size(16))) float a1) { in f2()
37 typedef long long __attribute__((vector_size(16))) longlong2;
38 typedef short __attribute__((vector_size(16))) short8;
39 typedef short __attribute__((vector_size(8))) short4;
/external/llvm-project/clang/test/CodeGen/SystemZ/
Dsystemz-abi-vector.c20 typedef __attribute__((vector_size(1))) char v1i8;
22 typedef __attribute__((vector_size(2))) char v2i8;
23 typedef __attribute__((vector_size(2))) short v1i16;
25 typedef __attribute__((vector_size(4))) char v4i8;
26 typedef __attribute__((vector_size(4))) short v2i16;
27 typedef __attribute__((vector_size(4))) int v1i32;
28 typedef __attribute__((vector_size(4))) float v1f32;
30 typedef __attribute__((vector_size(8))) char v8i8;
31 typedef __attribute__((vector_size(8))) short v4i16;
32 typedef __attribute__((vector_size(8))) int v2i32;
[all …]
Dbuiltins-systemz-vector3-error.c5 typedef __attribute__((vector_size(16))) signed char vec_schar;
6 typedef __attribute__((vector_size(16))) signed short vec_sshort;
7 typedef __attribute__((vector_size(16))) signed int vec_sint;
8 typedef __attribute__((vector_size(16))) signed long long vec_slong;
9 typedef __attribute__((vector_size(16))) unsigned char vec_uchar;
10 typedef __attribute__((vector_size(16))) unsigned short vec_ushort;
11 typedef __attribute__((vector_size(16))) unsigned int vec_uint;
12 typedef __attribute__((vector_size(16))) unsigned long long vec_ulong;
13 typedef __attribute__((vector_size(16))) double vec_double;
14 typedef __attribute__((vector_size(16))) float vec_float;
Dbuiltins-systemz-vector3.c5 typedef __attribute__((vector_size(16))) signed char vec_schar;
6 typedef __attribute__((vector_size(16))) signed short vec_sshort;
7 typedef __attribute__((vector_size(16))) signed int vec_sint;
8 typedef __attribute__((vector_size(16))) signed long long vec_slong;
9 typedef __attribute__((vector_size(16))) unsigned char vec_uchar;
10 typedef __attribute__((vector_size(16))) unsigned short vec_ushort;
11 typedef __attribute__((vector_size(16))) unsigned int vec_uint;
12 typedef __attribute__((vector_size(16))) unsigned long long vec_ulong;
13 typedef __attribute__((vector_size(16))) double vec_double;
14 typedef __attribute__((vector_size(16))) float vec_float;
Dbuiltins-systemz-vector2-error.c5 typedef __attribute__((vector_size(16))) signed char vec_schar;
6 typedef __attribute__((vector_size(16))) signed short vec_sshort;
7 typedef __attribute__((vector_size(16))) signed int vec_sint;
8 typedef __attribute__((vector_size(16))) signed long long vec_slong;
9 typedef __attribute__((vector_size(16))) unsigned char vec_uchar;
10 typedef __attribute__((vector_size(16))) unsigned short vec_ushort;
11 typedef __attribute__((vector_size(16))) unsigned int vec_uint;
12 typedef __attribute__((vector_size(16))) unsigned long long vec_ulong;
13 typedef __attribute__((vector_size(16))) double vec_double;
14 typedef __attribute__((vector_size(16))) float vec_float;
Dbuiltins-systemz-vector2.c5 typedef __attribute__((vector_size(16))) signed char vec_schar;
6 typedef __attribute__((vector_size(16))) signed short vec_sshort;
7 typedef __attribute__((vector_size(16))) signed int vec_sint;
8 typedef __attribute__((vector_size(16))) signed long long vec_slong;
9 typedef __attribute__((vector_size(16))) unsigned char vec_uchar;
10 typedef __attribute__((vector_size(16))) unsigned short vec_ushort;
11 typedef __attribute__((vector_size(16))) unsigned int vec_uint;
12 typedef __attribute__((vector_size(16))) unsigned long long vec_ulong;
13 typedef __attribute__((vector_size(16))) double vec_double;
14 typedef __attribute__((vector_size(16))) float vec_float;
/external/llvm-project/clang/test/Modules/
Dodr_hash-vector.cpp39 __attribute((vector_size(8))) int x;
42 __attribute((vector_size(8))) int x;
45 __attribute((vector_size(16))) int x;
48 __attribute((vector_size(8))) int x1;
49 __attribute((vector_size(16))) int x2;
50 __attribute((vector_size(8))) unsigned x3;
51 __attribute((vector_size(16))) long x4;
57 __attribute((vector_size(16))) int x;
60 __attribute((vector_size(8))) unsigned x;
66 __attribute((vector_size(8))) int x1;
[all …]
/external/OpenCL-CTS/test_conformance/integer_ops/
Dverification_and_generation_functions.cpp91 verify_long(int test, size_t vector_size, cl_long *inptrA, cl_long *inptrB, cl_long *outptr, size_t… in verify_long() argument
97 for (j=0; j<n; j += vector_size ) in verify_long()
99 for( i = j; i < j + vector_size; i++ ) in verify_long()
154 if (vector_size != 1 && r) { in verify_long()
162 if (vector_size != 1 && r) { in verify_long()
170 if (vector_size != 1 && r) { in verify_long()
178 if (vector_size != 1 && r) { in verify_long()
186 if (vector_size != 1 && r) { in verify_long()
194 if (vector_size != 1 && r) { in verify_long()
202 if (vector_size != 1 && r) { in verify_long()
[all …]
/external/libcxx/test/std/atomics/atomics.lockfree/
Disalwayslockfree.pass.cpp92 #if __has_attribute(vector_size) && defined(_LIBCPP_VERSION) in run()
93 CHECK_ALWAYS_LOCK_FREE(int __attribute__((vector_size(1 * sizeof(int))))); in run()
94 CHECK_ALWAYS_LOCK_FREE(int __attribute__((vector_size(2 * sizeof(int))))); in run()
95 CHECK_ALWAYS_LOCK_FREE(int __attribute__((vector_size(4 * sizeof(int))))); in run()
96 CHECK_ALWAYS_LOCK_FREE(int __attribute__((vector_size(16 * sizeof(int))))); in run()
97 CHECK_ALWAYS_LOCK_FREE(int __attribute__((vector_size(32 * sizeof(int))))); in run()
98 CHECK_ALWAYS_LOCK_FREE(float __attribute__((vector_size(1 * sizeof(float))))); in run()
99 CHECK_ALWAYS_LOCK_FREE(float __attribute__((vector_size(2 * sizeof(float))))); in run()
100 CHECK_ALWAYS_LOCK_FREE(float __attribute__((vector_size(4 * sizeof(float))))); in run()
101 CHECK_ALWAYS_LOCK_FREE(float __attribute__((vector_size(16 * sizeof(float))))); in run()
[all …]
/external/llvm-project/libcxx/test/std/atomics/atomics.lockfree/
Disalwayslockfree.pass.cpp96 #if __has_attribute(vector_size) && defined(_LIBCPP_VERSION) in run()
97 CHECK_ALWAYS_LOCK_FREE(int __attribute__((vector_size(1 * sizeof(int))))); in run()
98 CHECK_ALWAYS_LOCK_FREE(int __attribute__((vector_size(2 * sizeof(int))))); in run()
99 CHECK_ALWAYS_LOCK_FREE(int __attribute__((vector_size(4 * sizeof(int))))); in run()
100 CHECK_ALWAYS_LOCK_FREE(int __attribute__((vector_size(16 * sizeof(int))))); in run()
101 CHECK_ALWAYS_LOCK_FREE(int __attribute__((vector_size(32 * sizeof(int))))); in run()
102 CHECK_ALWAYS_LOCK_FREE(float __attribute__((vector_size(1 * sizeof(float))))); in run()
103 CHECK_ALWAYS_LOCK_FREE(float __attribute__((vector_size(2 * sizeof(float))))); in run()
104 CHECK_ALWAYS_LOCK_FREE(float __attribute__((vector_size(4 * sizeof(float))))); in run()
105 CHECK_ALWAYS_LOCK_FREE(float __attribute__((vector_size(16 * sizeof(float))))); in run()
[all …]
/external/llvm-project/clang/test/CodeGen/X86/
Dx86_32-arguments-darwin.c79 typedef short T11 __attribute__ ((vector_size (4)));
81 typedef int T12 __attribute__ ((vector_size (8)));
83 typedef long long T13 __attribute__ ((vector_size (8)));
85 typedef double T14 __attribute__ ((vector_size (8)));
87 typedef long long T15 __attribute__ ((vector_size (16)));
89 typedef double T16 __attribute__ ((vector_size (16)));
157 typedef int v39 __attribute((vector_size(16)));
252 typedef int __attribute__((vector_size (8))) t56_v2i;
253 typedef double __attribute__((vector_size (8))) t56_v1d;
254 typedef int __attribute__((vector_size (16))) t56_v4i;
[all …]
Dx86-vec-i128.c22 typedef unsigned long long v16u64 __attribute__((vector_size(16)));
23 typedef unsigned __int128 v16u128 __attribute__((vector_size(16)));
31 typedef unsigned long long v32u64 __attribute__((vector_size(32)));
32 typedef unsigned __int128 v32u128 __attribute__((vector_size(32)));
42 typedef unsigned long long v64u64 __attribute__((vector_size(64)));
43 typedef unsigned __int128 v64u128 __attribute__((vector_size(64)));

12345678910>>...13