Home
last modified time | relevance | path

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

/external/scapy/scapy/layers/
Dntp.py446 FixedPointField("delay", 0, size=32, frac_bits=16),
447 FixedPointField("dispersion", 0, size=32, frac_bits=16),
966 FixedPointField("delay", 0, size=32, frac_bits=16),
968 FixedPointField("dispersion", 0, size=32, frac_bits=16),
1006 FixedPointField("rootdelay", 0, size=32, frac_bits=16),
1007 FixedPointField("rootdispersion", 0, size=32, frac_bits=16),
1015 FixedPointField("", 0, size=32, frac_bits=16),
1030 FixedPointField("delay", 0, size=32, frac_bits=16),
1031 FixedPointField("dispersion", 0, size=32, frac_bits=16),
1033 FixedPointField("selectdisp", 0, size=32, frac_bits=16),
[all …]
/external/llvm/test/CodeGen/X86/
D2009-02-09-ivs-different-sizes.ll22 %frac_bits.0 = mul i32 %indvar202, %shift.0 ; <i32>[#uses=1]
31 %frac_bits.1 = phi i32 [ 0, %bb54 ], [ %frac_bits.0, %bb56 ] ; <i32> [#uses=0]
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/
D2009-02-09-ivs-different-sizes.ll22 %frac_bits.0 = mul i32 %indvar202, %shift.0 ; <i32>[#uses=1]
31 %frac_bits.1 = phi i32 [ 0, %bb54 ], [ %frac_bits.0, %bb56 ] ; <i32> [#uses=0]
/external/mesa3d/src/compiler/nir/
Dnir_lower_double_ops.c308 nir_ssa_def *frac_bits = nir_isub(b, nir_imm_int(b, 52), unbiased_exp); in lower_trunc() local
328 nir_ige(b, frac_bits, nir_imm_int(b, 32)), in lower_trunc()
330 nir_ishl(b, nir_imm_int(b, ~0), frac_bits)); in lower_trunc()
334 nir_ilt(b, frac_bits, nir_imm_int(b, 33)), in lower_trunc()
338 nir_isub(b, frac_bits, nir_imm_int(b, 32)))); in lower_trunc()
/external/mesa3d/src/gallium/auxiliary/util/
Du_math.h681 util_unsigned_fixed(float value, unsigned frac_bits) in util_unsigned_fixed() argument
683 return value < 0 ? 0 : (uint32_t)(value * (1<<frac_bits)); in util_unsigned_fixed()
687 util_signed_fixed(float value, unsigned frac_bits) in util_signed_fixed() argument
689 return (int32_t)(value * (1<<frac_bits)); in util_signed_fixed()
/external/mesa3d/src/mesa/main/
Dmacros.h203 U_FIXED(float value, uint32_t frac_bits) in U_FIXED() argument
205 value *= (1 << frac_bits); in U_FIXED()
215 S_FIXED(float value, uint32_t frac_bits) in S_FIXED() argument
217 return (int32_t) (value * (1 << frac_bits)); in S_FIXED()
/external/scapy/scapy/
Dfields.py1361 def __init__(self, name, default, size, frac_bits=16): argument
1362 self.frac_bits = frac_bits
1369 fract = int( (val-ival) * 2**self.frac_bits )
1370 return (ival << self.frac_bits) | fract
1373 int_part = val >> self.frac_bits
1374 frac_part = val & (1 << self.frac_bits) - 1
1375 frac_part /= 2.0**self.frac_bits
/external/mesa3d/src/gallium/drivers/r600/
Dr600_pipe.h923 static inline uint32_t S_FIXED(float value, uint32_t frac_bits) in S_FIXED() argument
925 return value * (1 << frac_bits); in S_FIXED()
/external/valgrind/VEX/priv/
Dguest_arm_toIR.c15805 Int frac_bits = size - ((imm4 << 1) | bI); in decode_CP10_CP11_instruction() local
15810 assign(scale, unop(Iop_I32UtoF64, mkU32( ((UInt)1) << (frac_bits-1) ))); in decode_CP10_CP11_instruction()
15812 if (frac_bits >= 1 && frac_bits <= 32 && !to_fixed && !dp_op in decode_CP10_CP11_instruction()
15830 unsyned ? 'u' : 's', d, d, frac_bits); in decode_CP10_CP11_instruction()
15833 if (frac_bits >= 1 && frac_bits <= 32 && !to_fixed && dp_op in decode_CP10_CP11_instruction()
15848 unsyned ? 'u' : 's', d, d, frac_bits); in decode_CP10_CP11_instruction()
15851 if (frac_bits >= 1 && frac_bits <= 32 && to_fixed && dp_op in decode_CP10_CP11_instruction()
15870 unsyned ? 'u' : 's', d, d, frac_bits); in decode_CP10_CP11_instruction()
15873 if (frac_bits >= 1 && frac_bits <= 32 && to_fixed && !dp_op in decode_CP10_CP11_instruction()
15890 unsyned ? 'u' : 's', d, d, frac_bits); in decode_CP10_CP11_instruction()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state.c75 static uint32_t S_FIXED(float value, uint32_t frac_bits) in S_FIXED() argument
77 return value * (1 << frac_bits); in S_FIXED()
/external/vixl/src/aarch64/
Dlogic-aarch64.cc4794 uint32_t frac_bits = static_cast<uint32_t>(Bits(fraction, 51, 29)); in FPRecipEstimate() local
4795 return FloatPack(sign, exp_bits, frac_bits); in FPRecipEstimate()
/external/valgrind/perf/
Dtinycc.c8877 int b, t, shift, frac_bits, s, exp_val, ch; in parse_number() local
8951 frac_bits = 0; in parse_number()
8968 frac_bits += shift; in parse_number()
8994 d = ldexp(d, exp_val - frac_bits); in parse_number()