HomeSort by relevance Sort by last modified time
    Searched full:int4 (Results 1 - 25 of 118) sorted by null

1 2 3 4 5

  /external/clang/test/CodeGenOpenCL/
vector_literals_valid.cl 5 typedef __attribute__(( ext_vector_type(4) )) int int4;
10 int4 a_1_1_1_1 = (int4)(1,2,3,4);
11 int4 a_2_1_1 = (int4)((int2)(1,2),3,4);
12 int4 a_1_2_1 = (int4)(1,(int2)(2,3),4);
13 int4 a_1_1_2 = (int4)(1,2,(int2)(3,4));
14 int4 a_2_2 = (int4)((int2)(1,2),(int2)(3,4))
    [all...]
vector_literals_nested.cl 4 typedef int int4 __attribute((ext_vector_type(4)));
6 __constant const int4 itest1 = (int4)(1, 2, ((int2)(3, 4)));
8 __constant const int4 itest2 = (int4)(1, 2, ((int2)(3)));
shifts.cl 30 typedef __attribute__((ext_vector_type(4))) int int4;
33 int4 vectorVectorTest(int4 a,int4 b) {
36 int4 c = a << b;
38 int4 d = {1, 1, 1, 1};
39 int4 e = {33, 34, -28, -29};
40 int4 f = c + (d << e);
46 int4 vectorScalarTest(int4 a,int b)
    [all...]
  /external/clang/test/SemaOpenCL/
vector_literals_const.cl 6 typedef int int4 __attribute((ext_vector_type(4)));
8 __constant int4 i_1_1_1_1 = (int4)(1,2,3,4);
9 __constant int4 i_2_1_1 = (int4)((int2)(1,2),3,4);
10 __constant int4 i_1_2_1 = (int4)(1,(int2)(2,3),4);
11 __constant int4 i_1_1_2 = (int4)(1,2,(int2)(3,4));
12 __constant int4 i_2_2 = (int4)((int2)(1,2),(int2)(3,4))
    [all...]
vector_conv_invalid.cl 4 typedef int int4 __attribute((ext_vector_type(4)));
10 int4 i = u; // expected-error{{initializing 'int4' with an expression of incompatible type 'uint4'}}
11 int4 e = (int4)u; // expected-error{{invalid conversion between ext-vector type 'int4' and 'uint4'}}
vector_literals_invalid.cl 4 typedef __attribute__(( ext_vector_type(4) )) int int4;
9 int4 a = (int4)(1,2,3); // expected-error{{too few elements}}
10 int4 b = (int4)(1,2,3,4,5); // expected-error{{excess elements in vector}}
vec_step.cl 5 typedef int int4 __attribute__((ext_vector_type(4)));
10 int4 auto1;
24 int res9[vec_step(int4) == 4 ? 1 : -1];
  /external/clang/test/CodeGen/
palignr.c 5 typedef __attribute__((vector_size(16))) int int4; typedef
8 int4 align1(int4 a, int4 b) { return _mm_alignr_epi8(a, b, 15); }
12 int4 align2(int4 a, int4 b) { return _mm_alignr_epi8(a, b, 16); }
14 int4 align3(int4 a, int4 b) { return _mm_alignr_epi8(a, b, 17);
    [all...]
ext-vector.c 5 typedef __attribute__(( ext_vector_type(4) )) int int4; typedef
119 int4 cmp;
130 void test7(int4 *ap, int4 *bp, int c) {
131 int4 a = *ap;
132 int4 b = *bp;
186 int4 cmp;
207 int4 cmp;
218 int test9(int4 V) {
225 int test10(int4 V)
    [all...]
  /external/clang/test/Parser/
opencl-astype.cl 8 typedef __attribute__(( ext_vector_type(4) )) int int4;
16 // Verify int4->float3, float3->int4 works.
17 int4 i4;
19 i4 = __builtin_astype(f3, int4);
  /external/clang/test/Sema/
ext_vector_casts.c 4 typedef __attribute__(( ext_vector_type(4) )) int int4; typedef
12 int4 ivec4;
23 ivec4 = (int4)5.0f;
24 ivec4 = (int4)5;
25 ivec4 = (int4)vec4_3;
27 i = (int)ivec4; // expected-error {{invalid conversion between vector type 'int4' and integer type 'int' of different size}}
28 i = ivec4; // expected-error {{assigning to 'int' from incompatible type 'int4'}}
30 ivec4 = (int4)ptr; // expected-error {{invalid conversion between vector type 'int4' and scalar type 'int *'}}
40 ivec4 += vec4; // expected-error {{can't convert between vector values of different size ('int4' and 'float4')}
    [all...]
typedef-retain.c 4 typedef int int4 __attribute__((vector_size(16))); typedef
5 typedef int4* int4p;
7 void test1(float4 a, int4 *result, int i) {
8 result[i] = a; // expected-error {{assigning to 'int4' from incompatible type 'float4'}}
12 result[i] = a; // expected-error {{assigning to 'int4' from incompatible type 'float4'}}
conversion-64-32.c 9 typedef int int4 __attribute__ ((vector_size(16))); typedef
12 int4 test1(long2 a) {
13 int4 v127 = a; // no warning.
ext_vector_comparisons.c 3 typedef __attribute__(( ext_vector_type(4) )) int int4; typedef
5 static int4 test1() {
6 int4 vec, rv;
20 static int4 test2() {
  /frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
int4.rs 5 int4 gi4 = {2, 2, 2, 2};
9 int4 i4 = {u4.x, u4.y, u4.z, u4.w};
  /frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
int4.rs 5 int4 gi4 = {2, 2, 2, 2};
9 int4 i4 = {u4.x, u4.y, u4.z, u4.w};
  /cts/tests/src/android/renderscript/cts/
send_to_client.rs 4 void root(const int4* in) {
pown_f32.rs 25 *out = pown(*in, *(int4 *)rsGetElementAt(n4,x));
rootn_f32.rs 25 *out = rootn(*in, *(int4 *)rsGetElementAt(n4,x));
  /frameworks/base/graphics/java/android/renderscript/
Int4.java 24 * Class for exposing the native RenderScript int4 type back to the Android system.
27 public class Int4 {
28 public Int4() {
31 public Int4(int initX, int initY, int initZ, int initW) {
  /frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
Int4.java 24 * Class for exposing the native RenderScript int4 type back to the Android system.
27 public class Int4 {
28 public Int4() {
31 public Int4(int initX, int initY, int initZ, int initW) {
  /frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
colorcube.rs 22 static int4 gDims;
23 static int4 gCoordMul;
43 int4 baseCoord = convert_int4(*in) * gCoordMul;
44 int4 coord1 = baseCoord >> (int4)16;
45 int4 coord2 = min(coord1 + 1, gDims - 1);
47 int4 weight2 = baseCoord & 0xffff;
48 int4 weight1 = (int4)0x10000 - weight2;
  /frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
colorcube.rs 22 static int4 gDims;
23 static int4 gCoordMul;
43 int4 baseCoord = convert_int4(*in) * gCoordMul;
44 int4 coord1 = baseCoord >> (int4)16;
45 int4 coord2 = min(coord1 + 1, gDims - 1);
47 int4 weight2 = baseCoord & 0xffff;
48 int4 weight1 = (int4)0x10000 - weight2;
  /external/clang/test/Index/
complete-interfaces.m 4 @class Int1, Int2, Int3, Int4;
26 // CHECK-CC1: ObjCInterfaceDecl:{TypedText Int4}
31 // CHECK-CC2-NEXT: ObjCInterfaceDecl:{TypedText Int4}
35 // CHECK-CC3-NEXT: ObjCInterfaceDecl:{TypedText Int4}
40 // CHECK-CC4-NEXT: ObjCInterfaceDecl:{TypedText Int4}
44 // CHECK-CC5-NEXT: ObjCInterfaceDecl:{TypedText Int4}
  /frameworks/rs/cpu_ref/
rsCpuIntrinsic3DLUT.cpp 72 int4 dims = {
79 const int4 coordMul = convert_int4(m * (float4)0x8000);
105 int4 baseCoord = convert_int4(*in) * coordMul;
106 int4 coord1 = baseCoord >> (int4)15;
107 //int4 coord2 = min(coord1 + 1, gDims - 1);
109 int4 weight2 = baseCoord & 0x7fff;
110 int4 weight1 = (int4)0x8000 - weight2;
128 uint4 yz00 = ((v000 * weight1.x) + (v100 * weight2.x)) >> (int4)7
    [all...]

Completed in 837 milliseconds

1 2 3 4 5