Home
last modified time | relevance | path

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

/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/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/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/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/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/spirv-llvm/lib/SPIRV/runtime/OpenCL/inc/
Dspirv_convert.h111 __attribute__((overloadable)) uchar4 __spirv_ConvertFToU_Ruchar4(double4);
112 __attribute__((overloadable)) uchar4 __spirv_ConvertFToU_Ruchar4_rtz(double4);
113 __attribute__((overloadable)) uchar4 __spirv_ConvertFToU_Ruchar4_rte(double4);
114 __attribute__((overloadable)) uchar4 __spirv_ConvertFToU_Ruchar4_rtp(double4);
115 __attribute__((overloadable)) uchar4 __spirv_ConvertFToU_Ruchar4_rtn(double4);
116 __attribute__((overloadable)) uchar4 __spirv_ConvertFToU_Ruchar4_sat(double4);
117 __attribute__((overloadable)) uchar4 __spirv_ConvertFToU_Ruchar4_sat_rtz(double4);
118 __attribute__((overloadable)) uchar4 __spirv_ConvertFToU_Ruchar4_sat_rte(double4);
119 __attribute__((overloadable)) uchar4 __spirv_ConvertFToU_Ruchar4_sat_rtp(double4);
120 __attribute__((overloadable)) uchar4 __spirv_ConvertFToU_Ruchar4_sat_rtn(double4);
[all …]
/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/llvm/test/CodeGen/SystemZ/
Dfp-move-02.ll134 %double4 = load volatile double , double *@dptr
135 %biased4 = fadd double %double4, %extra
198 %double4 = bitcast i64 %masked4 to double
222 %add4 = fadd double %add3, %double4
334 %double4 = phi double [ 1.0, %entry ], [ %mul4, %loop ]
346 %mul4 = fmul double %double4, %factor
/external/clang/test/CodeGen/
Darm-swiftcall.c64 typedef double double4 __attribute__((ext_vector_type(4))); typedef
/external/vulkan-validation-layers/libs/glm/gtx/
Dcompatibility.hpp141 …typedef detail::tvec4<double, highp> double4; //!< \brief double-precision floating-point vector… typedef
/external/swiftshader/third_party/subzero/tests_lit/llvm2ice_tests/
Dfp.arm.call.ll302 declare void @double4(double %p0, double %p1, double %p2, double %p3)
331 call void @double4(double 1.0, double 2.0, double 3.0, double 4.0)
336 ; CHECK: bl {{.*}} double4