Home
last modified time | relevance | path

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

123

/third_party/vk-gl-cts/framework/delibs/debase/
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()
DdeInt32.c78 void deRcp32 (deUint32 a, deUint32* rcp, int* exp) in deRcp32() argument
173 *rcp = result; in deRcp32()
DdeInt32.h40 void deRcp32 (deUint32 a, deUint32* rcp, int* exp);
/third_party/mesa3d/src/compiler/nir/
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()
/third_party/openssl/crypto/cmp/
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/node/deps/openssl/openssl/crypto/cmp/
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/skia/third_party/externals/swiftshader/src/Reactor/
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()
DReactor.cpp4679 T rcp; in DoRcp() local
4683 rcp = RcpApprox(x, exactAtPow2); in DoRcp()
4688 rcp = (rcp + rcp) - (x * rcp * rcp); in DoRcp()
4693 rcp = T(1.0f) / x; in DoRcp()
4699 rcp = Min(rcp, T((float &)big)); in DoRcp()
4702 return rcp; in DoRcp()
/third_party/mesa3d/src/gallium/drivers/radeonsi/glsl_tests/
Ddiv.glsl19 ; FUNC-LABEL: {{^}}@rcp:
25 #shader fs rcp
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dir2_nir.c719 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->idx, IR2_SWIZZLE_XXXX, IR2_SRC_SSA); in extra_position_exports()
/third_party/mksh/
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()
3237 x_ins(rcp); in x_prev_histword()
3242 rcp = cp; in x_prev_histword()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/shaders/compiled/
Dcomponentmaskunmultps.h25 rcp r1.w, r0.w
Dluminanceunmultps.h25 rcp r1.w, r0.w
/third_party/mesa3d/src/mesa/state_tracker/
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/mesa3d/docs/relnotes/
D20.0.3.rst164 - ac/nir: use llvm.amdgcn.rcp for nir_op_frcp
166 - ac/nir: use llvm.amdgcn.rcp in ac_build_fdiv()
/third_party/skia/third_party/externals/swiftshader/src/Shader/
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, Float4((float&)big)); in reciprocal()
211 return rcp; in reciprocal()
832 Float4 rcp = reciprocal(src.x, pp, true, true); in rcpx() local
834 dst.x = rcp; in rcpx()
835 dst.y = rcp; in rcpx()
836 dst.z = rcp; in rcpx()
[all …]
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()
/third_party/glslang/Test/
Dhlsl.intrinsics.frag70 float r047 = rcp(inF0);
156 float2 r051 = rcp(inF0);
238 float3 r052 = rcp(inF0);
319 float4 r052 = rcp(inF0);
/third_party/mesa3d/src/freedreno/ir3/tests/
Ddelay.c66 rcp r0.x, r0.y
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/shaders/src/third_party/ffx_spd/
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(x);} in ARcpD2()
[all …]
/third_party/mesa3d/src/compiler/glsl/
Dir_builder.h152 ir_expression *rcp(operand a);
Dir_builder.cpp305 rcp(operand a) in rcp() function
/third_party/mesa3d/src/nouveau/codegen/
Dnv50_ir_peephole.cpp1989 AlgebraicOpt::handleRCP(Instruction *rcp) in handleRCP() argument
1991 Instruction *si = rcp->getSrc(0)->getUniqueInsn(); in handleRCP()
1997 Modifier mod = rcp->src(0).mod * si->src(0).mod; in handleRCP()
1998 rcp->op = mod.getOp(); in handleRCP()
1999 rcp->setSrc(0, si->getSrc(0)); in handleRCP()
2001 rcp->op = OP_RSQ; in handleRCP()
2002 rcp->setSrc(0, si->getSrc(0)); in handleRCP()
2003 rcp->src(0).mod = rcp->src(0).mod * si->src(0).mod; in handleRCP()
/third_party/mesa3d/src/nouveau/codegen/lib/
Dgk110.asm158 rcp f32 $r4 $r5
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/
Dlibcpuset.c786 const struct cpuset *rcp; in resolve_cp() local
789 rcp = cp; in resolve_cp()
799 rcp = cp1; in resolve_cp()
801 return rcp; in resolve_cp()

123