| /xsrc/external/mit/MesaLib/dist/src/asahi/compiler/ |
| agx_minifloat.h | 32 * for sign, in the usual order. Zero exponent has special handling. */ 37 float sign = (imm & 0x80) ? -1.0 : 1.0; local 42 return ldexpf(sign * (float) (mantissa | 0x10), exp - 7); 44 return ldexpf(sign * ((float) mantissa), -6); 54 unsigned sign = signbit(f) ? 0x80 : 0; local 69 return sign | (exp << 4) | (mantissa & 0xF); 74 return sign | mantissa;
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a2xx/ |
| fd2_util.h | 38 enum sq_tex_sign sign : 2; member in struct:surface_format
|
| /xsrc/external/mit/MesaLib/dist/src/intel/compiler/ |
| brw_packed_float.c | 31 unsigned sign:1; member in struct:fu::__anon2399 42 return fu.s.sign << 7; 46 unsigned vf = (fu.s.sign << 7) | (exponent << 4) | mantissa; 70 fu.s.sign = vf >> 7;
|
| /xsrc/external/mit/MesaLib.old/dist/src/intel/compiler/ |
| brw_packed_float.c | 31 unsigned sign:1; member in struct:fu::__anon4739 42 return fu.s.sign << 7; 46 unsigned vf = (fu.s.sign << 7) | (exponent << 4) | mantissa; 70 fu.s.sign = vf >> 7;
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/ |
| u_half.h | 53 uint32_t sign; local 62 /* Sign */ 63 sign = f32.ui & sign_mask; 64 f32.ui ^= sign; 97 /* Sign */ 98 f16 |= sign >> 16; 125 /* Sign */
|
| /xsrc/external/mit/mesa-demos/dist/src/tests/ |
| condrender.c | 46 static int sign = +1; local 55 step = (time - lastTime) / 1000.0 * sign; 62 sign = -1; 66 sign = +1;
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/draw/ |
| draw_pipe_twoside.c | 40 float sign; /**< +1 or -1 */ member in struct:twoside_stage 81 if (header->det * twoside->sign < 0.0) { 134 * We'll multiply the primitive's determinant by this sign to determine 136 * sign = -1 for CCW, +1 for CW 138 twoside->sign = stage->draw->rasterizer->front_ccw ? -1.0f : 1.0f;
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/draw/ |
| draw_pipe_twoside.c | 40 float sign; /**< +1 or -1 */ member in struct:twoside_stage 81 if (header->det * twoside->sign < 0.0) { 134 * We'll multiply the primitive's determinant by this sign to determine 136 * sign = -1 for CCW, +1 for CW 138 twoside->sign = stage->draw->rasterizer->front_ccw ? -1.0f : 1.0f;
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/memory/ |
| Convert.h | 56 uint32_t sign = (val & 0x8000) << 16; local 70 result = sign | exp | mant; 85 uint32_t sign, exp, mant; local 88 // Extract the sign, exponent, and mantissa 91 sign = (uf & 0x80000000) >> 31; 96 if (sign != 0) 162 uint32_t sign, exp, mant; local 165 // Extract the sign, exponent, and mantissa 167 sign = (uf & 0x80000000) >> 31; 176 sign = 1; // set the sign bit for NAN [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/swr/rasterizer/memory/ |
| Convert.h | 56 uint32_t sign = (val & 0x8000) << 16; local 70 result = sign | exp | mant; 85 uint32_t sign, exp, mant; local 88 // Extract the sign, exponent, and mantissa 91 sign = (uf & 0x80000000) >> 31; 96 if (sign != 0) 162 uint32_t sign, exp, mant; local 165 // Extract the sign, exponent, and mantissa 167 sign = (uf & 0x80000000) >> 31; 176 sign = 1; // set the sign bit for NAN [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/util/ |
| half_float.c | 44 * - It has no sign bias. 63 /* sign bit */ 145 /* sign bit */ 158 float sign = s ? -1.0f : 1.0f; local 159 return sign * mantissa * half_denorm;
|
| format_r11g11b10f.h | 63 int sign = (f32.ui >> 16) & 0x8000; local 79 if (sign) 82 } else if (sign) { 145 int sign = (f32.ui >> 16) & 0x8000; local 161 if (sign) 164 } else if (sign) {
|
| /xsrc/external/mit/freetype/dist/src/psaux/ |
| psconv.c | 90 FT_Bool sign = 0; local 108 sign = FT_BOOL( *p == '-' ); 114 /* only a single sign is allowed */ 149 if ( sign ) 206 FT_Bool sign = 0; local 216 sign = FT_BOOL( *p == '-' ); 222 /* only a single sign is allowed */ 347 if ( sign )
|
| /xsrc/external/mit/mesa-demos/dist/src/demos/ |
| arbocclude2.c | 61 static int sign = +1; local 70 step = (time - lastTime) / 1000.0 * sign; 77 sign = -1; 81 sign = +1;
|
| /xsrc/external/mit/MesaLib/dist/src/compiler/nir/ |
| nir_lower_fp16_conv.c | 70 nir_ssa_def *sign, nir_rounding_mode mode) 76 sign = nir_ushr(b, sign, nir_imm_int(b, 31)); 77 return nir_iadd(b, value, nir_iand(b, nir_inot(b, sign), 80 sign = nir_ushr(b, sign, nir_imm_int(b, 31)); 81 return nir_iadd(b, value, nir_iand(b, sign, 96 nir_ssa_def *sign = nir_iand(b, src, nir_imm_int(b, 0x80000000)); local 118 overflowed_fp16 = nir_bcsel(b, nir_i2b1(b, sign), nir_imm_int(b, 0x7BFF), nir_imm_int(b, 0x7C00)); 122 overflowed_fp16 = nir_bcsel(b, nir_i2b1(b, sign), nir_imm_int(b, 0x7C00), nir_imm_int(b, 0x7BFF)) [all...] |
| nir_conversion_builder.h | 135 nir_ssa_def *sign = local 144 return nir_bcsel(b, sign, nir_ineg(b, positive_rounded), 148 return nir_bcsel(b, sign, 153 return nir_bcsel(b, sign,
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/ |
| lp_bld_type.h | 102 unsigned sign:1; member in struct:lp_type 189 type->sign = format_desc->channel[0].type != UTIL_FORMAT_TYPE_UNSIGNED; 218 res_type.sign = TRUE; 234 res_type.sign = TRUE; 249 res_type.sign = TRUE; 264 res_type.sign = TRUE; 320 res_type.sign = TRUE; 378 type.sign = TRUE; 394 type.sign = TRUE; 410 type.sign = FALSE [all...] |
| lp_bld_format_float.c | 50 * and there may be a sign bit. 56 * @param has_sign if the small float has a sign bit 65 * Note that this will pack mantissa, exponent and sign bit (if any) together, 105 /* clamp to pos range (can still have sign bit if NaN or negative zero) */ 112 * get rid of excess mantissa bits and sign bit 146 * (for no sign) else ->Inf -> ->Inf too. 181 * - for no sign case, it relies on the max() being used for rescale_src 204 /* add back sign bit at right position */ 206 LLVMValueRef sign; local 213 sign = lp_build_and(&i32_bld, mask, i32_src) 291 LLVMValueRef wasinfnan, tmp, res, shift, maskabs, srcabs, sign; local [all...] |
| /xsrc/external/mit/MesaLib/dist/src/util/ |
| format_r11g11b10f.h | 63 int sign = (f32.ui >> 16) & 0x8000; local 79 if (sign) 82 } else if (sign) { 145 int sign = (f32.ui >> 16) & 0x8000; local 161 if (sign) 164 } else if (sign) {
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/gallivm/ |
| lp_bld_type.h | 102 unsigned sign:1; member in struct:lp_type 189 type->sign = format_desc->channel[0].type != UTIL_FORMAT_TYPE_UNSIGNED; 218 res_type.sign = TRUE; 234 res_type.sign = TRUE; 249 res_type.sign = TRUE; 264 res_type.sign = TRUE; 320 res_type.sign = TRUE; 378 type.sign = TRUE; 394 type.sign = TRUE; 410 type.sign = FALSE [all...] |
| lp_bld_format_float.c | 50 * and there may be a sign bit. 56 * @param has_sign if the small float has a sign bit 65 * Note that this will pack mantissa, exponent and sign bit (if any) together, 105 /* clamp to pos range (can still have sign bit if NaN or negative zero) */ 112 * get rid of excess mantissa bits and sign bit 146 * (for no sign) else ->Inf -> ->Inf too. 181 * - for no sign case, it relies on the max() being used for rescale_src 204 /* add back sign bit at right position */ 206 LLVMValueRef sign; local 213 sign = lp_build_and(&i32_bld, mask, i32_src) 291 LLVMValueRef wasinfnan, tmp, res, shift, maskabs, srcabs, sign; local [all...] |
| /xsrc/external/mit/xedit/dist/lisp/mp/ |
| mp.h | 113 unsigned int sign : 1; member in struct:_mpi 210 * if sign present, it is processed. 333 * in given base, excluding sign and ending null character. 364 * if sign present, it is processed.
|
| /xsrc/external/mit/MesaLib/dist/src/freedreno/rnn/ |
| rnndec.c | 102 uint32_t sign = ((uint32_t)(val & 0x8000)) << 16; local 114 return sign; 118 return sign | 0x7f800000 | (frac << 13); 121 return sign | ((expn + 127 - 15) << 23) | (frac << 13);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/d3d12/ |
| d3d12_lower_int_cubemap_to_array.c | 74 nir_ssa_def *sign = nir_fsign(b, coord->rx); local 78 nir_ssa_def *x = nir_fadd(b, nir_fmul(b, nir_fmul(b, sign, ima), coord->rz), nir_imm_float(b, 0.5)); 88 nir_ssa_def *sign = nir_fsign(b, coord->ry); local 93 nir_ssa_def *y = nir_fadd(b, nir_fmul(b, nir_fmul(b, sign, ima), coord->rz), nir_imm_float(b, 0.5)); 102 nir_ssa_def *sign = nir_fsign(b, coord->rz); local 106 nir_ssa_def *x = nir_fadd(b, nir_fmul(b, nir_fmul(b, sign, ima), nir_fneg(b, coord->rx)), nir_imm_float(b, 0.5));
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/lima/ |
| lima_texture.h | 107 float sign = 1.0; local 111 sign = -1; 114 return sign * (float)(i / 16.0);
|