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

1 2 3 4 5 6 7 8 91011>>

  /xsrc/external/mit/MesaLib.old/dist/src/intel/common/
gen_gem.h 41 const int shift = 63 - 47; local
42 return (int64_t)(v << shift) >> shift;
53 const int shift = 63 - 47; local
54 return (uint64_t)(v << shift) >> shift;
  /xsrc/external/mit/freetype/dist/src/base/
fttrigon.c 136 FT_Int shift; local
142 shift = FT_MSB( (FT_UInt32)( FT_ABS( x ) | FT_ABS( y ) ) );
144 if ( shift <= FT_TRIG_SAFE_MSB )
146 shift = FT_TRIG_SAFE_MSB - shift;
147 vec->x = (FT_Pos)( (FT_ULong)x << shift );
148 vec->y = (FT_Pos)( (FT_ULong)y << shift );
152 shift -= FT_TRIG_SAFE_MSB;
153 vec->x = x >> shift;
154 vec->y = y >> shift;
380 FT_Int shift; local
419 FT_Int shift; local
458 FT_Int shift; local
    [all...]
ftbbox.c 273 FT_Int shift; local
285 shift = 27 - FT_MSB( (FT_UInt32)( FT_ABS( q1 ) |
290 if ( shift > 0 )
293 if ( shift > 2 )
294 shift = 2;
296 q1 *= 1 << shift;
297 q2 *= 1 << shift;
298 q3 *= 1 << shift;
299 q4 *= 1 << shift;
303 q1 >>= -shift;
351 peak >>= shift; local
    [all...]
  /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/xaa/
xaaNonTEGlyph.c 142 int shift = glyphp->width; local
147 shift -= skipleft;
153 while(shift < 32) {
156 bits |= SHIFT_L(glyphp->bitsp[line],shift);
157 shift += glyphp->width;
164 shift &= 31;
165 if(shift &&
167 bits = SHIFT_R(glyphp->bitsp[line], glyphp->width - shift);
173 TotalWidth -= shift;
177 bits |= SHIFT_L(glyphp->bitsp[line], shift);
    [all...]
xaaLineMisc.c 74 int shift, value, direction; local
112 shift = 32 - (PatternLength & 31);
114 shift = 0;
126 if(value < (32 - shift)) {
127 if(set) *ptr |= XAAShiftMasks[value] << shift;
128 shift += value;
131 if(set) *ptr |= ~0L << shift;
132 value -= (32 - shift);
133 shift = 0;
xaacexp.h 16 # define SHIFT_L(value, shift) ((value) >> (shift))
17 # define SHIFT_R(value, shift) ((value) << (shift))
19 # define SHIFT_L(value, shift) ((value) << (shift))
20 # define SHIFT_R(value, shift) ((value) >> (shift))
  /xsrc/external/mit/MesaLib/dist/src/intel/common/
intel_gem.h 49 const int shift = 63 - 47; local
50 return (int64_t)(v << shift) >> shift;
61 const int shift = 63 - 47; local
62 return (uint64_t)(v << shift) >> shift;
  /xsrc/external/mit/MesaLib/dist/src/panfrost/lib/
pan_attributes.c 100 unsigned shift = util_logbase2(hw_divisor); local
102 /* m = ceil(2^(32 + shift) / d) */
103 uint64_t shift_hi = 32 + shift;
113 /* e = 2^(shift + 32) % d */
116 /* Apply round-down algorithm? e <= 2^shift?. XXX: The blob
118 if (e <= (1ll << shift)) {
126 *o_shift = shift;
  /xsrc/external/mit/MesaLib/dist/src/freedreno/ir3/
ir3_nir_lower_io_offsets.c 87 int32_t direction, int32_t shift)
92 /* Only propagate if the shift is a const value so we can check value range
100 int32_t new_shift = current_shift + shift;
114 /* Add or substract shift depending on the final direction (SHR vs. SHL). */
115 if (shift * direction < 0)
116 shift_ssa = nir_isub(b, shift_ssa, nir_imm_int(b, abs(shift)));
118 shift_ssa = nir_iadd(b, shift_ssa, nir_imm_int(b, abs(shift)));
125 int32_t shift)
143 shift_ssa = check_and_propagate_bit_shift32(b, alu, 1, shift);
148 shift_ssa = check_and_propagate_bit_shift32(b, alu, -1, shift);
169 int shift = 2; local
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/
lp_bld_format_float.c 66 * and shift the result to mantissa_start.
83 LLVMValueRef i32_qnanbit, shift, res; local
212 shift = lp_build_const_int_vec(gallivm, i32_type, 8 - exponent_bits);
214 sign = lp_build_shr(&u32_bld, sign, shift);
218 /* shift to final position */
220 shift = lp_build_const_int_vec(gallivm, i32_type, 23 - exponent_start);
221 res = lp_build_shr(&i32_bld, res, shift);
224 shift = lp_build_const_int_vec(gallivm, i32_type, exponent_start - 23);
225 res = lp_build_shl(&i32_bld, res, shift);
291 LLVMValueRef wasinfnan, tmp, res, shift, maskabs, srcabs, sign local
429 LLVMValueRef shift, mask; local
466 LLVMValueRef shift, scale, bias, exp; local
    [all...]
lp_bld_swizzle.c 199 int shift; local
217 * Little endian reg out: YY YY YY YY if shift right (shift == -1)
218 * XX XX XX XX if shift left (shift == 1)
222 * Big endian reg out: YY YY YY YY if shift left (shift == 1)
223 * XX XX XX XX if shift right (shift == -1)
227 shift = channel == 0 ? 1 : -1
294 int shift = shifts[channel][i]; local
474 int shift; local
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/gallivm/
lp_bld_format_float.c 66 * and shift the result to mantissa_start.
83 LLVMValueRef i32_qnanbit, shift, res; local
212 shift = lp_build_const_int_vec(gallivm, i32_type, 8 - exponent_bits);
214 sign = lp_build_shr(&u32_bld, sign, shift);
218 /* shift to final position */
220 shift = lp_build_const_int_vec(gallivm, i32_type, 23 - exponent_start);
221 res = lp_build_shr(&i32_bld, res, shift);
224 shift = lp_build_const_int_vec(gallivm, i32_type, exponent_start - 23);
225 res = lp_build_shl(&i32_bld, res, shift);
291 LLVMValueRef wasinfnan, tmp, res, shift, maskabs, srcabs, sign local
429 LLVMValueRef shift, mask; local
466 LLVMValueRef shift, scale, bias, exp; local
    [all...]
lp_bld_swizzle.c 198 int shift; local
216 * Little endian reg out: YY YY YY YY if shift right (shift == -1)
217 * XX XX XX XX if shift left (shift == 1)
221 * Big endian reg out: YY YY YY YY if shift left (shift == 1)
222 * XX XX XX XX if shift right (shift == -1)
226 shift = channel == 0 ? 1 : -1
293 int shift = shifts[channel][i]; local
471 int shift; local
    [all...]
  /xsrc/external/mit/libX11/dist/src/xcms/
XRGB.c 173 int shift;
176 shift = 16 - ccc->visual->bits_per_rgb;
181 ((unsigned long)(pXcmsColor->spec.RGB.red >> shift) * 0xFFFF)
184 ((unsigned long)(pXcmsColor->spec.RGB.green >> shift) * 0xFFFF)
187 ((unsigned long)(pXcmsColor->spec.RGB.blue >> shift) * 0xFFFF)
170 int shift; local
  /xsrc/external/mit/MesaLib/dist/src/mesa/main/
pixeltransfer.c 194 * Apply color index shift and offset to an array of pixels.
200 GLint shift = ctx->Pixel.IndexShift; local
203 if (shift > 0) {
205 indexes[i] = (indexes[i] << shift) + offset;
208 else if (shift < 0) {
209 shift = -shift;
211 indexes[i] = (indexes[i] >> shift) + offset;
224 * Apply color index shift, offset and table lookup to an array
247 * Apply stencil index shift, offset and table lookup to an arra
256 GLint shift = ctx->Pixel.IndexShift; local
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/
pixeltransfer.c 194 * Apply color index shift and offset to an array of pixels.
200 GLint shift = ctx->Pixel.IndexShift; local
203 if (shift > 0) {
205 indexes[i] = (indexes[i] << shift) + offset;
208 else if (shift < 0) {
209 shift = -shift;
211 indexes[i] = (indexes[i] >> shift) + offset;
224 * Apply color index shift, offset and table lookup to an array
247 * Apply stencil index shift, offset and table lookup to an arra
256 GLint shift = ctx->Pixel.IndexShift; local
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/intel/compiler/
brw_nir_attribute_workarounds.c 69 /* sign recovery shift: <22, 22, 22, 30> */
70 nir_ssa_def *shift = nir_imm_ivec4(b, 22, 22, 22, 30); local
71 val = nir_ishr(b, nir_ishl(b, val, shift), shift);
  /xsrc/external/mit/xorg-server/dist/miext/shadow/
c2p_core.h 36 unsigned int shift, CARD32 mask)
38 CARD32 t = (d[i1] ^ (d[i2] >> shift)) & mask;
41 d[i2] ^= t << shift;
  /xsrc/external/mit/MesaLib.old/dist/src/freedreno/ir3/
ir3_nir.h 53 ir3_nir_try_propagate_bit_shift(nir_builder *b, nir_ssa_def *offset, int32_t shift);
ir3_nir_lower_io_offsets.c 89 int32_t shift)
94 /* Only propagate if the shift is a const value so we can check value range
102 int32_t new_shift = current_shift + shift;
118 /* Add or substract shift depending on the final direction (SHR vs. SHL). */
119 if (shift * direction < 0)
120 shift_ssa = nir_isub(b, shift_ssa, nir_imm_int(b, abs(shift)));
122 shift_ssa = nir_iadd(b, shift_ssa, nir_imm_int(b, abs(shift)));
128 ir3_nir_try_propagate_bit_shift(nir_builder *b, nir_ssa_def *offset, int32_t shift)
140 shift_ssa = check_and_propagate_bit_shift32(b, offset, alu, 1, shift);
145 shift_ssa = check_and_propagate_bit_shift32(b, offset, alu, -1, shift);
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/panfrost/shared/
pan_tiling.c 182 #define TILED_ACCESS_TYPE(pixel_t, shift) \
198 unsigned expanded_y = bit_duplication[y & 0xF] << shift; \
199 for (; source < source_end; dest += (PIXELS_PER_TILE << shift)) { \
201 unsigned index = expanded_y ^ (space_4[i] << shift); \
238 #define TILED_UNALIGNED_TYPES(store, shift) { \
240 TILED_UNALIGNED_TYPE(uint8_t, store, shift) \
242 TILED_UNALIGNED_TYPE(uint16_t, store, shift) \
244 TILED_UNALIGNED_TYPE(pan_uint24_t, store, shift) \
246 TILED_UNALIGNED_TYPE(uint32_t, store, shift) \
248 TILED_UNALIGNED_TYPE(uint64_t, store, shift) \
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/freedreno/drm/
freedreno_ringbuffer.h 204 int32_t shift; member in struct:fd_reloc
284 uint64_t or, int32_t shift)
288 (uint32_t)(ring->cur - ring->start), bo, offset, shift);
294 if (shift < 0)
295 iova >>= -shift;
297 iova <<= shift;
307 .shift = shift,
  /xsrc/external/mit/MesaLib/dist/src/panfrost/midgard/
midgard_address.c 44 unsigned shift; member in struct:mir_address
155 /* Matches ishl to shift */
173 unsigned shift = nir_ssa_scalar_as_uint(op2); local
174 if (shift > 0x7) return;
177 address->shift = shift;
280 assert(match.shift <= 7);
281 ins->load_store.index_shift = match.shift;
300 ins->load_store.index_shift = match.shift;
  /xsrc/external/mit/MesaLib/dist/src/virtio/vulkan/
vn_common.c 95 const uint32_t shift = util_last_bit(*iter) - busy_wait_order - 1; local
96 os_time_sleep(base_sleep_us << shift);
  /xsrc/external/mit/imake/dist/
xmkmf.cpp 18 shift
22 shift

Completed in 25 milliseconds

1 2 3 4 5 6 7 8 91011>>