Home
last modified time | relevance | path

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

/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/mesa3d/src/mesa/drivers/dri/intel/
Dintel_context.h381 U_FIXED(float value, uint32_t frac_bits) in U_FIXED() argument
383 value *= (1 << frac_bits); in U_FIXED()
388 S_FIXED(float value, uint32_t frac_bits) in S_FIXED() argument
390 return value * (1 << frac_bits); in S_FIXED()
/external/mesa3d/src/gallium/auxiliary/util/
Du_math.h754 static INLINE uint32_t util_unsigned_fixed(float value, unsigned frac_bits) in util_unsigned_fixed() argument
756 return value < 0 ? 0 : (uint32_t)(value * (1<<frac_bits)); in util_unsigned_fixed()
759 static INLINE int32_t util_signed_fixed(float value, unsigned frac_bits) in util_signed_fixed() argument
761 return (int32_t)(value * (1<<frac_bits)); in util_signed_fixed()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dradeonsi_pipe.h228 static INLINE uint32_t S_FIXED(float value, uint32_t frac_bits) in S_FIXED() argument
230 return value * (1 << frac_bits); in S_FIXED()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_pipe.h863 static INLINE uint32_t S_FIXED(float value, uint32_t frac_bits) in S_FIXED() argument
865 return value * (1 << frac_bits); in S_FIXED()
/external/valgrind/VEX/priv/
Dguest_arm_toIR.c14339 Int frac_bits = size - ((imm4 << 1) | bI); in decode_CP10_CP11_instruction() local
14341 if (frac_bits >= 1 && frac_bits <= 32 && !to_fixed && !dp_op in decode_CP10_CP11_instruction()
14353 assign(scale, unop(Iop_I32UtoF64, mkU32( 1 << (frac_bits-1) ))); in decode_CP10_CP11_instruction()
14362 unsyned ? 'u' : 's', d, d, frac_bits); in decode_CP10_CP11_instruction()
14365 if (frac_bits >= 1 && frac_bits <= 32 && !to_fixed && dp_op in decode_CP10_CP11_instruction()
14375 assign(scale, unop(Iop_I32UtoF64, mkU32( 1 << (frac_bits-1) ))); in decode_CP10_CP11_instruction()
14383 unsyned ? 'u' : 's', d, d, frac_bits); in decode_CP10_CP11_instruction()
14386 if (frac_bits >= 1 && frac_bits <= 32 && to_fixed && dp_op in decode_CP10_CP11_instruction()
14392 assign(scale, unop(Iop_I32UtoF64, mkU32( 1 << (frac_bits-1) ))); in decode_CP10_CP11_instruction()
/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()