Searched refs:sign (Results 1 - 25 of 302) sorted by relevance

1234567891011>>

/xsrc/external/mit/MesaLib.old/dist/src/intel/compiler/
H A Dbrw_packed_float.c31 unsigned sign:1; member in struct:fu::__anon1dec7bb60108
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/dist/src/intel/compiler/
H A Dbrw_packed_float.c31 unsigned sign:1; member in struct:fu::__anon8c8a44690108
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/dist/src/asahi/compiler/
H A Dagx_minifloat.h32 * for sign, in the usual order. Zero exponent has special handling. */
37 float sign = (imm & 0x80) ? -1.0 : 1.0; local in function:agx_minifloat_decode
42 return ldexpf(sign * (float) (mantissa | 0x10), exp - 7);
44 return ldexpf(sign * ((float) mantissa), -6);
54 unsigned sign = signbit(f) ? 0x80 : 0; local in function:agx_minifloat_encode
69 return sign | (exp << 4) | (mantissa & 0xF);
74 return sign | mantissa;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/
H A Du_half.h53 uint32_t sign; local in function:util_float_to_half
63 sign = f32.ui & sign_mask;
64 f32.ui ^= sign;
98 f16 |= sign >> 16;
/xsrc/external/mit/xedit/dist/lisp/mp/
H A Dmpr.c48 static int mpr_docmp(mpr *op1, mpr *op2, int sign);
57 op->num.sign = 0;
62 op->den.sign = 0;
70 op->num.sign = 0;
74 op->den.sign = 0;
99 int e, sign; local in function:mpr_setd
103 sign = 1;
107 sign = 0;
121 mpi_setd(mpr_num(rop), sign ? -num : num);
151 if (op->den.sign) {
345 mpr_docmp(mpr * op1,mpr * op2,int sign) argument
[all...]
H A Dmpi.c63 op->sign = 0;
72 op->sign = 0;
87 rop->sign = op->sign;
95 int sign = si < 0; local in function:mpi_seti
103 if (sign)
125 /* adjust result sign */
126 rop->sign = sign;
133 int sign local in function:_mpi_seti
254 int sign; /* result sign */ local in function:mpi_setstr
420 int sign; /* sign flag */ local in function:mpi_mul
947 int sign; local in function:mpi_root
1211 BNS sign, sign1, sign2; local in function:mpi_log
1317 int sign = op->sign ^ 1; local in function:mpi_neg
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/lima/
H A Dlima_texture.h107 float sign = 1.0; local in function:lima_fixed8_to_float
111 sign = -1;
114 return sign * (float)(i / 16.0);
/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_lower_fp16_conv.c70 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 in function:float_to_half_impl
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_in
69 half_rounded(nir_builder * b,nir_ssa_def * value,nir_ssa_def * guard,nir_ssa_def * sticky,nir_ssa_def * sign,nir_rounding_mode mode) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_type.h102 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
[all...]
H A Dlp_bld_conv.c251 src_type.sign = FALSE;
456 src_type.sign == dst_type->sign)
469 ((src_type.floating == 1 && src_type.sign == 1 && dst_type->norm == 1) ||
471 src_type.sign == dst_type->sign && dst_type->norm == 0))) {
576 ((src_type.floating == 1 && src_type.sign == 1 && dst_type.norm == 1) ||
578 src_type.sign == dst_type.sign && dst_type.norm == 0)) &&
598 int16_type.sign
[all...]
H A Dlp_bld_format_aos_array.c104 tmp_type.sign = src_type.sign;
H A Dlp_bld_arit.c150 intrinsic = type.sign ? "llvm.x86.avx2.pmins.b" : "llvm.x86.avx2.pminu.b";
153 intrinsic = type.sign ? "llvm.x86.avx2.pmins.w" : "llvm.x86.avx2.pminu.w";
156 intrinsic = type.sign ? "llvm.x86.avx2.pmins.d" : "llvm.x86.avx2.pminu.d";
168 if (type.width == 8 && !type.sign) {
171 else if (type.width == 16 && type.sign) {
175 if (type.width == 8 && type.sign) {
178 if (type.width == 16 && !type.sign) {
181 if (type.width == 32 && !type.sign) {
184 if (type.width == 32 && type.sign) {
191 if (!type.sign) {
597 uint64_t sign = (uint64_t)1 << (type.width - 1); local in function:lp_build_add
925 uint64_t sign = (uint64_t)1 << (type.width - 1); local in function:lp_build_sub
1054 LLVMValueRef sign = lp_build_shr_imm(&bld, ab, wide_type.width - 1); local in function:lp_build_mul_norm
1913 LLVMValueRef sign; local in function:lp_build_sgn
1952 lp_build_set_sign(struct lp_build_context * bld,LLVMValueRef a,LLVMValueRef sign) argument
2502 LLVMValueRef sign; local in function:lp_build_iround
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_type.h102 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
[all...]
H A Dlp_bld_conv.c276 src_type.sign = FALSE;
349 if (!src_type.sign && src_type.width == 32)
484 src_type.sign == dst_type->sign)
497 ((src_type.floating == 1 && src_type.sign == 1 && dst_type->norm == 1) ||
499 src_type.sign == dst_type->sign && dst_type->norm == 0))) {
604 ((src_type.floating == 1 && src_type.sign == 1 && dst_type.norm == 1) ||
606 src_type.sign == dst_type.sign
[all...]
H A Dlp_bld_format_aos_array.c104 tmp_type.sign = src_type.sign;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/
H A Dlp_setup_line.c265 static inline boolean sign(float x){ function in typeref:typename:boolean
375 else if (sign(x1diff) == sign(-dx)) {
378 else if (sign(-y1diff) != sign(dy)) {
394 else if (sign(x2diff) != sign(-dx)) {
397 else if (sign(-y2diff) == sign(dy)) {
408 will_draw_start = sign(
[all...]
H A Dlp_test_main.c51 type.sign ? (type.floating || type.fixed ? "" : "s") : "u",
79 if(type.sign) {
126 if(!type.sign && value < 0.0)
147 if(type.sign) {
206 else if (type.sign)
211 if (!type.fixed && !type.sign && type.width == 32) {
221 if(type.sign)
315 if(type.sign && !type.norm) {
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
H A Dlp_setup_line.c265 static inline boolean sign(float x){ function in typeref:typename:boolean
393 else if (sign(x1diff) == sign(-dx)) {
396 else if (sign(-y1diff) != sign(dy)) {
412 else if (sign(x2diff) != sign(-dx)) {
415 else if (sign(-y2diff) == sign(dy)) {
426 will_draw_start = sign(
[all...]
H A Dlp_test_main.c51 type.sign ? (type.floating || type.fixed ? "" : "s") : "u",
79 if(type.sign) {
126 if(!type.sign && value < 0.0)
147 if(type.sign) {
206 else if (type.sign)
211 if (!type.fixed && !type.sign && type.width == 32) {
221 if(type.sign)
315 if(type.sign && !type.norm) {
/xsrc/external/mit/MesaLib.old/dist/src/util/
H A Dformat_r11g11b10f.h63 int sign = (f32.ui >> 16) & 0x8000; local in function:f32_to_uf11
79 if (sign)
82 } else if (sign) {
145 int sign = (f32.ui >> 16) & 0x8000; local in function:f32_to_uf10
161 if (sign)
164 } else if (sign) {
/xsrc/external/mit/MesaLib/dist/src/util/
H A Dformat_r11g11b10f.h63 int sign = (f32.ui >> 16) & 0x8000; local in function:f32_to_uf11
79 if (sign)
82 } else if (sign) {
145 int sign = (f32.ui >> 16) & 0x8000; local in function:f32_to_uf10
161 if (sign)
164 } else if (sign) {
/xsrc/external/mit/mesa-demos/dist/src/tests/
H A Dcondrender.c46 static int sign = +1; local in function:Idle
55 step = (time - lastTime) / 1000.0 * sign;
62 sign = -1;
66 sign = +1;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a2xx/
H A Dfd2_util.h38 enum sq_tex_sign sign : 2;
/xsrc/external/mit/glu/dist/src/libtess/
H A Drender.c376 int sign = 0; local in function:ComputeNormal
423 if( sign < 0 ) return SIGN_INCONSISTENT;
424 sign = 1;
426 if( sign > 0 ) return SIGN_INCONSISTENT;
427 sign = -1;
431 return sign;
447 int sign; local in function:__gl_renderCache
461 sign = ComputeNormal( tess, norm, TRUE );
462 if( sign == SIGN_INCONSISTENT ) {
466 if( sign
[all...]
/xsrc/external/mit/mesa-demos/dist/src/demos/
H A Darbocclude2.c61 static int sign = +1; local in function:Idle
70 step = (time - lastTime) / 1000.0 * sign;
77 sign = -1;
81 sign = +1;

Completed in 38 milliseconds

1234567891011>>