Home
last modified time | relevance | path

Searched refs:rcp (Results 1 - 25 of 44) sorted by relevance

12

/third_party/vk-gl-cts/framework/delibs/debase/
H A DdeInt32Test.c47 deUint32 rcp = (deUint32)((1u << DE_RCP_FRAC_BITS) / ((double)val / (1<<RCP_LUT_BITS))); in deInt32_computeLUTs() local
52 printf("0x%08x", rcp); in deInt32_computeLUTs()
72 deUint32 rcp; in deInt32_selfTest() local
133 deRcp32(val, &rcp, &exp); in deInt32_selfTest()
135 DE_TEST_ASSERT(rcp == (1u<<DE_RCP_FRAC_BITS)); in deInt32_selfTest()
152 deRcp32(val, &rcp, &exp); in deInt32_selfTest()
154 DE_TEST_ASSERT(rcp >= ref-EPS && rcp < ref+EPS); in deInt32_selfTest()
H A DdeInt32.c71 * \param rcp Pointer to resulting reciprocal "mantissa" value.
76 * result = exp2(exp) * rcp / (1<<DE_RCP_FRAC_BITS).
78 void deRcp32 (deUint32 a, deUint32* rcp, int* exp) in deRcp32() argument
173 *rcp = result; in deRcp32()
/third_party/mesa3d/src/compiler/nir/
H A Dnir_lower_idiv.c126 nir_ssa_def *rcp = nir_frcp(bld, nir_u2f32(bld, denom)); in emit_udiv() local
127 rcp = nir_f2u32(bld, nir_fmul_imm(bld, rcp, 4294966784.0)); in emit_udiv()
130 nir_imul(bld, rcp, nir_ineg(bld, denom)); in emit_udiv()
131 rcp = nir_iadd(bld, rcp, nir_umul_high(bld, rcp, neg_rcp_times_denom)); in emit_udiv()
135 nir_ssa_def *quotient = nir_umul_high(bld, numer, rcp); in emit_udiv()
210 nir_ssa_def *rcp = nir_iadd_imm(b, nir_frcp(b, q), 1); in convert_instr_small() local
213 nir_ssa_def *res = nir_fmul(b, p, rcp); in convert_instr_small()
[all...]
/third_party/node/deps/openssl/openssl/crypto/cmp/
H A Dcmp_hdr.c295 const X509_NAME *rcp = NULL; in ossl_cmp_hdr_init() local
316 rcp = ctx->recipient; in ossl_cmp_hdr_init()
318 rcp = X509_get_subject_name(ctx->srvCert); in ossl_cmp_hdr_init()
320 rcp = ctx->issuer; in ossl_cmp_hdr_init()
322 rcp = X509_get_issuer_name(ctx->oldCert); in ossl_cmp_hdr_init()
324 rcp = X509_get_issuer_name(ctx->cert); in ossl_cmp_hdr_init()
325 if (!ossl_cmp_hdr_set1_recipient(hdr, rcp)) in ossl_cmp_hdr_init()
/third_party/openssl/crypto/cmp/
H A Dcmp_hdr.c295 const X509_NAME *rcp = NULL; in ossl_cmp_hdr_init() local
316 rcp = ctx->recipient; in ossl_cmp_hdr_init()
318 rcp = X509_get_subject_name(ctx->srvCert); in ossl_cmp_hdr_init()
320 rcp = ctx->issuer; in ossl_cmp_hdr_init()
322 rcp = X509_get_issuer_name(ctx->oldCert); in ossl_cmp_hdr_init()
324 rcp = X509_get_issuer_name(ctx->cert); in ossl_cmp_hdr_init()
325 if (!ossl_cmp_hdr_set1_recipient(hdr, rcp)) in ossl_cmp_hdr_init()
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/
H A Dshader_impl.cpp36 auto rcp = data->GetPropertyByName<IntfPtr>("RenderContext"); variable
37 if (!rcp) {
44 if (auto renderContext = interface_cast<RENDER_NS::IRenderContext>(rcp->GetValue())) {
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
H A DOptimalIntrinsics.cpp21 Float4 rcp = Rcp_pp(x, exactAtPow2); in Reciprocal() local
25 rcp = (rcp + rcp) - (x * rcp * rcp); in Reciprocal()
31 rcp = Min(rcp, Float4((float &)big)); in Reciprocal()
34 return rcp; in Reciprocal()
H A DReactor.cpp4679 T rcp;
4683 rcp = RcpApprox(x, exactAtPow2);
4688 rcp = (rcp + rcp) - (x * rcp * rcp);
4693 rcp = T(1.0f) / x;
4699 rcp = Min(rcp,
[all...]
/kernel/linux/linux-5.10/drivers/net/appletalk/
H A Dipddp.c274 struct ipddp_route rcp, rcp2, *rp; in ipddp_ioctl() local
279 if(copy_from_user(&rcp, rt, sizeof(rcp))) in ipddp_ioctl()
285 return ipddp_create(&rcp); in ipddp_ioctl()
289 rp = __ipddp_find_route(&rcp); in ipddp_ioctl()
307 return ipddp_delete(&rcp); in ipddp_ioctl()
/kernel/linux/linux-6.6/drivers/net/appletalk/
H A Dipddp.c276 struct ipddp_route rcp, rcp2, *rp; in ipddp_siocdevprivate() local
284 if (copy_from_user(&rcp, data, sizeof(rcp))) in ipddp_siocdevprivate()
290 return ipddp_create(&rcp); in ipddp_siocdevprivate()
294 rp = __ipddp_find_route(&rcp); in ipddp_siocdevprivate()
312 return ipddp_delete(&rcp); in ipddp_siocdevprivate()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/shaders/compiled/
H A Dcomponentmaskunmultps.h25 rcp r1.w, r0.w
H A Dluminanceunmultps.h25 rcp r1.w, r0.w
/base/security/certificate_framework/test/unittest/v1.0/src/
H A Dcrypto_x509_cert_chain_test_part2.cpp335 HcfRevocationCheckParam rcp = { 0 }; in HWTEST_F() local
336 rcp.options = &revChkOpArray; in HWTEST_F()
337 params.revocationCheckParam = &rcp; in HWTEST_F()
351 rcp.ocspResponses = &resp; in HWTEST_F()
/third_party/mesa3d/src/nouveau/codegen/lib/
H A Dgm107.asm111 // value (single precision rcp in RCP and rsqrt64h in RSQ).
179 // 2), calculate rcp and do newton-raphson step once
182 mufu rcp $r4 $r5
212 // Suppose we want to calculate rcp(x), but we have rcp(cx), then
213 // rcp(x) = c * rcp(cx)
253 // 0x7fefffffffffffff's rcp is 0x0004000000000000, 1/4 of the smallest
254 // normal value. Other rcp result should be greater than that. If we
H A Dgk110.asm98 // value (single precision rcp in RCP and rsqrt64h in RSQ).
156 // 2), calculate rcp and do newton-raphson step once
158 rcp f32 $r4 $r5
185 // Suppose we want to calculate rcp(x), but we have rcp(cx), then
186 // rcp(x) = c * rcp(cx)
223 // 0x7fefffffffffffff's rcp is 0x0004000000000000, 1/4 of the smallest
224 // normal value. Other rcp result should be greater than that. If we
H A Dgk104.asm554 // OUTPUT: $r0d (rcp(x))
614 // 2), calculate rcp and do newton-raphson step once
616 long rcp f32 $r4 $r5
643 // Suppose we want to calculate rcp(x), but we have rcp(cx), then
644 // rcp(x) = c * rcp(cx)
681 // 0x7fefffffffffffff's rcp is 0x0004000000000000, 1/4 of the smallest
682 // normal value. Other rcp result should be greater than that. If we
H A Dgf100.asm84 // OUTPUT: $r0d (rcp(x))
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
H A Dir2_nir.c635 * rcp required because otherwise we can't differentiate -0.0 and +0.0 in emit_intrinsic()
719 struct ir2_instr *rcp, *coord_xy; in emit_tex() local
730 rcp = instr_create_alu(ctx, nir_op_frcp, 1); in emit_tex()
731 rcp->src[0] = ir2_src(reg_idx, IR2_SWIZZLE_Z, IR2_SRC_REG); in emit_tex()
732 rcp->src[0].abs = true; in emit_tex()
736 coord_xy->src[1] = ir2_src(rcp->idx, IR2_SWIZZLE_XXXX, IR2_SRC_SSA); in emit_tex()
838 struct ir2_instr *instr, *rcp, *sc, *wincoord, *off; in extra_position_exports() local
848 rcp = instr_create_alu(ctx, nir_op_frcp, 1); in extra_position_exports()
849 rcp->src[0] = ir2_src(instr->idx, 0, IR2_SRC_SSA); in extra_position_exports()
853 sc->src[1] = ir2_src(rcp in extra_position_exports()
[all...]
/third_party/mksh/
H A Dedit.c3204 char *rcp, *cp; in x_prev_histword() local
3227 rcp = &cp[strlen(cp) - 1]; in x_prev_histword()
3231 while (rcp > cp && ctype(*rcp, C_CFS)) in x_prev_histword()
3232 rcp--; in x_prev_histword()
3233 while (rcp > cp && !ctype(*rcp, C_CFS)) in x_prev_histword()
3234 rcp--; in x_prev_histword()
3235 if (ctype(*rcp, C_CFS)) in x_prev_histword()
3236 rcp in x_prev_histword()
[all...]
/third_party/mesa3d/src/mesa/state_tracker/
H A Dst_atifs_to_nir.c104 nir_ssa_def *rcp = nir_frcp(t->b, nir_channel(t->b, src, in apply_swizzle() local
107 nir_ssa_def *st_mul = nir_fmul(t->b, nir_channels(t->b, src, 0x3), rcp); in apply_swizzle()
112 rcp, in apply_swizzle()
113 rcp); in apply_swizzle()
/third_party/skia/third_party/externals/swiftshader/src/Shader/
H A DShaderCore.cpp189 Float4 rcp; in reciprocal() local
193 rcp = Float4(1.0f) / x; in reciprocal()
197 rcp = Rcp_pp(x, exactAtPow2); in reciprocal()
201 rcp = (rcp + rcp) - (x * rcp * rcp); in reciprocal()
208 rcp = Min(rcp, Float in reciprocal()
832 Float4 rcp = reciprocal(src.x, pp, true, true); rcpx() local
[all...]
H A DPixelRoutine.cpp162 Float4 rcp; in quad() local
169 rcp = reciprocal(v[interpolant].y); in quad()
170 v[interpolant].x = v[interpolant].x * rcp; in quad()
173 rcp = reciprocal(v[interpolant].z); in quad()
174 v[interpolant].x = v[interpolant].x * rcp; in quad()
175 v[interpolant].y = v[interpolant].y * rcp; in quad()
178 rcp = reciprocal(v[interpolant].w); in quad()
179 v[interpolant].x = v[interpolant].x * rcp; in quad()
180 v[interpolant].y = v[interpolant].y * rcp; in quad()
181 v[interpolant].z = v[interpolant].z * rcp; in quad()
[all...]
/third_party/mesa3d/src/freedreno/ir3/tests/
H A Ddelay.c66 rcp r0.x, r0.y
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/shaders/src/third_party/ffx_spd/
H A Dffx_a.h1134 AF1 ARcpF1(AF1 x){return rcp(x);} in ARcpF1()
1135 AF2 ARcpF2(AF2 x){return rcp(x);} in ARcpF2()
1136 AF3 ARcpF3(AF3 x){return rcp(x);} in ARcpF3()
1137 AF4 ARcpF4(AF4 x){return rcp(x);} in ARcpF4()
1269 AH1 ARcpH1(AH1 x){return rcp(x);} in ARcpH1()
1270 AH2 ARcpH2(AH2 x){return rcp(x);} in ARcpH2()
1271 AH3 ARcpH3(AH3 x){return rcp(x);} in ARcpH3()
1272 AH4 ARcpH4(AH4 x){return rcp(x);} in ARcpH4()
1320 AD1 ARcpD1(AD1 x){return rcp(x);} in ARcpD1()
1321 AD2 ARcpD2(AD2 x){return rcp( in ARcpD1()
[all...]
/third_party/mesa3d/src/compiler/glsl/
H A Dir_builder.h152 ir_expression *rcp(operand a);

Completed in 33 milliseconds

12