HomeSort by: relevance | last modified time | path
    Searched refs:sign (Results 1 - 25 of 172) sorted by relevancy

1 2 3 4 5 6 7

  /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/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.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/xedit/dist/lisp/mp/
mpr.c 48 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
103 sign = 1;
107 sign = 0;
121 mpi_setd(mpr_num(rop), sign ? -num : num);
151 if (op->den.sign) {
    [all...]
mpi.c 63 op->sign = 0;
72 op->sign = 0;
87 rop->sign = op->sign;
95 int sign = si < 0; local
103 if (sign)
125 /* adjust result sign */
126 rop->sign = sign;
133 int sign = si < 0 local
254 int sign; \/* result sign *\/ local
420 int sign; \/* sign flag *\/ local
947 int sign; local
1211 BNS sign, sign1, sign2; local
1317 int sign = op->sign ^ 1; local
    [all...]
  /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);
  /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...]
  /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_conv.c 276 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 && dst_type.norm == 0)) &
    [all...]
lp_bld_format_aos_array.c 104 tmp_type.sign = src_type.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_conv.c 251 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 = 1
    [all...]
lp_bld_format_aos_array.c 104 tmp_type.sign = src_type.sign;
lp_bld_arit.c 150 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
925 uint64_t sign = (uint64_t)1 << (type.width - 1); local
1054 LLVMValueRef sign = lp_build_shr_imm(&bld, ab, wide_type.width - 1); local
1913 LLVMValueRef sign; local
2502 LLVMValueRef sign; local
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
lp_setup_line.c 265 static inline boolean sign(float x){ function
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(-x1diff) != sign(dx)
    [all...]
lp_test_main.c 51 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/gallium/drivers/llvmpipe/
lp_setup_line.c 265 static inline boolean sign(float x){ function
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(-x1diff) != sign(dx)
    [all...]
lp_test_main.c 51 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/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/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/dist/src/gallium/drivers/freedreno/a2xx/
fd2_util.h 38 enum sq_tex_sign sign : 2; member in struct:surface_format
  /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/glu/dist/src/libtess/
render.c 376 int sign = 0; local
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
461 sign = ComputeNormal( tess, norm, TRUE );
462 if( sign == SIGN_INCONSISTENT ) {
466 if( sign == 0 )
    [all...]
  /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;

Completed in 21 milliseconds

1 2 3 4 5 6 7