/dports/graphics/mesa-dri-classic/mesa-20.2.3/src/compiler/nir/ |
H A D | nir_lower_bool_to_bitsize.c | 30 assert(def->bit_size > 1); in assert_ssa_def_is_not_1bit() 38 if (def->bit_size == 1) { in rewrite_1bit_ssa_def_to_32bit() 39 def->bit_size = 32; in rewrite_1bit_ssa_def_to_32bit() 147 assert(bit_size > 1); in lower_alu_instr() 165 opcode = bit_size == 8 ? nir_op_f2b8 : in lower_alu_instr() 170 opcode = bit_size == 8 ? nir_op_i2b8 : in lower_alu_instr() 325 if (alu->dest.dest.ssa.bit_size == 1) in lower_alu_instr() 326 alu->dest.dest.ssa.bit_size = bit_size; in lower_alu_instr() 336 if (load->def.bit_size > 1) in lower_load_const_instr() 351 load->def.bit_size = 32; in lower_load_const_instr() [all …]
|
/dports/graphics/libosmesa-gallium/mesa-21.3.6/src/compiler/nir/ |
H A D | nir_lower_bool_to_bitsize.c | 30 assert(def->bit_size > 1); in assert_ssa_def_is_not_1bit() 38 if (def->bit_size == 1) { in rewrite_1bit_ssa_def_to_32bit() 39 def->bit_size = 32; in rewrite_1bit_ssa_def_to_32bit() 148 assert(bit_size > 1); in lower_alu_instr() 167 opcode = bit_size == 8 ? nir_op_f2b8 : in lower_alu_instr() 172 opcode = bit_size == 8 ? nir_op_i2b8 : in lower_alu_instr() 327 if (alu->dest.dest.ssa.bit_size == 1) in lower_alu_instr() 328 alu->dest.dest.ssa.bit_size = bit_size; in lower_alu_instr() 338 if (load->def.bit_size > 1) in lower_load_const_instr() 353 load->def.bit_size = 32; in lower_load_const_instr() [all …]
|
H A D | nir_opt_idiv_const.c | 33 return nir_imm_intN_t(b, 0, n->bit_size); in build_udiv() 38 util_compute_fast_udiv_info(d, n->bit_size, n->bit_size); in build_udiv() 56 return nir_imm_intN_t(b, 0, n->bit_size); in build_umod() 68 int64_t int_min = u_intN_min(n->bit_size); in build_idiv() 75 return nir_imm_intN_t(b, 0, n->bit_size); in build_idiv() 106 int64_t int_min = u_intN_min(n->bit_size); in build_irem() 108 return nir_imm_intN_t(b, 0, n->bit_size); in build_irem() 127 int64_t int_min = u_intN_min(n->bit_size); in build_imod() 159 unsigned bit_size = alu->src[1].src.ssa->bit_size; in nir_opt_idiv_const_instr() local 179 if (bit_size < 64) in nir_opt_idiv_const_instr() [all …]
|
/dports/lang/clover/mesa-21.3.6/src/compiler/nir/ |
H A D | nir_lower_bool_to_bitsize.c | 30 assert(def->bit_size > 1); in assert_ssa_def_is_not_1bit() 38 if (def->bit_size == 1) { in rewrite_1bit_ssa_def_to_32bit() 39 def->bit_size = 32; in rewrite_1bit_ssa_def_to_32bit() 148 assert(bit_size > 1); in lower_alu_instr() 167 opcode = bit_size == 8 ? nir_op_f2b8 : in lower_alu_instr() 172 opcode = bit_size == 8 ? nir_op_i2b8 : in lower_alu_instr() 327 if (alu->dest.dest.ssa.bit_size == 1) in lower_alu_instr() 328 alu->dest.dest.ssa.bit_size = bit_size; in lower_alu_instr() 338 if (load->def.bit_size > 1) in lower_load_const_instr() 353 load->def.bit_size = 32; in lower_load_const_instr() [all …]
|
H A D | nir_opt_idiv_const.c | 33 return nir_imm_intN_t(b, 0, n->bit_size); in build_udiv() 38 util_compute_fast_udiv_info(d, n->bit_size, n->bit_size); in build_udiv() 56 return nir_imm_intN_t(b, 0, n->bit_size); in build_umod() 68 int64_t int_min = u_intN_min(n->bit_size); in build_idiv() 75 return nir_imm_intN_t(b, 0, n->bit_size); in build_idiv() 106 int64_t int_min = u_intN_min(n->bit_size); in build_irem() 108 return nir_imm_intN_t(b, 0, n->bit_size); in build_irem() 127 int64_t int_min = u_intN_min(n->bit_size); in build_imod() 159 unsigned bit_size = alu->src[1].src.ssa->bit_size; in nir_opt_idiv_const_instr() local 179 if (bit_size < 64) in nir_opt_idiv_const_instr() [all …]
|
/dports/graphics/mesa-libs/mesa-21.3.6/src/compiler/nir/ |
H A D | nir_lower_bool_to_bitsize.c | 30 assert(def->bit_size > 1); in assert_ssa_def_is_not_1bit() 38 if (def->bit_size == 1) { in rewrite_1bit_ssa_def_to_32bit() 39 def->bit_size = 32; in rewrite_1bit_ssa_def_to_32bit() 148 assert(bit_size > 1); in lower_alu_instr() 167 opcode = bit_size == 8 ? nir_op_f2b8 : in lower_alu_instr() 172 opcode = bit_size == 8 ? nir_op_i2b8 : in lower_alu_instr() 327 if (alu->dest.dest.ssa.bit_size == 1) in lower_alu_instr() 328 alu->dest.dest.ssa.bit_size = bit_size; in lower_alu_instr() 338 if (load->def.bit_size > 1) in lower_load_const_instr() 353 load->def.bit_size = 32; in lower_load_const_instr() [all …]
|
H A D | nir_opt_idiv_const.c | 33 return nir_imm_intN_t(b, 0, n->bit_size); in build_udiv() 38 util_compute_fast_udiv_info(d, n->bit_size, n->bit_size); in build_udiv() 56 return nir_imm_intN_t(b, 0, n->bit_size); in build_umod() 68 int64_t int_min = u_intN_min(n->bit_size); in build_idiv() 75 return nir_imm_intN_t(b, 0, n->bit_size); in build_idiv() 106 int64_t int_min = u_intN_min(n->bit_size); in build_irem() 108 return nir_imm_intN_t(b, 0, n->bit_size); in build_irem() 127 int64_t int_min = u_intN_min(n->bit_size); in build_imod() 159 unsigned bit_size = alu->src[1].src.ssa->bit_size; in nir_opt_idiv_const_instr() local 179 if (bit_size < 64) in nir_opt_idiv_const_instr() [all …]
|
/dports/graphics/mesa-gallium-va/mesa-21.3.6/src/compiler/nir/ |
H A D | nir_lower_bool_to_bitsize.c | 30 assert(def->bit_size > 1); in assert_ssa_def_is_not_1bit() 38 if (def->bit_size == 1) { in rewrite_1bit_ssa_def_to_32bit() 39 def->bit_size = 32; in rewrite_1bit_ssa_def_to_32bit() 148 assert(bit_size > 1); in lower_alu_instr() 167 opcode = bit_size == 8 ? nir_op_f2b8 : in lower_alu_instr() 172 opcode = bit_size == 8 ? nir_op_i2b8 : in lower_alu_instr() 327 if (alu->dest.dest.ssa.bit_size == 1) in lower_alu_instr() 328 alu->dest.dest.ssa.bit_size = bit_size; in lower_alu_instr() 338 if (load->def.bit_size > 1) in lower_load_const_instr() 353 load->def.bit_size = 32; in lower_load_const_instr() [all …]
|
H A D | nir_opt_idiv_const.c | 33 return nir_imm_intN_t(b, 0, n->bit_size); in build_udiv() 38 util_compute_fast_udiv_info(d, n->bit_size, n->bit_size); in build_udiv() 56 return nir_imm_intN_t(b, 0, n->bit_size); in build_umod() 68 int64_t int_min = u_intN_min(n->bit_size); in build_idiv() 75 return nir_imm_intN_t(b, 0, n->bit_size); in build_idiv() 106 int64_t int_min = u_intN_min(n->bit_size); in build_irem() 108 return nir_imm_intN_t(b, 0, n->bit_size); in build_irem() 127 int64_t int_min = u_intN_min(n->bit_size); in build_imod() 159 unsigned bit_size = alu->src[1].src.ssa->bit_size; in nir_opt_idiv_const_instr() local 179 if (bit_size < 64) in nir_opt_idiv_const_instr() [all …]
|
/dports/graphics/mesa-dri-gallium/mesa-21.3.6/src/compiler/nir/ |
H A D | nir_lower_bool_to_bitsize.c | 30 assert(def->bit_size > 1); in assert_ssa_def_is_not_1bit() 38 if (def->bit_size == 1) { in rewrite_1bit_ssa_def_to_32bit() 39 def->bit_size = 32; in rewrite_1bit_ssa_def_to_32bit() 148 assert(bit_size > 1); in lower_alu_instr() 167 opcode = bit_size == 8 ? nir_op_f2b8 : in lower_alu_instr() 172 opcode = bit_size == 8 ? nir_op_i2b8 : in lower_alu_instr() 327 if (alu->dest.dest.ssa.bit_size == 1) in lower_alu_instr() 328 alu->dest.dest.ssa.bit_size = bit_size; in lower_alu_instr() 338 if (load->def.bit_size > 1) in lower_load_const_instr() 353 load->def.bit_size = 32; in lower_load_const_instr() [all …]
|
H A D | nir_opt_idiv_const.c | 33 return nir_imm_intN_t(b, 0, n->bit_size); in build_udiv() 38 util_compute_fast_udiv_info(d, n->bit_size, n->bit_size); in build_udiv() 56 return nir_imm_intN_t(b, 0, n->bit_size); in build_umod() 68 int64_t int_min = u_intN_min(n->bit_size); in build_idiv() 75 return nir_imm_intN_t(b, 0, n->bit_size); in build_idiv() 106 int64_t int_min = u_intN_min(n->bit_size); in build_irem() 108 return nir_imm_intN_t(b, 0, n->bit_size); in build_irem() 127 int64_t int_min = u_intN_min(n->bit_size); in build_imod() 159 unsigned bit_size = alu->src[1].src.ssa->bit_size; in nir_opt_idiv_const_instr() local 179 if (bit_size < 64) in nir_opt_idiv_const_instr() [all …]
|
/dports/graphics/mesa-gallium-vdpau/mesa-21.3.6/src/compiler/nir/ |
H A D | nir_lower_bool_to_bitsize.c | 30 assert(def->bit_size > 1); in assert_ssa_def_is_not_1bit() 38 if (def->bit_size == 1) { in rewrite_1bit_ssa_def_to_32bit() 39 def->bit_size = 32; in rewrite_1bit_ssa_def_to_32bit() 148 assert(bit_size > 1); in lower_alu_instr() 167 opcode = bit_size == 8 ? nir_op_f2b8 : in lower_alu_instr() 172 opcode = bit_size == 8 ? nir_op_i2b8 : in lower_alu_instr() 327 if (alu->dest.dest.ssa.bit_size == 1) in lower_alu_instr() 328 alu->dest.dest.ssa.bit_size = bit_size; in lower_alu_instr() 338 if (load->def.bit_size > 1) in lower_load_const_instr() 353 load->def.bit_size = 32; in lower_load_const_instr() [all …]
|
H A D | nir_opt_idiv_const.c | 33 return nir_imm_intN_t(b, 0, n->bit_size); in build_udiv() 38 util_compute_fast_udiv_info(d, n->bit_size, n->bit_size); in build_udiv() 56 return nir_imm_intN_t(b, 0, n->bit_size); in build_umod() 68 int64_t int_min = u_intN_min(n->bit_size); in build_idiv() 75 return nir_imm_intN_t(b, 0, n->bit_size); in build_idiv() 106 int64_t int_min = u_intN_min(n->bit_size); in build_irem() 108 return nir_imm_intN_t(b, 0, n->bit_size); in build_irem() 127 int64_t int_min = u_intN_min(n->bit_size); in build_imod() 159 unsigned bit_size = alu->src[1].src.ssa->bit_size; in nir_opt_idiv_const_instr() local 179 if (bit_size < 64) in nir_opt_idiv_const_instr() [all …]
|
/dports/graphics/mesa-gallium-xa/mesa-21.3.6/src/compiler/nir/ |
H A D | nir_lower_bool_to_bitsize.c | 30 assert(def->bit_size > 1); in assert_ssa_def_is_not_1bit() 38 if (def->bit_size == 1) { in rewrite_1bit_ssa_def_to_32bit() 39 def->bit_size = 32; in rewrite_1bit_ssa_def_to_32bit() 148 assert(bit_size > 1); in lower_alu_instr() 167 opcode = bit_size == 8 ? nir_op_f2b8 : in lower_alu_instr() 172 opcode = bit_size == 8 ? nir_op_i2b8 : in lower_alu_instr() 327 if (alu->dest.dest.ssa.bit_size == 1) in lower_alu_instr() 328 alu->dest.dest.ssa.bit_size = bit_size; in lower_alu_instr() 338 if (load->def.bit_size > 1) in lower_load_const_instr() 353 load->def.bit_size = 32; in lower_load_const_instr() [all …]
|
/dports/graphics/libosmesa/mesa-21.3.6/src/compiler/nir/ |
H A D | nir_lower_bool_to_bitsize.c | 30 assert(def->bit_size > 1); in assert_ssa_def_is_not_1bit() 38 if (def->bit_size == 1) { in rewrite_1bit_ssa_def_to_32bit() 39 def->bit_size = 32; in rewrite_1bit_ssa_def_to_32bit() 148 assert(bit_size > 1); in lower_alu_instr() 167 opcode = bit_size == 8 ? nir_op_f2b8 : in lower_alu_instr() 172 opcode = bit_size == 8 ? nir_op_i2b8 : in lower_alu_instr() 327 if (alu->dest.dest.ssa.bit_size == 1) in lower_alu_instr() 328 alu->dest.dest.ssa.bit_size = bit_size; in lower_alu_instr() 338 if (load->def.bit_size > 1) in lower_load_const_instr() 353 load->def.bit_size = 32; in lower_load_const_instr() [all …]
|
/dports/graphics/mesa-dri/mesa-21.3.6/src/compiler/nir/ |
H A D | nir_lower_bool_to_bitsize.c | 30 assert(def->bit_size > 1); in assert_ssa_def_is_not_1bit() 38 if (def->bit_size == 1) { in rewrite_1bit_ssa_def_to_32bit() 39 def->bit_size = 32; in rewrite_1bit_ssa_def_to_32bit() 148 assert(bit_size > 1); in lower_alu_instr() 167 opcode = bit_size == 8 ? nir_op_f2b8 : in lower_alu_instr() 172 opcode = bit_size == 8 ? nir_op_i2b8 : in lower_alu_instr() 327 if (alu->dest.dest.ssa.bit_size == 1) in lower_alu_instr() 328 alu->dest.dest.ssa.bit_size = bit_size; in lower_alu_instr() 338 if (load->def.bit_size > 1) in lower_load_const_instr() 353 load->def.bit_size = 32; in lower_load_const_instr() [all …]
|
/dports/graphics/mesa-devel/mesa-22.0-branchpoint-2059-ge8a63cf61ec/src/compiler/nir/ |
H A D | nir_lower_bool_to_bitsize.c | 30 assert(def->bit_size > 1); in assert_ssa_def_is_not_1bit() 38 if (def->bit_size == 1) { in rewrite_1bit_ssa_def_to_32bit() 39 def->bit_size = 32; in rewrite_1bit_ssa_def_to_32bit() 148 assert(bit_size > 1); in lower_alu_instr() 167 opcode = bit_size == 8 ? nir_op_f2b8 : in lower_alu_instr() 172 opcode = bit_size == 8 ? nir_op_i2b8 : in lower_alu_instr() 327 if (alu->dest.dest.ssa.bit_size == 1) in lower_alu_instr() 328 alu->dest.dest.ssa.bit_size = bit_size; in lower_alu_instr() 338 if (load->def.bit_size > 1) in lower_load_const_instr() 353 load->def.bit_size = 32; in lower_load_const_instr() [all …]
|
/dports/emulators/yuzu/yuzu-0b47f7a46/externals/dynarmic/src/frontend/ |
H A D | imm.h | 84 template <size_t bit_size> 89 template <size_t bit_size> 94 template <size_t bit_size> 99 template <size_t bit_size> 104 template <size_t bit_size> 109 template <size_t bit_size> 114 template <size_t bit_size> 119 template <size_t bit_size> 124 template <size_t bit_size> 129 template <size_t bit_size> [all …]
|
/dports/emulators/citra-qt5/citra-ac98458e0/externals/dynarmic/src/frontend/ |
H A D | imm.h | 84 template <size_t bit_size> 89 template <size_t bit_size> 94 template <size_t bit_size> 99 template <size_t bit_size> 104 template <size_t bit_size> 109 template <size_t bit_size> 114 template <size_t bit_size> 119 template <size_t bit_size> 124 template <size_t bit_size> 129 template <size_t bit_size> [all …]
|
/dports/emulators/citra/citra-ac98458e0/externals/dynarmic/src/frontend/ |
H A D | imm.h | 84 template <size_t bit_size> 89 template <size_t bit_size> 94 template <size_t bit_size> 99 template <size_t bit_size> 104 template <size_t bit_size> 109 template <size_t bit_size> 114 template <size_t bit_size> 119 template <size_t bit_size> 124 template <size_t bit_size> 129 template <size_t bit_size> [all …]
|
/dports/japanese/canna-server/Canna37p3/lib/RK/ |
H A D | bits.c | 61 int bit_size; 78 dstCount += bit_size; 115 int bit_size; 133 srcQ >>= bit_size; 134 srcCount -= bit_size; 162 int bit_size; 190 srcQ >>= bit_size; 230 int bit_size, n, val; 245 dstCount += bit_size; 270 int bit_size; [all …]
|
/dports/japanese/canna-lib/Canna37p3/lib/RK/ |
H A D | bits.c | 61 int bit_size; 78 dstCount += bit_size; 115 int bit_size; 133 srcQ >>= bit_size; 134 srcCount -= bit_size; 162 int bit_size; 190 srcQ >>= bit_size; 230 int bit_size, n, val; 245 dstCount += bit_size; 270 int bit_size; [all …]
|
/dports/math/e-antic/flint2-ae7ec89/fmpz_poly/ |
H A D | bit_unpack.c | 23 flint_bitcnt_t b = bit_size % FLINT_BITS; in _fmpz_poly_bit_unpack() 24 mp_size_t l = bit_size / FLINT_BITS; in _fmpz_poly_bit_unpack() 51 flint_bitcnt_t b = bit_size % FLINT_BITS; in _fmpz_poly_bit_unpack_unsigned() 52 mp_size_t l = bit_size / FLINT_BITS; in _fmpz_poly_bit_unpack_unsigned() 81 if (bit_size == 0 || fmpz_is_zero(f)) in fmpz_poly_bit_unpack_unsigned() 87 len = (fmpz_bits(f) + bit_size - 1) / bit_size; in fmpz_poly_bit_unpack_unsigned() 89 mpz_init2(tmp, bit_size*len); in fmpz_poly_bit_unpack_unsigned() 110 if (bit_size == 0 || fmpz_is_zero(f)) in fmpz_poly_bit_unpack() 117 len = (fmpz_bits(f) + bit_size - 1) / bit_size; in fmpz_poly_bit_unpack() 120 mpz_init2(tmp, bit_size*len); in fmpz_poly_bit_unpack() [all …]
|
/dports/math/e-antic/e-antic-1.0.0-rc.13/libeantic/upstream/antic/fmpz_poly/ |
H A D | bit_unpack.c | 23 flint_bitcnt_t b = bit_size % FLINT_BITS; in _fmpz_poly_bit_unpack() 24 mp_size_t l = bit_size / FLINT_BITS; in _fmpz_poly_bit_unpack() 51 flint_bitcnt_t b = bit_size % FLINT_BITS; in _fmpz_poly_bit_unpack_unsigned() 52 mp_size_t l = bit_size / FLINT_BITS; in _fmpz_poly_bit_unpack_unsigned() 81 if (bit_size == 0 || fmpz_is_zero(f)) in fmpz_poly_bit_unpack_unsigned() 87 len = (fmpz_bits(f) + bit_size - 1) / bit_size; in fmpz_poly_bit_unpack_unsigned() 89 mpz_init2(tmp, bit_size*len); in fmpz_poly_bit_unpack_unsigned() 110 if (bit_size == 0 || fmpz_is_zero(f)) in fmpz_poly_bit_unpack() 117 len = (fmpz_bits(f) + bit_size - 1) / bit_size; in fmpz_poly_bit_unpack() 120 mpz_init2(tmp, bit_size*len); in fmpz_poly_bit_unpack() [all …]
|
/dports/math/flint2/flint-2.8.4/fmpz_poly/ |
H A D | bit_unpack.c | 23 flint_bitcnt_t b = bit_size % FLINT_BITS; in _fmpz_poly_bit_unpack() 24 mp_size_t l = bit_size / FLINT_BITS; in _fmpz_poly_bit_unpack() 51 flint_bitcnt_t b = bit_size % FLINT_BITS; in _fmpz_poly_bit_unpack_unsigned() 52 mp_size_t l = bit_size / FLINT_BITS; in _fmpz_poly_bit_unpack_unsigned() 81 if (bit_size == 0 || fmpz_is_zero(f)) in fmpz_poly_bit_unpack_unsigned() 87 len = (fmpz_bits(f) + bit_size - 1) / bit_size; in fmpz_poly_bit_unpack_unsigned() 89 mpz_init2(tmp, bit_size*len); in fmpz_poly_bit_unpack_unsigned() 110 if (bit_size == 0 || fmpz_is_zero(f)) in fmpz_poly_bit_unpack() 117 len = (fmpz_bits(f) + bit_size - 1) / bit_size; in fmpz_poly_bit_unpack() 120 mpz_init2(tmp, bit_size*len); in fmpz_poly_bit_unpack() [all …]
|