Home
last modified time | relevance | path

Searched refs:extra_bits (Results 1 – 14 of 14) sorted by relevance

/netbsd-src/external/lgpl3/gmp/dist/mpn/generic/
H A Dhgcd_appr.c87 unsigned extra_bits = 0; in mpn_hgcd_appr() local
112 if (GMP_NUMB_BITS * (n + 1) + 2 * extra_bits <= 2*GMP_NUMB_BITS * s) in mpn_hgcd_appr()
114 mp_size_t p = (GMP_NUMB_BITS * (2*s - n) - 2*extra_bits) / GMP_NUMB_BITS; in mpn_hgcd_appr()
116 if (extra_bits == 0) in mpn_hgcd_appr()
126 extra_bits = GMP_NUMB_BITS - 1; in mpn_hgcd_appr()
131 extra_bits--; in mpn_hgcd_appr()
141 if (extra_bits > 0) in mpn_hgcd_appr()
151 ap[0] = mpn_rshift (ap+1, ap+1, n, GMP_NUMB_BITS - extra_bits); in mpn_hgcd_appr()
152 bp[0] = mpn_rshift (bp+1, bp+1, n, GMP_NUMB_BITS - extra_bits); in mpn_hgcd_appr()
/netbsd-src/sys/external/bsd/drm2/dist/drm/radeon/
H A Dradeon_cik_sdma.c142 u32 extra_bits = (ib->vm ? ib->vm->ids[ib->ring].id : 0) & 0xf; in cik_sdma_ring_ib_execute() local
159 radeon_ring_write(ring, SDMA_PACKET(SDMA_OPCODE_INDIRECT_BUFFER, 0, extra_bits)); in cik_sdma_ring_ib_execute()
178 u32 extra_bits = (SDMA_POLL_REG_MEM_EXTRA_OP(1) | in cik_sdma_hdp_flush_ring_emit() local
187 radeon_ring_write(ring, SDMA_PACKET(SDMA_OPCODE_POLL_REG_MEM, 0, extra_bits)); in cik_sdma_hdp_flush_ring_emit()
239 u32 extra_bits = emit_wait ? 0 : SDMA_SEMAPHORE_EXTRA_S; in cik_sdma_semaphore_ring_emit() local
241 radeon_ring_write(ring, SDMA_PACKET(SDMA_OPCODE_SEMAPHORE, 0, extra_bits)); in cik_sdma_semaphore_ring_emit()
955 u32 extra_bits = (SDMA_POLL_REG_MEM_EXTRA_OP(0) | in cik_dma_vm_flush() local
999 radeon_ring_write(ring, SDMA_PACKET(SDMA_OPCODE_POLL_REG_MEM, 0, extra_bits)); in cik_dma_vm_flush()
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
H A Damdgpu_cik_sdma.c233 u32 extra_bits = vmid & 0xf; in cik_sdma_ring_emit_ib() local
238 amdgpu_ring_write(ring, SDMA_PACKET(SDMA_OPCODE_INDIRECT_BUFFER, 0, extra_bits)); in cik_sdma_ring_emit_ib()
254 u32 extra_bits = (SDMA_POLL_REG_MEM_EXTRA_OP(1) | in cik_sdma_ring_emit_hdp_flush() local
263 amdgpu_ring_write(ring, SDMA_PACKET(SDMA_OPCODE_POLL_REG_MEM, 0, extra_bits)); in cik_sdma_ring_emit_hdp_flush()
866 u32 extra_bits = (SDMA_POLL_REG_MEM_EXTRA_OP(0) | in cik_sdma_ring_emit_vm_flush() local
871 amdgpu_ring_write(ring, SDMA_PACKET(SDMA_OPCODE_POLL_REG_MEM, 0, extra_bits)); in cik_sdma_ring_emit_vm_flush()
/netbsd-src/external/gpl3/gdb/dist/zlib/
H A Dtrees.c119 const intf *extra_bits; /* extra bits for each code or NULL */ member
249 static_l_desc.extra_bits = extra_lbits; in tr_static_init()
251 static_d_desc.extra_bits = extra_dbits; in tr_static_init()
252 static_bl_desc.extra_bits = extra_blbits; in tr_static_init()
493 const intf *extra = desc->stat_desc->extra_bits;
/netbsd-src/external/cddl/osnet/dist/uts/common/zmod/
H A Dtrees.c123 const intf *extra_bits; /* extra bits for each code or NULL */ member
254 static_l_desc.extra_bits = extra_lbits; in tr_static_init()
256 static_d_desc.extra_bits = extra_dbits; in tr_static_init()
257 static_bl_desc.extra_bits = extra_blbits; in tr_static_init()
497 const intf *extra = desc->stat_desc->extra_bits;
/netbsd-src/external/gpl3/binutils/dist/zlib/
H A Dtrees.c119 const intf *extra_bits; /* extra bits for each code or NULL */ member
249 static_l_desc.extra_bits = extra_lbits; in tr_static_init()
251 static_d_desc.extra_bits = extra_dbits; in tr_static_init()
252 static_bl_desc.extra_bits = extra_blbits; in tr_static_init()
493 const intf *extra = desc->stat_desc->extra_bits;
/netbsd-src/external/gpl3/binutils.old/dist/zlib/
H A Dtrees.c119 const intf *extra_bits; /* extra bits for each code or NULL */ member
249 static_l_desc.extra_bits = extra_lbits; in tr_static_init()
251 static_d_desc.extra_bits = extra_dbits; in tr_static_init()
252 static_bl_desc.extra_bits = extra_blbits; in tr_static_init()
493 const intf *extra = desc->stat_desc->extra_bits;
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/src/c++17/
H A Dmemory_resource.cc327 if (const size_type extra_bits = num_blocks % bits_per_word) in bitset() local
328 _M_words[last_word] = word(-1) << extra_bits; in bitset()
373 if (const size_type extra_bits = size() % bits_per_word) in empty() local
374 last <<= (bits_per_word - extra_bits); in empty()
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/src/c++17/
H A Dmemory_resource.cc292 if (const size_type extra_bits = num_blocks % bits_per_word) in bitset() local
293 _M_words[last_word] = word(-1) << extra_bits; in bitset()
338 if (const size_type extra_bits = size() % bits_per_word) in empty() local
339 last <<= (bits_per_word - extra_bits); in empty()
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dwide-int.cc2199 wide_int extra_bits = wi::bit_and_not (val, mask); in round_down_for_mask() local
2200 if (extra_bits == 0) in round_down_for_mask()
2206 wide_int lower_mask = wi::mask (precision - wi::clz (extra_bits), in round_down_for_mask()
2225 wide_int extra_bits = wi::bit_and_not (val, mask); in round_up_for_mask() local
2226 if (extra_bits == 0) in round_up_for_mask()
2231 wide_int upper_mask = wi::mask (precision - wi::clz (extra_bits), in round_up_for_mask()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dwide-int.cc2198 wide_int extra_bits = wi::bit_and_not (val, mask); in round_down_for_mask() local
2199 if (extra_bits == 0) in round_down_for_mask()
2205 wide_int lower_mask = wi::mask (precision - wi::clz (extra_bits), in round_down_for_mask()
2224 wide_int extra_bits = wi::bit_and_not (val, mask); in round_up_for_mask() local
2225 if (extra_bits == 0) in round_up_for_mask()
2230 wide_int upper_mask = wi::mask (precision - wi::clz (extra_bits), in round_up_for_mask()
/netbsd-src/external/mpl/dhcp/dist/server/
H A Dmdb6.c2199 int extra_bits; in ipv6_network_portion() local
2226 extra_bits = mask_bits % 8; in ipv6_network_portion()
2232 if (extra_bits) { in ipv6_network_portion()
2233 *addrp &= bitmasks[extra_bits]; in ipv6_network_portion()
/netbsd-src/sys/net/
H A Dzlib.c2223 const intf *extra_bits; /* extra bits for each code or NULL */ member
2352 static_l_desc.extra_bits = extra_lbits; in tr_static_init()
2354 static_d_desc.extra_bits = extra_dbits; in tr_static_init()
2355 static_bl_desc.extra_bits = extra_blbits; in tr_static_init()
2591 const intf *extra = desc->stat_desc->extra_bits; in gen_bitlen()
/netbsd-src/external/lgpl3/gmp/dist/
H A DChangeLog7450 extra_bits, starting at zero, to ensure that we don't produce too
7452 otherwise terminate with extra_bits > 0, to make the returned