Home
last modified time | relevance | path

Searched refs:bitsize (Results 1 – 25 of 564) sorted by relevance

12345678910>>...23

/netbsd-src/external/gpl3/binutils.old/dist/bfd/
H A Delfxx-loongarch.c748 #define LARCH_RELOC_BFD_VMA_BIT_MASK(bitsize) \ argument
749 (~((((bfd_vma)0x1) << (bitsize)) - 1))
769 int bitsize = howto->bitsize + howto->rightshift; in loongarch_gen_adjust_reloc_bits() local
774 bfd_vma sig_bit = (val >> (bitsize - 1)) & 0x1; in loongarch_gen_adjust_reloc_bits()
778 if ((LARCH_RELOC_BFD_VMA_BIT_MASK (bitsize - 1) & val) in loongarch_gen_adjust_reloc_bits()
779 != LARCH_RELOC_BFD_VMA_BIT_MASK (bitsize - 1)) in loongarch_gen_adjust_reloc_bits()
784 if (LARCH_RELOC_BFD_VMA_BIT_MASK (bitsize - 1) & val) in loongarch_gen_adjust_reloc_bits()
790 if (LARCH_RELOC_BFD_VMA_BIT_MASK (bitsize) & val) in loongarch_gen_adjust_reloc_bits()
797 val = (val & ((0x1U << bitsize) - 1)) >> howto->rightshift; in loongarch_gen_adjust_reloc_bits()
819 int bitsize = howto->bitsize + howto->rightshift; in loongarch_adjust_reloc_bits_l16_xx5_h5() local
[all …]
H A Delf64-bpf.c452 addend = bfd_get (howto->bitsize, input_bfd, in bpf_elf_relocate_section()
454 + (howto->bitsize == 16 ? 2 : 4)); in bpf_elf_relocate_section()
461 bfd_put (howto->bitsize, input_bfd, relocation, in bpf_elf_relocate_section()
463 + (howto->bitsize == 16 ? 2 : 4)); in bpf_elf_relocate_section()
473 addend = bfd_get (howto->bitsize, input_bfd, where); in bpf_elf_relocate_section()
475 bfd_put (howto->bitsize, input_bfd, relocation, where); in bpf_elf_relocate_section()
530 howto->bitsize, in bpf_elf_relocate_section()
616 reloc_size = (reloc_entry->howto->bitsize in bpf_elf_generic_reloc()
638 reloc_entry->howto->bitsize, in bpf_elf_generic_reloc()
661 bfd_put (reloc_entry->howto->bitsize, abfd, relocation, in bpf_elf_generic_reloc()
H A Delf32-d30v.c113 if (howto->pc_relative && howto->bitsize == 32) in bfd_elf_d30v_reloc()
212 mask = (1 << howto->bitsize) - 1; in bfd_elf_d30v_reloc_21()
213 if (howto->bitsize == 6) in bfd_elf_d30v_reloc_21()
215 max = (1 << (howto->bitsize + 2)) - 1; in bfd_elf_d30v_reloc_21()
219 if (howto->bitsize == 6) in bfd_elf_d30v_reloc_21()
242 if (howto->bitsize == 6) in bfd_elf_d30v_reloc_21()
H A Dcpu-ns32k.c379 bfd_signed_vma reloc_signed_max = (1 << (howto->bitsize - 1)) - 1; in do_ns32k_reloc()
400 (((1 << (howto->bitsize - 1)) - 1) << 1) | 1; in do_ns32k_reloc()
411 bfd_vma reloc_bits = (((1 << (howto->bitsize - 1)) - 1) << 1) | 1; in do_ns32k_reloc()
671 bfd_signed_vma reloc_signed_max = (1 << (howto->bitsize - 1)) - 1; in _bfd_do_ns32k_reloc_contents()
685 (((1 << (howto->bitsize - 1)) - 1) << 1) | 1; in _bfd_do_ns32k_reloc_contents()
696 bfd_vma reloc_bits = (((1 << (howto->bitsize - 1)) - 1) << 1) | 1; in _bfd_do_ns32k_reloc_contents()
/netbsd-src/external/gpl3/binutils/dist/bfd/
H A Dbpf-reloc.def5 0, /* bitsize */
20 64, /* bitsize */
35 32, /* bitsize */
50 64, /* bitsize */
65 32, /* bitsize */
80 16, /* bitsize */
100 32, /* bitsize */
H A Delf64-bpf.c261 addend = bfd_get (howto->bitsize, input_bfd, in bpf_elf_relocate_section()
263 + (howto->bitsize == 16 ? 2 : 4)); in bpf_elf_relocate_section()
270 bfd_put (howto->bitsize, input_bfd, relocation, in bpf_elf_relocate_section()
272 + (howto->bitsize == 16 ? 2 : 4)); in bpf_elf_relocate_section()
281 addend = bfd_get (howto->bitsize, input_bfd, where); in bpf_elf_relocate_section()
283 bfd_put (howto->bitsize, input_bfd, relocation, where); in bpf_elf_relocate_section()
317 howto->bitsize, in bpf_elf_relocate_section()
418 reloc_size = (reloc_entry->howto->bitsize in bpf_elf_generic_reloc()
437 reloc_entry->howto->bitsize, in bpf_elf_generic_reloc()
460 bfd_put (reloc_entry->howto->bitsize, abfd, relocation, in bpf_elf_generic_reloc()
H A Delf32-d30v.c113 if (howto->pc_relative && howto->bitsize == 32) in bfd_elf_d30v_reloc()
212 mask = (1 << howto->bitsize) - 1; in bfd_elf_d30v_reloc_21()
213 if (howto->bitsize == 6) in bfd_elf_d30v_reloc_21()
215 max = (1 << (howto->bitsize + 2)) - 1; in bfd_elf_d30v_reloc_21()
219 if (howto->bitsize == 6) in bfd_elf_d30v_reloc_21()
242 if (howto->bitsize == 6) in bfd_elf_d30v_reloc_21()
H A Dcpu-ns32k.c379 bfd_signed_vma reloc_signed_max = (1 << (howto->bitsize - 1)) - 1; in do_ns32k_reloc()
400 (((1 << (howto->bitsize - 1)) - 1) << 1) | 1; in do_ns32k_reloc()
411 bfd_vma reloc_bits = (((1 << (howto->bitsize - 1)) - 1) << 1) | 1; in do_ns32k_reloc()
671 bfd_signed_vma reloc_signed_max = (1 << (howto->bitsize - 1)) - 1; in _bfd_do_ns32k_reloc_contents()
685 (((1 << (howto->bitsize - 1)) - 1) << 1) | 1; in _bfd_do_ns32k_reloc_contents()
696 bfd_vma reloc_bits = (((1 << (howto->bitsize - 1)) - 1) << 1) | 1; in _bfd_do_ns32k_reloc_contents()
H A Delfxx-loongarch.c1963 #define LARCH_RELOC_BFD_VMA_BIT_MASK(bitsize) \ argument
1964 (~((((bfd_vma)0x1) << (bitsize)) - 1))
1980 bfd_signed_vma mask = ((bfd_signed_vma)0x1 << howto->bitsize) - 1; in reloc_bits()
2016 bfd_signed_vma mask = ((bfd_signed_vma)0x1 << (howto->bitsize in reloc_sign_bits()
2037 mask = ((bfd_signed_vma)0x1 << howto->bitsize) - 1; in reloc_sign_bits()
2108 bfd_vma old_value = bfd_get (howto->bitsize, abfd, in loongarch_elf_add_sub_reloc()
2130 bfd_put (howto->bitsize, abfd, relocation, data + reloc_entry->address); in loongarch_elf_add_sub_reloc()
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dexpmed.cc95 mask_rtx (scalar_int_mode mode, int bitpos, int bitsize, bool complement) in mask_rtx() argument
98 (wi::shifted_mask (bitpos, bitsize, complement, in mask_rtx()
442 unsigned HOST_WIDE_INT bitsize, in narrow_bit_field_mem() argument
458 HOST_WIDE_INT size = ((*new_bitnum + bitsize + BITS_PER_UNIT - 1) in narrow_bit_field_mem()
476 rtx op0, HOST_WIDE_INT bitsize, in adjust_bit_field_mem_for_reg() argument
483 bit_field_mode_iterator iter (bitsize, bitnum, bitregion_start, in adjust_bit_field_mem_for_reg()
509 return narrow_bit_field_mem (op0, best_mode, bitsize, bitnum, in adjust_bit_field_mem_for_reg()
520 lowpart_bit_field_p (poly_uint64 bitnum, poly_uint64 bitsize, in lowpart_bit_field_p() argument
526 && (known_eq (bitnum + bitsize, GET_MODE_BITSIZE (struct_mode)) in lowpart_bit_field_p()
527 || multiple_p (bitnum + bitsize, in lowpart_bit_field_p()
[all …]
H A Dgimple-ssa-store-merging.cc371 poly_int64 bitsize, bitpos, bytepos; in find_bswap_or_nop_load() local
383 base_addr = get_inner_reference (ref, &bitsize, &bitpos, &offset, &mode, in find_bswap_or_nop_load()
422 if (!multiple_p (bitsize, BITS_PER_UNIT)) in find_bswap_or_nop_load()
629 unsigned HOST_WIDE_INT bitsize = tree_to_uhwi (TREE_OPERAND (rhs1, 1)); in find_bswap_or_nop_1() local
632 && bitsize % BITS_PER_UNIT == 0 in find_bswap_or_nop_1()
637 bitpos = TYPE_PRECISION (n->type) - bitpos - bitsize; in find_bswap_or_nop_1()
646 for (unsigned i = 0; i < bitsize / BITS_PER_UNIT; in find_bswap_or_nop_1()
1624 poly_uint64 bitsize; member in __anone7f7d7200211::store_operand_info
1634 : val (NULL_TREE), base_addr (NULL_TREE), bitsize (0), bitpos (0), in store_operand_info()
1646 unsigned HOST_WIDE_INT bitsize; member in __anone7f7d7200211::store_immediate_info
[all …]
H A Dstor-layout.cc317 if (known_eq (int_n_data[i].bitsize, size) in mode_for_size()
360 if (known_ge (int_n_data[i].bitsize, size) in smallest_mode_for_size()
361 && known_lt (int_n_data[i].bitsize, GET_MODE_PRECISION (mode)) in smallest_mode_for_size()
426 poly_int64 bitsize = GET_MODE_BITSIZE (mode); in bitwise_mode_for_mode() local
435 || mode_for_size (bitsize, MODE_COMPLEX_INT, false).exists (&trial)) in bitwise_mode_for_mode()
443 || maybe_gt (bitsize, MAX_FIXED_MODE_SIZE)) in bitwise_mode_for_mode()
447 || mode_for_size (bitsize, MODE_VECTOR_INT, 0).exists (&trial)) in bitwise_mode_for_mode()
454 return mode_for_size (bitsize, MODE_INT, true); in bitwise_mode_for_mode()
1503 HOST_WIDE_INT bitsize = tree_to_uhwi (DECL_SIZE (field)); in place_field() local
1505 if (rli->remaining_in_alignment < bitsize) in place_field()
[all …]
H A Dexpr.cc2901 unsigned HOST_WIDE_INT bitsize = MIN (TYPE_ALIGN (type), BITS_PER_WORD); in copy_blkmode_from_reg() local
2969 opt_scalar_int_mode mem_mode = int_mode_for_size (bitsize, 1); in copy_blkmode_from_reg()
2978 bitpos += bitsize, xbitpos += bitsize) in copy_blkmode_from_reg()
2995 store_bit_field (dst, bitsize, bitpos % BITS_PER_WORD, 0, 0, copy_mode, in copy_blkmode_from_reg()
2996 extract_bit_field (src, bitsize, in copy_blkmode_from_reg()
3014 unsigned int bitsize; in copy_blkmode_to_reg() local
3048 bitsize = MIN (TYPE_ALIGN (TREE_TYPE (src)), BITS_PER_WORD); in copy_blkmode_to_reg()
3049 min_mode = smallest_int_mode_for_size (bitsize); in copy_blkmode_to_reg()
3054 bitpos += bitsize, xbitpos += bitsize) in copy_blkmode_to_reg()
3083 bitsize = msize; in copy_blkmode_to_reg()
[all …]
H A Dgimple-laddress.cc103 poly_int64 bitsize, bitpos; in execute() local
107 base = get_inner_reference (TREE_OPERAND (expr, 0), &bitsize, in execute()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/
H A DSystemZOperands.td92 class AddressAsmOperand<string format, string bitsize, string dispsize,
95 let Name = format#bitsize#"Disp"#dispsize#length;
96 let ParserMethod = "parse"#format#bitsize;
104 class AddressOperand<string bitsize, string dispsize, string length,
106 : Operand<!cast<ValueType>("i"#bitsize)> {
110 "decode"#format#bitsize#"Disp"#dispsize#length#"Operand";
114 !cast<AddressAsmOperand>(format#bitsize#"Disp"#dispsize#length);
126 class AddressingMode<string seltype, string bitsize, string dispsize,
129 : ComplexPattern<!cast<ValueType>("i"#bitsize), numops,
132 AddressOperand<bitsize, dispsize, length, format, operands>;
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dexpmed.c95 mask_rtx (scalar_int_mode mode, int bitpos, int bitsize, bool complement) in mask_rtx() argument
98 (wi::shifted_mask (bitpos, bitsize, complement, in mask_rtx()
438 unsigned HOST_WIDE_INT bitsize, in narrow_bit_field_mem() argument
454 HOST_WIDE_INT size = ((*new_bitnum + bitsize + BITS_PER_UNIT - 1) in narrow_bit_field_mem()
472 rtx op0, HOST_WIDE_INT bitsize, in adjust_bit_field_mem_for_reg() argument
479 bit_field_mode_iterator iter (bitsize, bitnum, bitregion_start, in adjust_bit_field_mem_for_reg()
505 return narrow_bit_field_mem (op0, best_mode, bitsize, bitnum, in adjust_bit_field_mem_for_reg()
516 lowpart_bit_field_p (poly_uint64 bitnum, poly_uint64 bitsize, in lowpart_bit_field_p() argument
522 && (known_eq (bitnum + bitsize, GET_MODE_BITSIZE (struct_mode)) in lowpart_bit_field_p()
523 || multiple_p (bitnum + bitsize, in lowpart_bit_field_p()
[all …]
H A Dgimple-ssa-store-merging.c371 poly_int64 bitsize, bitpos, bytepos; in find_bswap_or_nop_load() local
383 base_addr = get_inner_reference (ref, &bitsize, &bitpos, &offset, &mode, in find_bswap_or_nop_load()
422 if (!multiple_p (bitsize, BITS_PER_UNIT)) in find_bswap_or_nop_load()
601 unsigned HOST_WIDE_INT bitsize = tree_to_uhwi (TREE_OPERAND (rhs1, 1)); in find_bswap_or_nop_1() local
604 && bitsize % BITS_PER_UNIT == 0 in find_bswap_or_nop_1()
609 bitpos = TYPE_PRECISION (n->type) - bitpos - bitsize; in find_bswap_or_nop_1()
618 for (unsigned i = 0; i < bitsize / BITS_PER_UNIT; in find_bswap_or_nop_1()
1342 poly_uint64 bitsize; variable
1352 : val (NULL_TREE), base_addr (NULL_TREE), bitsize (0), bitpos (0), in store_operand_info()
1364 unsigned HOST_WIDE_INT bitsize;
[all …]
H A Dstor-layout.c317 if (known_eq (int_n_data[i].bitsize, size) in mode_for_size()
360 if (known_ge (int_n_data[i].bitsize, size) in smallest_mode_for_size()
361 && known_lt (int_n_data[i].bitsize, GET_MODE_PRECISION (mode)) in smallest_mode_for_size()
423 poly_int64 bitsize = GET_MODE_BITSIZE (mode); in bitwise_mode_for_mode() local
432 || mode_for_size (bitsize, MODE_COMPLEX_INT, false).exists (&trial)) in bitwise_mode_for_mode()
440 || maybe_gt (bitsize, MAX_FIXED_MODE_SIZE)) in bitwise_mode_for_mode()
444 || mode_for_size (bitsize, MODE_VECTOR_INT, 0).exists (&trial)) in bitwise_mode_for_mode()
451 return mode_for_size (bitsize, MODE_INT, true); in bitwise_mode_for_mode()
1500 HOST_WIDE_INT bitsize = tree_to_uhwi (DECL_SIZE (field)); in place_field() local
1502 if (rli->remaining_in_alignment < bitsize) in place_field()
[all …]
H A Dexpr.c2710 unsigned HOST_WIDE_INT bitsize = MIN (TYPE_ALIGN (type), BITS_PER_WORD); in copy_blkmode_from_reg() local
2778 opt_scalar_int_mode mem_mode = int_mode_for_size (bitsize, 1); in copy_blkmode_from_reg()
2787 bitpos += bitsize, xbitpos += bitsize) in copy_blkmode_from_reg()
2804 store_bit_field (dst, bitsize, bitpos % BITS_PER_WORD, 0, 0, copy_mode, in copy_blkmode_from_reg()
2805 extract_bit_field (src, bitsize, in copy_blkmode_from_reg()
2823 unsigned int bitsize; in copy_blkmode_to_reg() local
2857 bitsize = MIN (TYPE_ALIGN (TREE_TYPE (src)), BITS_PER_WORD); in copy_blkmode_to_reg()
2858 min_mode = smallest_int_mode_for_size (bitsize); in copy_blkmode_to_reg()
2863 bitpos += bitsize, xbitpos += bitsize) in copy_blkmode_to_reg()
2892 bitsize = msize; in copy_blkmode_to_reg()
[all …]
H A Dhsa-common.c412 hsa_bittype_for_bitsize (unsigned bitsize) in hsa_bittype_for_bitsize() argument
414 switch (bitsize) in hsa_bittype_for_bitsize()
436 hsa_uint_for_bitsize (unsigned bitsize) in hsa_uint_for_bitsize() argument
438 switch (bitsize) in hsa_uint_for_bitsize()
456 hsa_float_for_bitsize (unsigned bitsize) in hsa_float_for_bitsize() argument
458 switch (bitsize) in hsa_float_for_bitsize()
H A Dtree-vect-generic.c127 tree t, tree bitsize, tree bitpos) in tree_vec_extract() argument
143 = build_nonstandard_integer_type (tree_to_uhwi (bitsize), 0); in tree_vec_extract()
145 bitsize, bitpos); in tree_vec_extract()
150 return gimplify_build3 (gsi, BIT_FIELD_REF, type, t, bitsize, bitpos); in tree_vec_extract()
158 tree b ATTRIBUTE_UNUSED, tree bitpos, tree bitsize, in do_unop() argument
161 a = tree_vec_extract (gsi, inner_type, a, bitsize, bitpos); in do_unop()
167 tree bitpos, tree bitsize, enum tree_code code, in do_binop() argument
171 a = tree_vec_extract (gsi, inner_type, a, bitsize, bitpos); in do_binop()
173 b = tree_vec_extract (gsi, inner_type, b, bitsize, bitpos); in do_binop()
185 tree bitpos, tree bitsize, enum tree_code code, tree type) in do_compare() argument
[all …]
H A Dgimple-laddress.c103 poly_int64 bitsize, bitpos; in execute() local
107 base = get_inner_reference (TREE_OPERAND (expr, 0), &bitsize, in execute()
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/hcrypto/
H A Drc2test.c44 const int bitsize; member
131 RC2_set_key(&key, tests[i].keylen, tests[i].key, tests[i].bitsize); in main()
/netbsd-src/external/gpl3/binutils.old/dist/opcodes/
H A Dnds32-dis.c109 pfd->bitsize) << pfd->shift; in nds32_parse_audio_ext()
111 int_value = __GF (insn, pfd->bitpos, pfd->bitsize) << pfd->shift; in nds32_parse_audio_ext()
120 __GF (insn, pfd->bitpos, pfd->bitsize) << pfd->shift; in nds32_parse_audio_ext()
282 __GF (insn, pfd->bitpos, pfd->bitsize) << pfd->shift; in nds32_parse_opcode()
303 pfd->bitsize) << pfd->shift; in nds32_parse_opcode()
306 __GF (insn, pfd->bitpos, pfd->bitsize) << pfd->shift; in nds32_parse_opcode()
362 __GF (insn, pfd->bitpos, pfd->bitsize) << pfd->shift; in nds32_parse_opcode()
392 pfd->bitsize) << pfd->shift; in nds32_parse_opcode()
395 __GF (insn, pfd->bitpos, pfd->bitsize) << pfd->shift; in nds32_parse_opcode()
/netbsd-src/external/gpl3/binutils/dist/opcodes/
H A Dnds32-dis.c109 pfd->bitsize) << pfd->shift; in nds32_parse_audio_ext()
111 int_value = __GF (insn, pfd->bitpos, pfd->bitsize) << pfd->shift; in nds32_parse_audio_ext()
120 __GF (insn, pfd->bitpos, pfd->bitsize) << pfd->shift; in nds32_parse_audio_ext()
282 __GF (insn, pfd->bitpos, pfd->bitsize) << pfd->shift; in nds32_parse_opcode()
303 pfd->bitsize) << pfd->shift; in nds32_parse_opcode()
306 __GF (insn, pfd->bitpos, pfd->bitsize) << pfd->shift; in nds32_parse_opcode()
362 __GF (insn, pfd->bitpos, pfd->bitsize) << pfd->shift; in nds32_parse_opcode()
392 pfd->bitsize) << pfd->shift; in nds32_parse_opcode()
395 __GF (insn, pfd->bitpos, pfd->bitsize) << pfd->shift; in nds32_parse_opcode()

12345678910>>...23