Home
last modified time | relevance | path

Searched refs:double4 (Results 1 – 25 of 60) sorted by relevance

123

/external/clang/test/CodeGenOpenCL/
Dlogical-ops.cl8 typedef double double4 __attribute((ext_vector_type(4)));
35 kernel void doubleops(global long4 *out, global double4 *dout) {
37 out[0] = (double4)(1, 1, 1, 1) && 1.0;
39 out[1] = (double4)(0, 0, 0, 0) && (double4)(0, 0, 0, 0);
42 out[2] = (double4)(0, 0, 0, 0) || (double4)(1, 1, 1, 1);
44 out[3] = (double4)(0, 0, 0, 0) || 0.0f;
47 out[4] = !(double4)(0, 0, 0, 0);
49 out[5] = !(double4)(1, 2, 3, 4);
51 out[6] = !(double4)(0, 1, 0, 1);
53 dout[0] = (double4)(!0.0f);
[all …]
/external/llvm-project/clang/test/CodeGenOpenCL/
Dlogical-ops.cl9 typedef double double4 __attribute((ext_vector_type(4)));
36 kernel void doubleops(global long4 *out, global double4 *dout) {
38 out[0] = (double4)(1, 1, 1, 1) && 1.0;
40 out[1] = (double4)(0, 0, 0, 0) && (double4)(0, 0, 0, 0);
43 out[2] = (double4)(0, 0, 0, 0) || (double4)(1, 1, 1, 1);
45 out[3] = (double4)(0, 0, 0, 0) || 0.0f;
48 out[4] = !(double4)(0, 0, 0, 0);
50 out[5] = !(double4)(1, 2, 3, 4);
52 out[6] = !(double4)(0, 1, 0, 1);
54 dout[0] = (double4)(!0.0f);
[all …]
/external/clang/test/SemaOpenCL/
Dinvalid-logical-ops-1.2.cl6 typedef __attribute__((ext_vector_type(4))) double double4;
50 double4 f4 = (double4)(0, 0, 0, 0);
53 double4 f4baf = f4 & 0.0; // expected-error {{invalid operands}}
54 double4 f4bof = f4 | 0.0; // expected-error {{invalid operands}}
55 double4 f4bxf = f4 ^ 0.0; // expected-error {{invalid operands}}
Dinvalid-logical-ops-1.1.cl5 typedef __attribute__((ext_vector_type(4))) double double4;
49 double4 f4 = (double4)(0, 0, 0, 0);
52 double4 f4baf = f4 & 0.0; // expected-error {{invalid operands}}
53 double4 f4bof = f4 | 0.0; // expected-error {{invalid operands}}
54 double4 f4bxf = f4 ^ 0.0; // expected-error {{invalid operands}}
/external/llvm-project/clang/test/Parser/
Dopencl-astype.cl11 typedef __attribute__(( ext_vector_type(4) )) double double4;
14double4 d4 = __builtin_astype(f4, double4); // expected-error{{invalid reinterpretation: sizes of …
/external/clang/test/Parser/
Dopencl-astype.cl11 typedef __attribute__(( ext_vector_type(4) )) double double4;
14double4 d4 = __builtin_astype(f4, double4); // expected-error{{invalid reinterpretation: sizes of …
/external/llvm-project/libclc/generic/include/clc/geometric/
Dcross.h6 _CLC_OVERLOAD _CLC_DECL double4 cross(double4 p0, double4 p1);
/external/llvm-project/libclc/generic/lib/geometric/
Dcross.cl21 _CLC_OVERLOAD _CLC_DEF double4 cross(double4 p0, double4 p1) {
22 return (double4)(p0.y*p1.z - p0.z*p1.y, p0.z*p1.x - p0.x*p1.z,
Dnormalize.cl137 _CLC_OVERLOAD _CLC_DEF double4 normalize(double4 p) {
138 if (all(p == (double4)0.0))
150 p = copysign(select((double4)0.0, (double4)1.0, isinf(p)), p);
Ddot.cl35 _CLC_OVERLOAD _CLC_DEF double dot(double4 p0, double4 p1) {
/external/clang/test/SemaTemplate/
Dinstantiate-clang.cpp9 typedef __attribute__(( ext_vector_type(4) )) double double4; typedef
13 void f(T v1, double4 v2) { in f()
19 template struct ExtVectorAccess0<double4>;
/external/llvm-project/clang/test/SemaTemplate/
Dinstantiate-clang.cpp9 typedef __attribute__(( ext_vector_type(4) )) double double4; typedef
13 void f(T v1, double4 v2) { in f()
19 template struct ExtVectorAccess0<double4>;
/external/llvm-project/libclc/generic/include/math/
Dternary_intrin.inc13 _CLC_OVERLOAD double4 __CLC_FUNCTION(double4, double4, double4) __asm(__CLC_INTRINSIC ".v4f64");
Dbinary_intrin.inc13 _CLC_OVERLOAD double4 __CLC_FUNCTION(double4, double4) __asm(__CLC_INTRINSIC ".v4f64");
Dunary_intrin.inc13 _CLC_OVERLOAD double4 __CLC_FUNCTION(double4 d) __asm(__CLC_INTRINSIC ".v4f64");
/external/llvm-project/clang/test/SemaOpenCL/
Dlogical-ops.cl8 typedef __attribute__((ext_vector_type(4))) double double4;
91 double4 f4 = (double4)(0, 0, 0, 0);
100 double4 f4baf = f4 & 0.0; // expected-error {{invalid operands}}
101 double4 f4bof = f4 | 0.0; // expected-error {{invalid operands}}
102 double4 f4bxf = f4 ^ 0.0; // expected-error {{invalid operands}}
Dformat-strings-fixit.cl15 typedef __attribute__((ext_vector_type(4))) double double4;
66 printf("%v4lf", (double4) 2.0);
67 // CHECK: printf("%v4lf", (double4) 2.0);
/external/llvm-project/clang/test/CodeGen/
Darm-swiftcall.c64 typedef double double4 __attribute__((ext_vector_type(4))); typedef
942 double4 c0;
949 double4 c0;
950 double4 c1;
957 double4 c0;
958 double4 c1;
959 double4 c2;
D64bit-swiftcall.c72 typedef double double4 __attribute__((ext_vector_type(4))); typedef
932 double4 c0;
939 double4 c0;
940 double4 c1;
947 double4 c0;
948 double4 c1;
949 double4 c2;
/external/clang/lib/Headers/
Dopencl-c.h137 typedef double double4 __attribute__((ext_vector_type(4))); typedef
4902 char4 __ovld __cnfn convert_char4(double4);
4903 char4 __ovld __cnfn convert_char4_rte(double4);
4904 char4 __ovld __cnfn convert_char4_rtn(double4);
4905 char4 __ovld __cnfn convert_char4_rtp(double4);
4906 char4 __ovld __cnfn convert_char4_rtz(double4);
4907 char4 __ovld __cnfn convert_char4_sat(double4);
4908 char4 __ovld __cnfn convert_char4_sat_rte(double4);
4909 char4 __ovld __cnfn convert_char4_sat_rtn(double4);
4910 char4 __ovld __cnfn convert_char4_sat_rtp(double4);
[all …]
/external/llvm-project/clang/lib/Headers/
Dopencl-c.h4667 char4 __ovld __cnfn convert_char4(double4);
4668 char4 __ovld __cnfn convert_char4_rte(double4);
4669 char4 __ovld __cnfn convert_char4_rtn(double4);
4670 char4 __ovld __cnfn convert_char4_rtp(double4);
4671 char4 __ovld __cnfn convert_char4_rtz(double4);
4672 char4 __ovld __cnfn convert_char4_sat(double4);
4673 char4 __ovld __cnfn convert_char4_sat_rte(double4);
4674 char4 __ovld __cnfn convert_char4_sat_rtn(double4);
4675 char4 __ovld __cnfn convert_char4_sat_rtp(double4);
4676 char4 __ovld __cnfn convert_char4_sat_rtz(double4);
[all …]
/external/llvm-project/libclc/generic/lib/relational/
Disequal.cl24 _CLC_DEFINE_ISEQUAL(long4, isequal, double4, double4)
/external/llvm-project/llvm/test/CodeGen/X86/
Dsse3-avx-addsub.ll11 ; typedef double double4 __attribute__((ext_vector_type(4)));
27 ; double4 test3(double4 A, double4 B) {
28 ; double4 X = A - B;
29 ; double4 Y = A + B;
30 ; return (double4){X[0], Y[1], X[2], Y[3]};
/external/llvm/test/CodeGen/X86/
Dsse3-avx-addsub.ll11 ; typedef double double4 __attribute__((ext_vector_type(4)));
27 ; double4 test3(double4 A, double4 B) {
28 ; double4 X = A - B;
29 ; double4 Y = A + B;
30 ; return (double4){X[0], Y[1], X[2], Y[3]};
/external/skia/tests/
DSkVxTest.cpp16 using double4 = skvx::Vec<4,double>; typedef
53 long4 mask = double4{1,2,3,4} < double4{1,2,4,8}; in DEF_TEST()

123