Searched refs:mad (Results 1 – 25 of 240) sorted by relevance
12345678910
72 line_sum[0] = mad(line0.s0123, line0.s0123, line_sum[0]);73 line_sum[0] = mad(line0.s1234, line0.s1234, line_sum[0]);74 line_sum[0] = mad(line0.s2345, line0.s2345, line_sum[0]);75 line_sum[0] = mad(line0.s3456, line0.s3456, line_sum[0]);76 line_sum[0] = mad(line0.s4567, line0.s4567, line_sum[0]);77 line_sum[0] = mad(line0.s5678, line0.s5678, line_sum[0]);78 line_sum[0] = mad(line0.s6789, line0.s6789, line_sum[0]);79 line_sum[0] = mad(line0.s789a, line0.s789a, line_sum[0]);80 line_sum[0] = mad(line0.s89ab, line0.s89ab, line_sum[0]);82 line_sum[1] = mad(line1.s0123, line1.s0123, line_sum[1]);[all …]
22 out[0] = mad(matrix[0], R[0], mad(matrix[1], G[0], matrix[2] * B[0]));23 out[1] = mad(matrix[0], R[1], mad(matrix[1], G[1], matrix[2] * B[1]));25 out[2].s0 = mad(matrix[3], R[0].s0, mad(matrix[4], G[0].s0, matrix[5] * B[0].s0));26 out[2].s1 = mad(matrix[6], R[0].s0, mad(matrix[7], G[0].s0, matrix[8] * B[0].s0));27 out[2].s2 = mad(matrix[3], R[0].s2, mad(matrix[4], G[0].s2, matrix[5] * B[0].s2));28 out[2].s3 = mad(matrix[6], R[0].s2, mad(matrix[7], G[0].s2, matrix[8] * B[0].s2));29 out[2].s4 = mad(matrix[3], R[0].s4, mad(matrix[4], G[0].s4, matrix[5] * B[0].s4));30 out[2].s5 = mad(matrix[6], R[0].s4, mad(matrix[7], G[0].s4, matrix[8] * B[0].s4));31 out[2].s6 = mad(matrix[3], R[0].s6, mad(matrix[4], G[0].s6, matrix[5] * B[0].s6));32 out[2].s7 = mad(matrix[6], R[0].s6, mad(matrix[7], G[0].s6, matrix[8] * B[0].s6));[all …]
42 src_y_data = mad(src_data_R, 255.f * 0.299f, src_y_data);43 src_y_data = mad(src_data_G, 255.f * 0.587f, src_y_data);44 src_y_data = mad(src_data_B, 255.f * 0.114f, src_y_data);64 y_data = mad(data_R, 255.f * 0.299f, y_data);65 y_data = mad(data_G, 255.f * 0.587f, y_data);66 y_data = mad(data_B, 255.f * 0.114f, y_data);80 src_ym_data = mad(integrate_data.s3456, (float4)gaussian_table[0], src_ym_data);81 src_ym_data = mad(integrate_data.s4567, (float4)gaussian_table[1], src_ym_data);82 src_ym_data = mad(integrate_data.s5678, (float4)gaussian_table[2], src_ym_data);86 src_ym_data = mad(integrate_data.s3456, (float4)gaussian_table[3], src_ym_data);[all …]
80 dist = mad((ref_cache[mad24(i, 4 * REF_BLOCK_WIDTH, REF_BLOCK_WIDTH + local_id_x + j)] -85 … dist = mad((ref_cache[mad24(i, 4 * REF_BLOCK_WIDTH, 2 * REF_BLOCK_WIDTH + local_id_x + j)] -90 … dist = mad((ref_cache[mad24(i, 4 * REF_BLOCK_WIDTH, 3 * REF_BLOCK_WIDTH + local_id_x + j)] -111 … restore[0] = mad(weight, ref_cache[mad24(i, 4 * REF_BLOCK_WIDTH, local_id_x + j)], restore[0]);112 …restore[1] = mad(weight, ref_cache[mad24(i, 4 * REF_BLOCK_WIDTH, REF_BLOCK_WIDTH + local_id_x + j)…113 …restore[2] = mad(weight, ref_cache[mad24(i, 4 * REF_BLOCK_WIDTH, 2 * REF_BLOCK_WIDTH + local_id_x …114 …restore[3] = mad(weight, ref_cache[mad24(i, 4 * REF_BLOCK_WIDTH, 3 * REF_BLOCK_WIDTH + local_id_x …126 dist = mad((ref_cache[mad24(i, 4 * REF_BLOCK_WIDTH, REF_BLOCK_WIDTH + local_id_x + j)] -131 … dist = mad((ref_cache[mad24(i, 4 * REF_BLOCK_WIDTH, 2 * REF_BLOCK_WIDTH + local_id_x + j)] -136 … dist = mad((ref_cache[mad24(i, 4 * REF_BLOCK_WIDTH, 3 * REF_BLOCK_WIDTH + local_id_x + j)] -[all …]
45 src_y_data = mad(src_data_R, 0.299f, src_y_data);46 src_y_data = mad(src_data_G, 0.587f, src_y_data);47 src_y_data = mad(src_data_B, 0.114f, src_y_data);54 float4 corrd_x = mad((float4)g_id_x, 4.0f, (float4)(0.0f, 1.0f, 2.0f, 3.0f));55 float4 src_y = mad(src_y_data, 65535.0f, 0.5f) / 16.0f;68 d = mad(dx, dx, dy);85 total_haleq = mad(haleq, w, total_haleq);
122 avg_y = mad ((result_gr * wb_config->gr_gain + result_gb * wb_config->gb_gain), 74.843f,123 mad (result_r * wb_config->r_gain, 76.245f, result_b * 29.070f));136 avg_y = mad ((result_gr * wb_config->gr_gain + result_gb * wb_config->gb_gain), 1201.883f,137 mad (result_r * wb_config->r_gain, 1224.405f, result_b * 466.830f));206 float4 gr = mad (line1.even, blc_multiplier, - blc_config.level_gr);207 float4 r = mad (line1.odd, blc_multiplier, - blc_config.level_r);208 float4 b = mad (line2.even, blc_multiplier, - blc_config.level_b);209 float4 gb = mad (line2.odd, blc_multiplier, - blc_config.level_gb);
105 float2 sum1 = (mad (in1, coff1,106 mad (in2, coff2,107 mad (in3, coff3,108 mad (in4, coff4, value * coff0)))));115 float2 ee = mad(in1 + in2 + in3 + in4, -0.25f, value);118 egain[0] = mad(ee, ee_config.ee_gain, out + 0.03f) / (out + 0.03f);242 value = mad (Gr_x1.s12, 4.0f, (Gb_w0.s01 + Gb_w0.s12 + Gb_w1.s01 + Gb_w1.s12)) * 0.125f;246 value = mad (Gb_w1.s12, 4.0f, (Gr_x1.s12 + Gr_x1.s23 + Gr_x2.s01 + Gr_x2.s12)) * 0.125f;
15 %mad = add i64 %mul, %arg216 ret i64 %mad30 %mad = add i64 %arg2, %mul31 ret i64 %mad45 %mad = add i64 %mul, %arg246 ret i64 %mad60 %mad = add i64 %arg2, %mul61 ret i64 %mad81 %mad = add i128 %mul, %arg282 ret i128 %mad[all …]
7 %mad = call float @llvm.amdgcn.fmed3.f32(float %src0, float %src1, float %src2)8 store float %mad, float addrspace(1)* %out19 …%mad = call float @llvm.amdgcn.fmed3.f32(float %src0.fneg, float %src1.fabs, float %src2.fneg.fabs)20 store float %mad, float addrspace(1)* %out
12 %mad = call half @llvm.amdgcn.fmed3.f16(half %src0, half %src1, half %src2)13 store half %mad, half addrspace(1)* %out30 %mad = call half @llvm.amdgcn.fmed3.f16(half %src0.fneg, half %src1.fabs, half %src2.fneg.fabs)31 store half %mad, half addrspace(1)* %out
50 %mad = fadd fast float %mul2, %y52 store volatile float %mad, float addrspace(1)* %out.gep.166 %mad = fadd fast float %mul2, %y68 store volatile float %mad, float addrspace(1)* %out.gep.1154 %mad = fadd fast half %mul2, %y156 store volatile half %mad, half addrspace(1)* %out.gep.1175 %mad = fadd fast half %mul2, %y177 store volatile half %mad, half addrspace(1)* %out.gep.1
63 ; assuming that the pattern would be matched to a 24-bit mad. This65 ; 24-bit mad pattern wasn't being matched.196 %mad = add i16 %mul, %extc197 %mad_ext = sext i16 %mad to i32223 %mad = add i16 %mul, %extc224 %mad_ext = sext i16 %mad to i64
10 mad z0.b, p7/m, z1.b, z31.b label16 mad z0.h, p7/m, z1.h, z31.h label22 mad z0.s, p7/m, z1.s, z31.s label28 mad z0.d, p7/m, z1.d, z31.d label44 mad z0.d, p7/m, z1.d, z31.d label56 mad z0.d, p7/m, z1.d, z31.d label
7 mad z0.h, p8/m, z1.h, z2.h label16 mad z0.s, p7/m, z1.h, z2.h label
109 int i, mad, old_mad = 0; in upmconfig() local143 mad = in_be32(mxmr) & MxMR_MAD_MSK; in upmconfig()144 } while (mad <= old_mad && !(!mad && i == (size-1))); in upmconfig()145 old_mad = mad; in upmconfig()
133 SI F mad(F f, F m, F a) { return f*m+a; } in mad() function203 SI F mad(F f, F m, F a) { return vfmaq_f32(a,f,m); }208 SI F mad(F f, F m, F a) { return vmlaq_f32(a,f,m); }222 return vcvtq_u32_f32(mad(v,scale,0.5f));302 SI F mad(F f, F m, F a) {514 SI F mad(F f, F m, F a) { return f*m+a; }1122 BLEND_MODE(srcover) { return mad(d, inv(sa), s); } in BLEND_MODE()1123 BLEND_MODE(dstover) { return mad(s, inv(da), d); } in BLEND_MODE()1139 a = mad(da, inv(a), a); \1299 r = mad(dr, inv(a), r*255.0f); in STAGE()[all …]
133 SI F mad(F f, F m, F a) { return f*m+a; } in mad() function203 SI F mad(F f, F m, F a) { return vfmaq_f32(a,f,m); }208 SI F mad(F f, F m, F a) { return vmlaq_f32(a,f,m); }222 return vcvtq_u32_f32(mad(v,scale,0.5f));302 SI F mad(F f, F m, F a) {514 SI F mad(F f, F m, F a) { return f*m+a; }1106 BLEND_MODE(srcover) { return mad(d, inv(sa), s); } in BLEND_MODE()1107 BLEND_MODE(dstover) { return mad(s, inv(da), d); } in BLEND_MODE()1123 a = mad(da, inv(a), a); \1283 r = mad(dr, inv(a), r*255.0f); in STAGE()[all …]
44 base::trace_event::MemoryAllocatorDump* mad = pmd->GetAllocatorDump(name); in CheckNameAndValue() local45 ASSERT_TRUE(mad); in CheckNameAndValue()49 EXPECT_THAT(mad->entries(), Contains(Eq(ByRef(expected)))); in CheckNameAndValue()
1 ; RUN: llc < %s -march=ptx32 -mattr=+ptx20,+sm20 | grep "mad"2 ; RUN: llc < %s -march=ptx32 -mattr=+ptx20,+sm20,+no-fma | grep -v "mad"
4 ; CHECK: mad.rn.f32 %ret{{[0-9]+}}, %f{{[0-9]+}}, %f{{[0-9]+}}, %f{{[0-9]+}};12 ; CHECK: mad.rn.f64 %ret{{[0-9]+}}, %fd{{[0-9]+}}, %fd{{[0-9]+}}, %fd{{[0-9]+}};
38 %mad = fadd fast float %mul2, %y40 store volatile float %mad, float addrspace(1)* %out.gep.154 %mad = fadd fast float %mul2, %y56 store volatile float %mad, float addrspace(1)* %out.gep.1
75 double mad = Median(std::move(deviations)) * 1.4826; in ScaledMedianAbsoluteDeviation() local76 return std::pair<double, double>(median, mad); in ScaledMedianAbsoluteDeviation()
102 // Lerp in two fma/mad ops:120 #define SKC_LERP(a,b,t) mad(t,b,mad(-(t),a,a))448 SKC_RASTERIZE_FLOAT const w = mad(v.s10,(SKC_RASTERIZE_FLOAT)(0,1),v);460 SKC_RASTERIZE_FLOAT const w = mad(v.s3012,(SKC_RASTERIZE_FLOAT)(0,1,1,1),v);461 SKC_RASTERIZE_FLOAT const x = mad(w.s2301,(SKC_RASTERIZE_FLOAT)(0,0,1,1),w);476 SKC_RASTERIZE_FLOAT const w = mad(v.s70123456,(SKC_RASTERIZE_FLOAT)(0,1,1,1,1,1,1,1),v);477 SKC_RASTERIZE_FLOAT const x = mad(w.s67012345,(SKC_RASTERIZE_FLOAT)(0,0,1,1,1,1,1,1),w);478 SKC_RASTERIZE_FLOAT const y = mad(x.s45670123,(SKC_RASTERIZE_FLOAT)(0,0,0,0,1,1,1,1),x);496 …SKC_RASTERIZE_FLOAT const w = mad(v.sf0123456789abcde,(SKC_RASTERIZE_FLOAT)(0,1,1,1,1,1,1,1,1,1,1,…497 …SKC_RASTERIZE_FLOAT const x = mad(w.sef0123456789abcd,(SKC_RASTERIZE_FLOAT)(0,0,1,1,1,1,1,1,1,1,1,…[all …]
734 // Lerp in two fma/mad ops:748 #define SKC_LERP(a,b,t) mad(t,b,mad(-(t),a,a))797 // Note: the mad() ordering is slightly different than the original804 float const gv_x_dot = mad(x,gv.dx,gv.p0);805 SKC_RENDER_GRADIENT_FLOAT const gv_numer = mad(y,gv.dy,gv_x_dot);822 color->grad[ii].distance = mad(gv.dx,(float)ii,gv_numer) * gv.denom;884 …color->grad[ii].stoplerp = mad(min(0, color->grad[ii].stoplerp - floor),slope,color->grad[ii].stop…1036 color_acc->aN.rgba[ii].r = mad(+fralunco,color_wip->aN.rgba[ii].r,color_acc->aN.rgba[ii].r);1037 color_acc->aN.rgba[ii].g = mad(+fralunco,color_wip->aN.rgba[ii].g,color_acc->aN.rgba[ii].g);1038 color_acc->aN.rgba[ii].b = mad(+fralunco,color_wip->aN.rgba[ii].b,color_acc->aN.rgba[ii].b);[all …]