Home
last modified time | relevance | path

Searched refs:floating (Results 1 - 25 of 89) sorted by relevance

1234

/third_party/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_conv.c274 assert(src_type.floating); in lp_build_clamped_float_to_unsigned_norm()
308 * floating point (i.e., mantissa + 1 bits). Even so correct rounding in lp_build_clamped_float_to_unsigned_norm()
324 * The destination exceeds what can be represented in the floating point. in lp_build_clamped_float_to_unsigned_norm()
410 assert(dst_type.floating); in lp_build_unsigned_norm_to_float()
416 * The source width matches fits what can be represented in floating in lp_build_unsigned_norm_to_float()
429 * The source width exceeds what can be represented in floating in lp_build_unsigned_norm_to_float()
479 if (src_type.floating == dst_type->floating && in lp_build_conv_auto()
493 dst_type->floating == 0 && in lp_build_conv_auto()
497 ((src_type.floating in lp_build_conv_auto()
[all...]
H A Dlp_bld_const.c51 assert(type.floating); in lp_mantissa()
53 if (type.floating) { in lp_mantissa()
82 if (type.floating) in lp_const_shift()
96 if (type.floating || type.fixed) in lp_const_offset()
108 * This is 1.0 for all floating types and unnormalized integers, and something
138 if (type.floating) { in lp_const_min()
172 if (type.floating) { in lp_const_max()
202 if (type.floating) { in lp_const_eps()
233 if (type.floating) in lp_build_zero()
254 if (!lp_has_fp16() && type.floating in lp_build_one()
[all...]
H A Dlp_bld_bitarit.c50 /* can't do bitwise ops on floating-point values */ in lp_build_or()
51 if (type.floating) { in lp_build_or()
58 if (type.floating) { in lp_build_or()
76 /* can't do bitwise ops on floating-point values */ in lp_build_xor()
77 if (type.floating) { in lp_build_xor()
84 if (type.floating) { in lp_build_xor()
104 /* can't do bitwise ops on floating-point values */ in lp_build_and()
105 if (type.floating) { in lp_build_and()
112 if (type.floating) { in lp_build_and()
133 /* can't do bitwise ops on floating in lp_build_andnot()
[all...]
H A Dlp_bld_arit.c107 if (type.floating && util_get_cpu_caps()->has_sse) { in lp_build_min_simple()
137 else if (type.floating && util_get_cpu_caps()->has_altivec) { in lp_build_min_simple()
170 /* We need to handle nan's for floating point numbers. If one of the in lp_build_min_simple()
176 if (util_get_cpu_caps()->has_sse && type.floating && in lp_build_min_simple()
191 if (type.floating) { in lp_build_min_simple()
261 if (type.floating && util_get_cpu_caps()->has_sse) { in lp_build_max_simple()
291 else if (type.floating && util_get_cpu_caps()->has_altivec) { in lp_build_max_simple()
324 if (util_get_cpu_caps()->has_sse && type.floating && in lp_build_max_simple()
339 if (type.floating) { in lp_build_max_simple()
387 if (type.norm && !type.floating in lp_build_comp()
[all...]
H A Dlp_bld_type.h88 unsigned floating:1; member
91 * Fixed-point. Cannot be used with floating. Integer numbers are
99 * If this is not set for floating point, it means that all values are
111 * For floating and fixed point formats it means the values should be
187 type->floating = format_desc->channel[0].type == UTIL_FORMAT_TYPE_FLOAT; in lp_type_from_format_desc()
217 res_type.floating = TRUE; in lp_type_float()
233 res_type.floating = TRUE; in lp_type_float_vec()
379 type.floating = TRUE; in lp_float32_vec4_type()
395 type.floating = FALSE; in lp_int32_vec4_type()
411 type.floating in lp_unorm8_vec4_type()
[all...]
H A Dlp_bld_pack.c418 assert(!src_type.floating); in lp_build_unpack2()
419 assert(!dst_type.floating); in lp_build_unpack2()
471 assert(!src_type.floating); in lp_build_unpack2_native()
472 assert(!dst_type.floating); in lp_build_unpack2_native()
582 assert(!src_type.floating); in lp_build_pack2()
583 assert(!dst_type.floating); in lp_build_pack2()
736 assert(!src_type.floating); in lp_build_pack2_native()
737 assert(!dst_type.floating); in lp_build_pack2_native()
786 assert(!src_type.floating); in lp_build_packs2()
787 assert(!dst_type.floating); in lp_build_packs2()
[all...]
H A Dlp_bld_format_aos_array.c88 if (src_type.floating && src_type.width == 64) { in lp_build_fetch_rgba_aos_array()
104 tmp_type.floating = 0; in lp_build_fetch_rgba_aos_array()
116 if (pure_integer && dst_type.floating) { in lp_build_fetch_rgba_aos_array()
H A Dlp_bld_format_soa.c93 assert(!bld->type.floating); in lp_build_format_swizzle_soa()
97 assert(bld->type.floating); in lp_build_format_swizzle_soa()
163 if (type.floating) { in lp_build_extract_soa_chan()
205 if (type.floating) { in lp_build_extract_soa_chan()
229 if (type.floating) { in lp_build_extract_soa_chan()
233 f16i_type.floating = 0; in lp_build_extract_soa_chan()
256 if (type.floating) { in lp_build_extract_soa_chan()
387 if (dst_type.floating) in lp_build_rgba8_to_fi32_soa()
482 type.floating))) in lp_build_fetch_rgba_soa()
690 assert(type.floating); in lp_build_fetch_rgba_soa()
[all...]
H A Dlp_bld_quad.c109 if (bld->type.floating) in lp_build_packed_ddx_ddy_onecoord()
152 if (bld->type.floating) in lp_build_packed_ddx_ddy_twocoord()
189 type2.floating = 0; in lp_bld_quad_twiddle()
H A Dlp_bld_logic.c103 if (type.floating) { in lp_build_compare_ext()
197 if (!type.floating && !type.sign && in lp_build_compare()
216 * If the operands are floating point numbers, the function will use
233 * If the operands are floating point numbers, the function will use
269 if (type.floating) { in lp_build_select_bitwise()
287 if (type.floating) { in lp_build_select_bitwise()
390 else if (type.floating && in lp_build_select()
394 } else if (type.floating && in lp_build_select()
H A Dlp_bld_gather.c291 if (dst_type.floating) { in lp_build_gather_avx2()
330 length, dst_type.floating ? "f" : "i", src_width); in lp_build_gather_avx2()
367 intrinsic = intrinsics[dst_type.floating][src_width == 64][l_idx]; in lp_build_gather_avx2()
441 * Also, we try to honor the floating bit of destination (but isn't in lp_build_gather()
454 if (dst_type.floating) { in lp_build_gather()
467 if (dst_type.floating && ((src_width == 32) || (src_width == 64))) { in lp_build_gather()
H A Dlp_bld_type.c43 if (type.floating) { in lp_build_elem_type()
93 if (type.floating) { in lp_check_elem_type()
398 if (type.floating) in lp_build_context_init()
H A Dlp_bld_swizzle.c102 assert(src_type.floating == dst_type.floating); in lp_build_extract_broadcast()
197 type2.floating = FALSE; in lp_build_swizzle_scalar_aos()
274 type4.floating = FALSE; in lp_build_swizzle_scalar_aos()
473 type4.floating = FALSE; in lp_build_swizzle_aos()
H A Dlp_bld_format_aos.c118 if (type.floating) { in format_matches_type()
243 * matches floating point size */ in lp_build_unpack_arith_rgba_aos()
537 type.fixed == 0 && type.floating == 0) { in lp_build_fetch_rgba_aos()
653 * TODO: We could avoid floating conversion for integer to in lp_build_fetch_rgba_aos()
657 if (gallivm_debug & GALLIVM_DEBUG_PERF && !type.floating) { in lp_build_fetch_rgba_aos()
658 debug_printf("%s: unpacking %s with floating point\n", in lp_build_fetch_rgba_aos()
671 if (type.width == 8 && type.floating == 0 && type.fixed == 0) { in lp_build_fetch_rgba_aos()
689 (type.width == 8 && type.floating == 0 && type.fixed == 0)) { in lp_build_fetch_rgba_aos()
795 !type.floating && type.width == 8 && !type.sign && type.norm) { in lp_build_fetch_rgba_aos()
/third_party/skia/third_party/externals/oboe/apps/fxlab/app/src/main/cpp/effects/
H A DSingleFunctionEffects.h23 template<class floating>
24 void _overdrive (floating &x) { in _overdrive()
43 template <class floating>
44 void _distortion (floating &x) { in _distortion()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_test_main.c50 type.sign ? (type.floating || type.fixed ? "" : "s") : "u", in dump_type()
51 type.floating ? "f" : (type.fixed ? "h" : "i"), in dump_type()
64 if (type.floating) { in read_elem()
131 if (type.floating) { in write_elem()
198 if (type.floating) { in random_elem()
265 eps *= type.floating ? 8.0 : 2.0; in compare_vec_with_eps()
298 if (type.floating) { in dump_vec()
H A Dlp_test_conv.c180 if ((src_type.floating && !dst_type.floating && dst_type.sign && dst_type.norm && src_type.width == dst_type.width) || in test_one()
181 (!src_type.floating && dst_type.floating && src_type.fixed && src_type.width == dst_type.width)) { in test_one()
189 if ((src_type.floating && !dst_type.floating && dst_type.sign && dst_type.norm && src_type.width == dst_type.width) || in test_one()
190 (!src_type.floating && dst_type.floating && src_type.fixed && src_type.width == dst_type.width)) { in test_one()
214 if (dst_type.norm && dst_type.sign && src_type.sign && !src_type.floating) { in test_one()
H A Dlp_bld_blend_aos.c363 if (!type.floating) { in lp_build_blend_aos()
435 /* We can be blending floating values but masks are always integer... */ in lp_build_blend_aos()
436 unsigned floating = bld.base.type.floating; in lp_build_blend_aos() local
437 bld.base.type.floating = 0; in lp_build_blend_aos()
441 bld.base.type.floating = floating; in lp_build_blend_aos()
H A Dlp_bld_alpha.c73 if (type.floating && in lp_build_alpha_test()
83 type.floating = 0; in lp_build_alpha_test()
H A Dlp_bld_blend.c122 assert(!type.floating && !type.fixed && type.norm); in lp_build_mul_norm_expand()
214 } else if (bld->type.floating && func == PIPE_BLEND_SUBTRACT) { in lp_build_blend()
224 } else if (bld->type.floating && func == PIPE_BLEND_REVERSE_SUBTRACT) { in lp_build_blend()
237 if (bld->type.floating && factor_src == factor_dst) { in lp_build_blend()
H A Dlp_bld_depth.c320 type.floating = TRUE; in lp_depth_type()
439 assert(type.floating); in lp_build_occlusion_count()
631 s_type.floating = 0; in lp_build_depth_stencil_load_swizzled()
862 if (z_src_type.floating) { in lp_build_depth_stencil_test()
910 if (z_type.floating) { in lp_build_depth_stencil_test()
1046 if (z_src_type.floating) { in lp_build_depth_stencil_test()
1048 * Convert from floating point values in lp_build_depth_stencil_test()
1051 if (!z_type.floating) { in lp_build_depth_stencil_test()
1065 assert(!z_type.floating); in lp_build_depth_stencil_test()
/third_party/libunwind/libunwind/doc/
H A Dunw_is_fpreg.tex8 \begin{Name}{3}{unw\_is\_fpreg}{David Mosberger-Tang}{Programming Library}{unw\_is\_fpreg}unw\_is\_fpreg -- check if a register is a floating-point register
20 \Var{reg} is a floating-point register.
28 \Var{reg} is a floating-point register. Otherwise, it returns a value
H A Dunw_get_fpreg.tex8 \begin{Name}{3}{unw\_get\_fpreg}{David Mosberger-Tang}{Programming Library}{unw\_get\_fpreg}unw\_get\_fpreg -- get contents of floating-point register
19 The \Func{unw\_get\_fpreg}() routine reads the value of floating-point
34 floating-point registers. See \Func{unw\_get\_fpreg}(3) for a way to
H A Dunw_set_fpreg.tex8 \begin{Name}{3}{unw\_set\_fpreg}{David Mosberger-Tang}{Programming Library}{unw\_set\_fpreg}unw\_set\_fpreg -- set contents of floating-point register
34 floating-point registers. See \Func{unw\_set\_reg}(3) for a way to
/third_party/pulseaudio/speex/libspeexdsp/
H A Darch.h44 #error You cannot compile as floating point and fixed point at the same time
47 #error SSE is only for floating-point

Completed in 19 milliseconds

1234