Home
last modified time | relevance | path

Searched refs:width (Results 1 – 25 of 138) sorted by relevance

123456

/toolchain/binutils/binutils-2.25/opcodes/
Daarch64-opc.h100 int width; member
176 unsigned width = 0; in get_operand_fields_width() local
178 width += fields[operand->fields[i++]].width; in get_operand_fields_width()
179 assert (width > 0 && width < 32); in get_operand_fields_width()
180 return width; in get_operand_fields_width()
214 gen_mask (int width) in gen_mask() argument
216 return ((aarch64_insn) 1 << width) - 1; in gen_mask()
221 gen_sub_field (enum aarch64_field_kind kind, int lsb_rel, int width, aarch64_field *ret) in gen_sub_field() argument
224 if (lsb_rel < 0 || width <= 0 || lsb_rel + width > field->width) in gen_sub_field()
227 ret->width = width; in gen_sub_field()
[all …]
Darm-dis.c1841 int width = 0; in arm_decode_bitfield() local
1858 value |= ((insn >> start) & ((2ul << bits) - 1)) << width; in arm_decode_bitfield()
1859 width += bits + 1; in arm_decode_bitfield()
1864 *widthp = width; in arm_decode_bitfield()
2188 int width; in print_insn_coprocessor() local
2190 c = arm_decode_bitfield (c, given, &value, &width); in print_insn_coprocessor()
2238 if (width == 2) in print_insn_coprocessor()
2287 if (value == ((1ul << width) - 1)) in print_insn_coprocessor()
2291 func (stream, "%c", c[(1 << width) - (int) value]); in print_insn_coprocessor()
2292 c += 1 << width; in print_insn_coprocessor()
[all …]
Dm88k-dis.c584 if (opptr->width == 0) in printop()
604 UEXT (inst, opptr->offset, opptr->width)); in printop()
609 UEXT (inst, opptr->offset, opptr->width)); in printop()
614 UEXT (inst, opptr->offset, opptr->width)); in printop()
619 UEXT (inst, opptr->offset, opptr->width)); in printop()
624 UEXT (inst, opptr->offset, opptr->width)); in printop()
628 extracted_field = UEXT (inst, opptr->offset, opptr->width); in printop()
636 extracted_field = UEXT (inst, opptr->offset, opptr->width); in printop()
641 extracted_field = UEXT (inst, opptr->offset, opptr->width); in printop()
660 (pc + (4 * (SEXT (inst, opptr->offset, opptr->width))), in printop()
Daarch64-asm.c53 value >>= field->width; in insert_fields()
1007 int64_t lsb, width; in convert_bfx_to_bfm() local
1011 width = inst->operands[3].imm.value; in convert_bfx_to_bfm()
1013 inst->operands[3].imm.value = lsb + width - 1; in convert_bfx_to_bfm()
1024 int64_t lsb, width; in convert_bfi_to_bfm() local
1028 width = inst->operands[3].imm.value; in convert_bfi_to_bfm()
1032 inst->operands[3].imm.value = width - 1; in convert_bfi_to_bfm()
1037 inst->operands[3].imm.value = width - 1; in convert_bfi_to_bfm()
Dv850-opc.c601 insert_WIDTH (unsigned long insn, long width, const char ** errmsg) in insert_WIDTH() argument
606 msb = (unsigned long)width + G_pos - 1; in insert_WIDTH()
611 if (width > 0x20 || width < 0) in insert_WIDTH()
636 unsigned long width, msb, lsb; in extract_WIDTH_U() local
649 width = msb - lsb + 1; in extract_WIDTH_U()
651 return width; in extract_WIDTH_U()
657 unsigned long width, msb, lsb; in extract_WIDTH_M() local
669 width = msb - lsb + 1; in extract_WIDTH_M()
671 return width; in extract_WIDTH_M()
677 unsigned long width, msb, lsb; in extract_WIDTH_L() local
[all …]
Dtic6x-dis.c131 unsigned int width = 0; in tic6x_field_width() local
134 return field->bitfields[0].width; in tic6x_field_width()
137 width += field->bitfields[i].width; in tic6x_field_width()
139 return width; in tic6x_field_width()
151 return (opcode >> field->bitfields[0].low_pos) & ((1u << field->bitfields[0].width) - 1); in tic6x_field_bits()
154 val |= ((opcode >> field->bitfields[i].low_pos) & ((1u << field->bitfields[i].width) - 1)) in tic6x_field_bits()
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-arm/
Difunc-8.s21 .macro test_relocs,name,width argument
23 b\width \name
24 beq\width \name
33 .macro test_relocs2,name,type,width argument
34 test_relocs a\type\name,\width
35 test_relocs t\type\name,\width
36 test_relocs ab\name,\width
37 test_relocs tb\name,\width
Difunc-10.s21 .macro test_relocs,name,width argument
23 b\width \name
24 beq\width \name
33 .macro test_relocs2,name,type,width argument
34 test_relocs a\type\name,\width
35 test_relocs t\type\name,\width
36 test_relocs ab\name,\width
37 test_relocs tb\name,\width
Difunc-4.s21 .macro test_relocs,name,width argument
23 b\width \name
24 beq\width \name
33 .macro test_relocs2,name,type,width argument
34 test_relocs a\type\name,\width
35 test_relocs t\type\name,\width
36 test_relocs ab\name,\width
37 test_relocs tb\name,\width
Difunc-6.s12 .macro test_relocs,name,width argument
13 bl\width \name
14 b\width \name
15 beq\width \name
Difunc-2.s12 .macro test_relocs,name,width argument
13 bl\width \name
14 b\width \name
15 beq\width \name
/toolchain/binutils/binutils-2.25/gprof/
Dbasic_blocks.c320 annotate_with_count (char *buf, unsigned int width, int line_num, PTR arg) in annotate_with_count() argument
335 for (i = 0; i < width; i++) in annotate_with_count()
337 buf[width] = '\0'; in annotate_with_count()
423 for (c = 0; c < width; c++) in annotate_with_count()
425 buf[width] = '\0'; in annotate_with_count()
441 if (len >= width) in annotate_with_count()
443 strncpy (buf, tmpbuf, width); in annotate_with_count()
444 buf[width] = '\0'; in annotate_with_count()
450 strcpy (buf + width - len, tmpbuf); in annotate_with_count()
451 for (c = 0; c < width - len; ++c) in annotate_with_count()
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/aarch64/
Dbitfield-alias.s52 .macro bf_32 op, lsb, width argument
53 \op wzr, w7, #\lsb, #\width
57 .macro bf_64 op, lsb, width argument
58 \op xzr, x7, #\lsb, #\width
Dbitfield-bfm.s73 .macro ins2bfm signed, reg, lsb, width argument
82 .macro x2bfm signed, reg, lsb, width argument
/toolchain/binutils/binutils-2.25/binutils/
Dwindint.h355 rc_uint_type width; member
370 bfd_byte width[2]; member
401 rc_uint_type width; member
427 bfd_byte width[2]; member
456 bfd_byte width[2]; member
644 rc_uint_type width; member
663 bfd_byte width[2]; member
676 bfd_byte width[2]; member
719 bfd_byte width; member
744 bfd_byte width[1]; member
Dresbin.c465 d->width = windres_get_16 (wrbfd, data + off + 6, 2); in bin_to_res_dialog()
551 dc->width = windres_get_16 (wrbfd, data + off + 4, 2); in bin_to_res_dialog()
819 gc->width = windres_get_16 (wrbfd, data, 2); in bin_to_res_group_cursor()
874 gi->width = windres_get_8 (wrbfd, data, 1); in bin_to_res_group_icon()
1433 windres_put_16 (wrbfd, bgci.width, gc->width); in res_to_bin_group_cursor()
1479 windres_put_16 (wrbfd, bd.width, dialog->width); in res_to_bin_dialog()
1491 windres_put_16 (wrbfd, bdx.width, dialog->width); in res_to_bin_dialog()
1540 windres_put_16 (wrbfd, bdc.width, dc->width); in res_to_bin_dialog()
1554 windres_put_16 (wrbfd, bdc.width, dc->width); in res_to_bin_dialog()
1654 windres_put_8 (wrbfd, bgii.width, gi->width); in res_to_bin_group_icon()
Dresrc.c86 bfd_byte width; member
780 icondirs[i].width = getc (e); in define_cursor()
842 cg->width = icondirs[i].width; in define_cursor()
889 rc_uint_type y, rc_uint_type width, rc_uint_type height, in define_control() argument
902 n->width = width; in define_control()
1181 icondirs[i].width = getc (e); in define_icon()
1241 cg->width = icondirs[i].width; in define_icon()
1307 cg->width = pb_data[0]; in define_group_icon_rcdata()
1360 cg->width = windres_get_16 (&wrtarget, pb_data, len_data); in define_group_cursor_rcdata()
1623 define_toolbar (rc_res_id id, rc_res_res_info *resinfo, rc_uint_type width, rc_uint_type height, in define_toolbar() argument
[all …]
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/arm/
Dinst-po-2.l3 [^:]*:10: Error: width suffixes are invalid in ARM mode
4 [^:]*:11: Error: width suffixes are invalid in ARM mode
Dthumb2_mul-bad.l2 [^:]*:10: Error: cannot honor width suffix -- `muleq.n r0,r0,r8'
4 [^:]*:13: Error: cannot honor width suffix -- `muleq.n r0,r1,r2'
/toolchain/binutils/binutils-2.25/bfd/
Delf-eh-frame.c168 read_value (bfd *abfd, bfd_byte *buf, int width, int is_signed) in read_value() argument
172 switch (width) in read_value()
203 write_value (bfd *abfd, bfd_byte *buf, bfd_vma value, int width) in write_value() argument
205 switch (width) in write_value()
1162 unsigned int width in _bfd_elf_discard_section_eh_frame() local
1165 = read_value (abfd, sec->contents + ent->offset + 8 + width, in _bfd_elf_discard_section_eh_frame()
1166 width, get_DW_EH_PE_signed (ent->fde_encoding)); in _bfd_elf_discard_section_eh_frame()
1578 unsigned int width; in _bfd_elf_write_section_eh_frame() local
1591 width = get_DW_EH_PE_width (ent->fde_encoding, ptr_size); in _bfd_elf_write_section_eh_frame()
1592 value = read_value (abfd, buf, width, in _bfd_elf_write_section_eh_frame()
[all …]
/toolchain/binutils/binutils-2.25/ld/scripttempl/
Delf32cr16c.sc37 width, as a speed optimization for accessing data located
39 bus width (2 bytes) and CR16CPlus bus width (4 bytes). */
/toolchain/binutils/binutils-2.25/libiberty/
Dd-demangle.c706 int width = 0; in dlang_parse_integer() local
728 width = 2; in dlang_parse_integer()
732 width = 4; in dlang_parse_integer()
736 width = 8; in dlang_parse_integer()
750 width--; in dlang_parse_integer()
753 for (; width > 0; width--) in dlang_parse_integer()
/toolchain/binutils/binutils-2.25/gas/
Dlisting.c1036 unsigned int width) in print_source() argument
1083 rebuffer_line (current_file, cache->line, cache->buffer, width); in print_source()
1104 p = buffer_line (current_file, cache->buffer, width); in print_source()
1207 unsigned int width; in listing_listing() local
1218 width = listing_rhs_width > paper_width ? paper_width : in listing_listing()
1253 p = buffer_line (list->file, buffer, width); in listing_listing()
1272 print_source (current_hll_file, list, width); in listing_listing()
1292 p = buffer_line (list->file, buffer, width); in listing_listing()
/toolchain/binutils/binutils-2.25/gas/config/
Dtc-tic6x.c2518 || ucexp.X_add_number >= (1 << fldd->bitfields[0].width)) in tic6x_try_encode()
2537 if (fldd->bitfields[0].low_pos != 7 || fldd->bitfields[0].width != 16) in tic6x_try_encode()
2548 if (sign_value < -(1 << (fldd->bitfields[0].width - 1)) in tic6x_try_encode()
2549 || (sign_value >= (1 << (fldd->bitfields[0].width - 1)))) in tic6x_try_encode()
2557 value = sign_value + (1 << (fldd->bitfields[0].width - 1)); in tic6x_try_encode()
2558 value ^= (1 << (fldd->bitfields[0].width - 1)); in tic6x_try_encode()
2567 || operands[opno].value.exp.X_add_number > (1 << fldd->bitfields[0].width)) in tic6x_try_encode()
2639 if (fldd->bitfields[0].low_pos != 8 || fldd->bitfields[0].width != 15) in tic6x_try_encode()
2666 if (fldd->bitfields[0].low_pos != 7 || fldd->bitfields[0].width != 16) in tic6x_try_encode()
2686 if (fldd->bitfields[0].low_pos != 7 || fldd->bitfields[0].width != 16) in tic6x_try_encode()
[all …]
Dtc-aarch64.c100 unsigned width; member
767 unsigned width; in parse_neon_type_for_operand() local
776 width = 0; in parse_neon_type_for_operand()
779 width = strtoul (ptr, &ptr, 10); in parse_neon_type_for_operand()
780 if (width != 1 && width != 2 && width != 4 && width != 8 && width != 16) in parse_neon_type_for_operand()
782 first_error_fmt (_("bad size %d in vector width specifier"), width); in parse_neon_type_for_operand()
806 if (width == 1) in parse_neon_type_for_operand()
820 if (width != 0 && width * element_size != 64 && width * element_size != 128) in parse_neon_type_for_operand()
824 width, *ptr); in parse_neon_type_for_operand()
830 parsed_type->width = width; in parse_neon_type_for_operand()
[all …]

123456