Home
last modified time | relevance | path

Searched refs:fr_subtype (Results 1 – 25 of 66) sorted by relevance

123

/netbsd/src/external/gpl3/binutils/dist/gas/
Dsframe-opt.c64 frag->fr_subtype = (frag->fr_subtype & ~7) | (ret & 7); in sframe_estimate_size_before_relax()
78 oldsize = frag->fr_subtype & 7; in sframe_relax_frag()
150 switch (frag->fr_subtype & 7) in sframe_convert_frag()
168 frag->fr_fix += frag->fr_subtype & 7; in sframe_convert_frag()
170 frag->fr_subtype = 0; in sframe_convert_frag()
Dehopt.c480 int ca = frag->fr_subtype >> 3; in eh_frame_estimate_size_before_relax()
498 frag->fr_subtype = (frag->fr_subtype & ~7) | (ret & 7); in eh_frame_estimate_size_before_relax()
512 oldsize = frag->fr_subtype & 7; in eh_frame_relax_frag()
535 ca = frag->fr_subtype >> 3; in eh_frame_convert_frag()
538 switch (frag->fr_subtype & 7) in eh_frame_convert_frag()
570 frag->fr_fix += frag->fr_subtype & 7; in eh_frame_convert_frag()
572 frag->fr_subtype = 0; in eh_frame_convert_frag()
Dwrite.c474 fragP->fr_subtype); in cvt_frag_to_fill()
514 if (fragP->fr_subtype) in cvt_frag_to_fill()
2186 brokp->dispfrag->fr_subtype = 0; in write_object_file()
2568 this_state = fragP->fr_subtype; in relax_frag()
2652 fragP->fr_subtype = this_state; in relax_frag()
2725 if (fragP->fr_subtype != 0 && offset > fragP->fr_subtype) in relax_segment()
2910 if (fragP->fr_subtype == 0) in relax_segment()
2912 fragP->fr_subtype++; in relax_segment()
2951 if (fragP->fr_subtype != 0) in relax_segment()
2953 if (oldoff > fragP->fr_subtype) in relax_segment()
[all …]
/netbsd/src/external/gpl3/binutils/dist/gas/config/
Dtc-mn10200.c332 if (fragP->fr_subtype == 0) in md_convert_frag()
339 else if (fragP->fr_subtype == 1) in md_convert_frag()
396 else if (fragP->fr_subtype == 2) in md_convert_frag()
454 else if (fragP->fr_subtype == 3) in md_convert_frag()
461 else if (fragP->fr_subtype == 4) in md_convert_frag()
542 else if (fragP->fr_subtype == 5) in md_convert_frag()
624 else if (fragP->fr_subtype == 6) in md_convert_frag()
631 else if (fragP->fr_subtype == 7) in md_convert_frag()
642 else if (fragP->fr_subtype == 8) in md_convert_frag()
650 else if (fragP->fr_subtype == 9) in md_convert_frag()
[all …]
Dtc-mn10300.c470 if (fragP->fr_subtype == 0) in md_convert_frag()
477 else if (fragP->fr_subtype == 1) in md_convert_frag()
534 else if (fragP->fr_subtype == 2) in md_convert_frag()
591 else if (fragP->fr_subtype == 3) in md_convert_frag()
598 else if (fragP->fr_subtype == 4) in md_convert_frag()
637 else if (fragP->fr_subtype == 5) in md_convert_frag()
673 else if (fragP->fr_subtype == 6) in md_convert_frag()
683 else if (fragP->fr_subtype == 7) in md_convert_frag()
698 else if (fragP->fr_subtype == 8) in md_convert_frag()
709 else if (fragP->fr_subtype == 9) in md_convert_frag()
[all …]
Dtc-v850.c1694 if (fragP->fr_subtype == SUBYPTE_LOOP_16_22) in md_convert_frag()
1701 else if (fragP->fr_subtype == SUBYPTE_LOOP_16_22 + 1) in md_convert_frag()
1718 else if (fragP->fr_subtype == SUBYPTE_COND_9_22 in md_convert_frag()
1719 || fragP->fr_subtype == SUBYPTE_UNCOND_9_22 in md_convert_frag()
1720 || fragP->fr_subtype == SUBYPTE_COND_9_22_32 in md_convert_frag()
1721 || fragP->fr_subtype == SUBYPTE_UNCOND_9_22_32 in md_convert_frag()
1722 || fragP->fr_subtype == SUBYPTE_COND_9_17_22 in md_convert_frag()
1723 || fragP->fr_subtype == SUBYPTE_COND_9_17_22_32 in md_convert_frag()
1724 || fragP->fr_subtype == SUBYPTE_SA_9_22 in md_convert_frag()
1725 || fragP->fr_subtype == SUBYPTE_SA_9_22_32 in md_convert_frag()
[all …]
Dtc-m32c.c542 if (fragP->fr_subtype == 1) in md_estimate_size_before_relax()
543 fragP->fr_subtype = insn_to_subtype (fragP->fr_cgen.insn->base->num, fragP->fr_cgen.insn); in md_estimate_size_before_relax()
549 new_insn = subtype_mappings[fragP->fr_subtype].insn_for_extern; in md_estimate_size_before_relax()
550 fragP->fr_subtype = insn_to_subtype (new_insn, 0); in md_estimate_size_before_relax()
555 != subtype_mappings[fragP->fr_subtype].insn in md_estimate_size_before_relax()
556 && subtype_mappings[fragP->fr_subtype].insn > 0) in md_estimate_size_before_relax()
558 int new_insn= subtype_mappings[fragP->fr_subtype].insn; in md_estimate_size_before_relax()
567 return subtype_mappings[fragP->fr_subtype].bytes - (fragP->fr_fix - where); in md_estimate_size_before_relax()
604 fragP->fr_fix = where + subtype_mappings[fragP->fr_subtype].bytes; in md_convert_frag()
606 switch (subtype_mappings[fragP->fr_subtype].insn) in md_convert_frag()
[all …]
Dtc-bpf.c414 uncond = RELAX_BRANCH_UNCOND (fragp->fr_subtype); in relaxed_branch_length()
415 length = RELAX_BRANCH_LENGTH (fragp->fr_subtype); in relaxed_branch_length()
422 if (RELAX_BRANCH_CONST (fragp->fr_subtype)) in relaxed_branch_length()
454 fragp->fr_subtype = RELAX_BRANCH_ENCODE (uncond, in relaxed_branch_length()
455 RELAX_BRANCH_CONST (fragp->fr_subtype), in relaxed_branch_length()
553 gas_assert (RELAX_BRANCH_P (fragp->fr_subtype)); in md_convert_frag()
561 gas_assert (fragp->fr_var == RELAX_BRANCH_LENGTH (fragp->fr_subtype)); in md_convert_frag()
570 if (RELAX_BRANCH_CONST (fragp->fr_subtype)) in md_convert_frag()
597 gas_assert (RELAX_BRANCH_UNCOND (fragp->fr_subtype)); in md_convert_frag()
608 if (!RELAX_BRANCH_CONST (fragp->fr_subtype)) in md_convert_frag()
[all …]
Dtc-mep.c1524 if (fragP->fr_subtype == 1) in md_estimate_size_before_relax()
1525 fragP->fr_subtype = insn_to_subtype (fragP->fr_cgen.insn->base->num); in md_estimate_size_before_relax()
1537 new_insn = subtype_mappings[fragP->fr_subtype].insn_for_extern; in md_estimate_size_before_relax()
1538 fragP->fr_subtype = insn_to_subtype (new_insn); in md_estimate_size_before_relax()
1548 fragP->fr_subtype = insn_to_subtype in md_estimate_size_before_relax()
1549 (subtype_mappings[fragP->fr_subtype].insn_for_extern); in md_estimate_size_before_relax()
1552 fragP->fr_subtype ++; in md_estimate_size_before_relax()
1555 fragP->fr_subtype ++; in md_estimate_size_before_relax()
1562 != subtype_mappings[fragP->fr_subtype].insn) in md_estimate_size_before_relax()
1564 int new_insn= subtype_mappings[fragP->fr_subtype].insn; in md_estimate_size_before_relax()
[all …]
Dtc-rx.c756 frag_then->fr_subtype = 0; in rx_fetchalign()
1154 frag_then->fr_subtype = rx_bytes.n_base + rx_bytes.n_ops + rx_bytes.n_post; in md_assemble()
1517 fragP->fr_literal, fragP->fr_opcode, fragP->fr_type, fragP->fr_subtype); in md_estimate_size_before_relax()
1522 delta = (fragP->fr_subtype - opfixsize); in md_estimate_size_before_relax()
1552 int oldsize = fragP->fr_subtype; in rx_relax_frag()
1562 fragP->fr_literal, fragP->fr_opcode, fragP->fr_type, fragP->fr_subtype, stretch); in rx_relax_frag()
1576 next_size = n->fr_subtype; in rx_relax_frag()
1579 fragP->fr_subtype = (8-(mypc & 7)) & 7; in rx_relax_frag()
1580 tprintf("subtype %u\n", fragP->fr_subtype); in rx_relax_frag()
1581 if (fragP->fr_subtype >= next_size) in rx_relax_frag()
[all …]
Dtc-mips.c7586 && RELAX_MICROMIPS_P (history[0].frag->fr_subtype) in append_insn()
7587 && RELAX_MICROMIPS_NODS (history[0].frag->fr_subtype)) in append_insn()
8922 && RELAX_MICROMIPS_P (history[0].frag->fr_subtype) in macro_start()
8923 && RELAX_MICROMIPS_NODS (history[0].frag->fr_subtype)) in macro_start()
9034 mips_macro_warning.first_frag->fr_subtype |= subtype; in macro_end()
17910 if (RELAX_MIPS16_EXTENDED (fragp->fr_subtype)) in mips16_pcrel_val()
17917 else if (RELAX_MIPS16_JAL_DSLOT (fragp->fr_subtype)) in mips16_pcrel_val()
17919 else if (RELAX_MIPS16_DSLOT (fragp->fr_subtype)) in mips16_pcrel_val()
17938 if (RELAX_MIPS16_USER_SMALL (fragp->fr_subtype)) in mips16_extended_frag()
17940 if (RELAX_MIPS16_USER_EXT (fragp->fr_subtype)) in mips16_extended_frag()
[all …]
Dtc-xtensa.c1397 frag_var (rs_fill, 0, 0, frag_now->fr_subtype, in xtensa_begin_directive()
4626 if (fragP->fr_subtype != RELAX_SLOTS) in frag_format_size()
4708 && (next_fragP->fr_subtype == RELAX_MAYBE_UNREACHABLE in update_next_frag_state()
4709 || next_fragP->fr_subtype == RELAX_UNREACHABLE))) in update_next_frag_state()
4713 && (next_fragP->fr_subtype == RELAX_MAYBE_UNREACHABLE in update_next_frag_state()
4714 || next_fragP->fr_subtype == RELAX_UNREACHABLE)); in update_next_frag_state()
4719 && (new_target->fr_subtype == RELAX_MAYBE_DESIRE_ALIGN in update_next_frag_state()
4720 || new_target->fr_subtype == RELAX_DESIRE_ALIGN))) in update_next_frag_state()
4724 && (new_target->fr_subtype == RELAX_MAYBE_DESIRE_ALIGN in update_next_frag_state()
4725 || new_target->fr_subtype == RELAX_DESIRE_ALIGN)); in update_next_frag_state()
[all …]
Dtc-cris.c534 switch (fragP->fr_subtype) in cris_relax_frag()
565 __func__, fragP->fr_subtype); in cris_relax_frag()
572 this_state = fragP->fr_subtype; in cris_relax_frag()
606 fragP->fr_subtype = this_state; in cris_relax_frag()
637 fragP->fr_subtype \ in md_estimate_size_before_relax()
641 fragP->fr_subtype \ in md_estimate_size_before_relax()
644 = md_cris_relax_table[fragP->fr_subtype].rlx_length; \ in md_estimate_size_before_relax()
649 switch (fragP->fr_subtype) in md_estimate_size_before_relax()
675 fragP->fr_subtype in md_estimate_size_before_relax()
682 fragP->fr_subtype in md_estimate_size_before_relax()
[all …]
Dtc-epiphany.c677 if (fragP->fr_subtype == EPIPHANY_RELAX_NEED_RELAXING) in epiphany_relax_frag()
694 fragP->fr_subtype = subtype; in epiphany_relax_frag()
735 subtype = fragP->fr_subtype; in md_estimate_size_before_relax()
756 fragP->fr_subtype = subtype; in md_estimate_size_before_relax()
783 return md_relax_table[fragP->fr_subtype].rlx_length; in md_estimate_size_before_relax()
831 switch (fragP->fr_subtype) in md_convert_frag()
Dtc-mmix.c2223 fragP->fr_subtype \ in md_estimate_size_before_relax()
2228 switch (fragP->fr_subtype) in md_estimate_size_before_relax()
2239 fragP->fr_subtype = ENCODE_RELAX (STATE_PUSHJ, STATE_ZERO); in md_estimate_size_before_relax()
2243 fragP->fr_subtype = ENCODE_RELAX (STATE_PUSHJSTUB, STATE_ZERO); in md_estimate_size_before_relax()
2268 BAD_CASE (fragP->fr_subtype); in md_estimate_size_before_relax()
2271 length = mmix_relax_table[fragP->fr_subtype].rlx_length; in md_estimate_size_before_relax()
2338 switch (fragP->fr_subtype) in md_convert_frag()
2422 BAD_CASE (fragP->fr_subtype); in md_convert_frag()
3371 switch (fragP->fr_subtype) in mmix_md_relax_frag()
3427 fragP->fr_subtype = ENCODE_RELAX (STATE_PUSHJSTUB, STATE_ZERO); in mmix_md_relax_frag()
[all …]
Dtc-m68hc11.c3881 switch (fragP->fr_subtype) in m68hc11_relax_frag()
3905 __func__, fragP->fr_subtype); in m68hc11_relax_frag()
3912 this_state = fragP->fr_subtype; in m68hc11_relax_frag()
3946 fragP->fr_subtype = this_state; in m68hc11_relax_frag()
3967 switch (fragP->fr_subtype) in md_convert_frag()
4096 if (RELAX_LENGTH (fragP->fr_subtype) == STATE_UNDF) in md_estimate_size_before_relax()
4101 && RELAX_STATE (fragP->fr_subtype) == STATE_INDEXED_OFFSET)) in md_estimate_size_before_relax()
4110 switch (RELAX_STATE (fragP->fr_subtype)) in md_estimate_size_before_relax()
4156 fragP->fr_subtype = ENCODE_RELAX (STATE_INDEXED_OFFSET, in md_estimate_size_before_relax()
4159 return md_relax_table[fragP->fr_subtype].rlx_length; in md_estimate_size_before_relax()
[all …]
Dtc-m32r.c1648 if (fragP->fr_subtype == 2) in m32r_relax_frag()
1652 fragP->fr_subtype = 3; in m32r_relax_frag()
1656 else if (fragP->fr_subtype == 3) in m32r_relax_frag()
1660 fragP->fr_subtype = 2; in m32r_relax_frag()
1669 if (fragP->fr_subtype == 2 && (address & 3) != 0) in m32r_relax_frag()
1671 fragP->fr_subtype = 3; in m32r_relax_frag()
1705 fragP->fr_subtype = 2; in md_estimate_size_before_relax()
1731 return md_relax_table[fragP->fr_subtype].rlx_length; in md_estimate_size_before_relax()
1758 switch (fragP->fr_subtype) in md_convert_frag()
1809 gas_assert (fragP->fr_subtype != 1); in md_convert_frag()
[all …]
Dtc-mcore.c1734 switch (fragP->fr_subtype) in md_convert_frag()
2067 switch (fragP->fr_subtype) in md_estimate_size_before_relax()
2075 fragP->fr_subtype = C (UNCD_JUMP, DISP12); in md_estimate_size_before_relax()
2077 fragP->fr_subtype = C (UNCD_JUMP, DISP12); in md_estimate_size_before_relax()
2079 fragP->fr_subtype = C (UNCD_JUMP, UNDEF_WORD_DISP); in md_estimate_size_before_relax()
2088 fragP->fr_subtype = C (COND_JUMP, DISP12); in md_estimate_size_before_relax()
2091 fragP->fr_subtype = C (COND_JUMP, UNDEF_WORD_DISP); in md_estimate_size_before_relax()
2094 fragP->fr_subtype = C (COND_JUMP, DISP12); in md_estimate_size_before_relax()
2108 return md_relax_table[fragP->fr_subtype].rlx_length; in md_estimate_size_before_relax()
Dtc-rl78.c581 frag_then->fr_subtype = olen; in md_assemble()
881 delta = (fragP->fr_subtype - opfixsize); in md_estimate_size_before_relax()
899 int oldsize = fragP->fr_subtype; in rl78_relax_frag()
950 fragP->fr_subtype = newsize; in rl78_relax_frag()
1015 fragP->fr_subtype = newsize; in rl78_relax_frag()
1082 switch (OPCODE (rl78_opcode_type (fragP->fr_opcode), fragP->fr_subtype)) in md_convert_frag()
1213 fragP->fr_fix = fragP->fr_subtype + (fragP->fr_opcode - fragP->fr_literal); in md_convert_frag()
1215 fragP->fr_subtype, fragP->fr_opcode, fragP->fr_literal); in md_convert_frag()
Dtc-score7.c5223 fragp->fr_fix = s7_RELAX_NEW (fragp->fr_subtype); in s7_judge_size_before_relax()
5224 fragp->fr_opcode = fragp->fr_literal + s7_RELAX_RELOC1 (fragp->fr_subtype); in s7_judge_size_before_relax()
5225 return s7_RELAX_NEW (fragp->fr_subtype) - s7_RELAX_OLD (fragp->fr_subtype); in s7_judge_size_before_relax()
5250 relaxable_p = s7_RELAX_OPT (fragp->fr_subtype); in s7_b32_relax_to_b16()
5280 fragp->fr_subtype = s7_RELAX_OPT_CLEAR (fragp->fr_subtype); in s7_b32_relax_to_b16()
6305 if ((s7_RELAX_TYPE (fragp->fr_subtype) == Insn_GP) in s7_estimate_size_before_relax()
6306 || (s7_RELAX_TYPE (fragp->fr_subtype) == Insn_PIC)) in s7_estimate_size_before_relax()
6338 insn_size = s7_RELAX_NEW (fragp->fr_subtype); in s7_relax_frag()
6340 insn_size = s7_RELAX_OLD (fragp->fr_subtype); in s7_relax_frag()
6344 if ((s7_RELAX_TYPE (fragp->fr_subtype) == Insn_GP) in s7_relax_frag()
[all …]
Dtc-vax.c393 if (RELAX_LENGTH (fragP->fr_subtype) == STATE_UNDF) in md_estimate_size_before_relax()
446 switch (RELAX_STATE (fragP->fr_subtype)) in md_estimate_size_before_relax()
507 switch (RELAX_STATE (fragP->fr_subtype)) in md_estimate_size_before_relax()
510 fragP->fr_subtype = ENCODE_RELAX (STATE_PC_RELATIVE, STATE_BYTE); in md_estimate_size_before_relax()
513 fragP->fr_subtype = ENCODE_RELAX (STATE_CONDITIONAL_BRANCH, STATE_BYTE); in md_estimate_size_before_relax()
516 fragP->fr_subtype = ENCODE_RELAX (STATE_COMPLEX_BRANCH, STATE_WORD); in md_estimate_size_before_relax()
519 fragP->fr_subtype = ENCODE_RELAX (STATE_COMPLEX_HOP, STATE_BYTE); in md_estimate_size_before_relax()
522 fragP->fr_subtype = ENCODE_RELAX (STATE_ALWAYS_BRANCH, STATE_BYTE); in md_estimate_size_before_relax()
527 if (fragP->fr_subtype >= sizeof (md_relax_table) / sizeof (md_relax_table[0])) in md_estimate_size_before_relax()
531 return md_relax_table[fragP->fr_subtype].rlx_length; in md_estimate_size_before_relax()
[all …]
Dtc-loongarch.c1845 if (fragP->fr_subtype != 0) in loongarch_insert_uleb128_fixes()
1905 if (RELAX_BRANCH_16 == fragp->fr_subtype in loongarch_relaxed_branch_length()
1910 fragp->fr_subtype = RELAX_BRANCH_26; in loongarch_relaxed_branch_length()
1913 if (RELAX_BRANCH_21 == fragp->fr_subtype in loongarch_relaxed_branch_length()
1918 fragp->fr_subtype = RELAX_BRANCH_26; in loongarch_relaxed_branch_length()
1921 if (RELAX_BRANCH_26 == fragp->fr_subtype) in loongarch_relaxed_branch_length()
1933 if (RELAX_BRANCH (fragp->fr_subtype)) in loongarch_relax_frag()
1962 gas_assert ((fragp->fr_subtype & 0xf) == fragp->fr_var); in loongarch_convert_frag_branch()
1971 switch (fragp->fr_subtype) in loongarch_convert_frag_branch()
2021 gas_assert (RELAX_BRANCH (fragp->fr_subtype)); in md_convert_frag()
Dtc-fr30.c223 fragP->fr_subtype = 2; in md_estimate_size_before_relax()
250 return md_relax_table[fragP->fr_subtype].rlx_length; in md_estimate_size_before_relax()
Dtc-microblaze.c1948 switch (fragP->fr_subtype) in md_convert_frag()
2297 switch (fragP->fr_subtype) in md_estimate_size_before_relax()
2310 fragP->fr_subtype = DEFINED_PC_OFFSET; in md_estimate_size_before_relax()
2320 fragP->fr_subtype = UNDEFINED_PC_OFFSET; in md_estimate_size_before_relax()
2325 fragP->fr_subtype = UNDEFINED_PC_OFFSET; in md_estimate_size_before_relax()
2338 if (fragP->fr_subtype == INST_NO_OFFSET) in md_estimate_size_before_relax()
2339 fragP->fr_subtype = DEFINED_ABS_SEGMENT; in md_estimate_size_before_relax()
2351 fragP->fr_subtype = DEFINED_RO_SEGMENT; in md_estimate_size_before_relax()
2364 fragP->fr_subtype = DEFINED_RO_SEGMENT; in md_estimate_size_before_relax()
2376 fragP->fr_subtype = DEFINED_RW_SEGMENT; in md_estimate_size_before_relax()
[all …]
Dtc-frv.c877 temp_insn->dnop_frag->fr_subtype = NOP_KEEP; in frv_tomcat_analyze_vliw_chains()
887 temp_insn->snop_frag->fr_subtype = NOP_KEEP; in frv_tomcat_analyze_vliw_chains()
905 temp_insn->snop_frag->fr_subtype = NOP_KEEP; in frv_tomcat_analyze_vliw_chains()
937 this_insn->snop_frag->fr_subtype = NOP_KEEP; in frv_tomcat_analyze_vliw_chains()
938 this_insn->dnop_frag->fr_subtype = NOP_KEEP; in frv_tomcat_analyze_vliw_chains()
1269 switch (fragP->fr_subtype) in md_estimate_size_before_relax()
1292 switch (fragP->fr_subtype) in md_convert_frag()

123