Home
last modified time | relevance | path

Searched refs:fr_opcode (Results 1 – 25 of 39) sorted by relevance

12

/toolchain/binutils/binutils-2.27/gas/config/
Dtc-mep.c1623 int where = fragP->fr_opcode - fragP->fr_literal; in md_convert_frag()
1644 fragP->fr_opcode[1^e] = ((fragP->fr_opcode[1^e] & 1) ^ 1) | 0x06; in md_convert_frag()
1645 fragP->fr_opcode[2^e] = 0xd8; in md_convert_frag()
1646 fragP->fr_opcode[3^e] = 0x08; in md_convert_frag()
1647 fragP->fr_opcode[4^e] = 0; in md_convert_frag()
1648 fragP->fr_opcode[5^e] = 0; in md_convert_frag()
1652 if (fragP->fr_opcode[0^e] & 0x10) in md_convert_frag()
1653 fragP->fr_opcode[1^e] ^= 0x01; in md_convert_frag()
1655 fragP->fr_opcode[1^e] ^= 0x04; in md_convert_frag()
1656 fragP->fr_opcode[2^e] = 0; in md_convert_frag()
[all …]
Dtc-m68hc11.c3968 fragP->fr_opcode[1] = disp; in md_convert_frag()
3973 gas_assert (IS_OPCODE (fragP->fr_opcode[0], M6811_BSR) in md_convert_frag()
3974 || IS_OPCODE (fragP->fr_opcode[0], M6811_BRA) in md_convert_frag()
3975 || IS_OPCODE (fragP->fr_opcode[0], M6812_BSR)); in md_convert_frag()
3977 fragP->fr_opcode[0] = convert_branch (fragP->fr_opcode[0]); in md_convert_frag()
3986 fragP->fr_opcode[1] = disp; in md_convert_frag()
3991 fragP->fr_opcode[0] ^= 1; in md_convert_frag()
3992 fragP->fr_opcode[1] = 3; /* Branch offset. */ in md_convert_frag()
4001 fragP->fr_opcode[1] = fragP->fr_opcode[0]; in md_convert_frag()
4002 fragP->fr_opcode[0] = M6811_OPCODE_PAGE2; in md_convert_frag()
[all …]
Dtc-rx.c763 frag_then->fr_opcode = bytes; in rx_fetchalign()
1137 frag_then->fr_opcode = bytes; in md_assemble()
1500 + (fragP->fr_opcode - fragP->fr_literal)), in md_estimate_size_before_relax()
1502 fragP->fr_literal, fragP->fr_opcode, fragP->fr_type, fragP->fr_subtype); in md_estimate_size_before_relax()
1505 opfixsize = fragP->fr_fix - (fragP->fr_opcode - fragP->fr_literal); in md_estimate_size_before_relax()
1545 + (fragP->fr_opcode - fragP->fr_literal)), in rx_relax_frag()
1547 fragP->fr_literal, fragP->fr_opcode, fragP->fr_type, fragP->fr_subtype, stretch); in rx_relax_frag()
1549 mypc = fragP->fr_address + (fragP->fr_opcode - fragP->fr_literal); in rx_relax_frag()
1577 optype = rx_opcode_type (fragP->fr_opcode); in rx_relax_frag()
1767 char * op = fragP->fr_opcode; in md_convert_frag()
[all …]
Dtc-rl78.c592 frag_then->fr_opcode = bytes; in md_assemble()
892 opfixsize = fragP->fr_fix - (fragP->fr_opcode - fragP->fr_literal); in md_estimate_size_before_relax()
917 mypc = fragP->fr_address + (fragP->fr_opcode - fragP->fr_literal); in rl78_relax_frag()
923 optype = rl78_opcode_type (fragP->fr_opcode); in rl78_relax_frag()
1053 char * op = fragP->fr_opcode; in md_convert_frag()
1065 mypc = fragP->fr_address + (fragP->fr_opcode - fragP->fr_literal); in md_convert_frag()
1095 switch (OPCODE (rl78_opcode_type (fragP->fr_opcode), fragP->fr_subtype)) in md_convert_frag()
1226 fragP->fr_fix = fragP->fr_subtype + (fragP->fr_opcode - fragP->fr_literal); in md_convert_frag()
1228 fragP->fr_subtype, fragP->fr_opcode, fragP->fr_literal); in md_convert_frag()
Dtc-epiphany.c678 EPIPHANY_RELAX_TYPES subtype = relax_insn [*fragP->fr_opcode & 0xf]; in epiphany_relax_frag()
683 if ((*fragP->fr_opcode & 0x10) == 0) in epiphany_relax_frag()
688 if ((*fragP->fr_opcode & 0x10) == 0) in epiphany_relax_frag()
800 opcode = fragP->fr_opcode; in md_convert_frag()
Dtc-m32c.c570 int where = fragP->fr_opcode - fragP->fr_literal; in md_estimate_size_before_relax()
627 int where = fragP->fr_opcode - fragP->fr_literal; in md_convert_frag()
628 int rl_where = fragP->fr_opcode - fragP->fr_literal; in md_convert_frag()
629 unsigned char *op = (unsigned char *)fragP->fr_opcode; in md_convert_frag()
Dtc-vax.c409 else if (((unsigned char *) fragP->fr_opcode)[0] == VAX_CALLS in md_estimate_size_before_relax()
410 || ((unsigned char *) fragP->fr_opcode)[0] == VAX_CALLG in md_estimate_size_before_relax()
411 || ((unsigned char *) fragP->fr_opcode)[0] == VAX_JSB in md_estimate_size_before_relax()
412 || ((unsigned char *) fragP->fr_opcode)[0] == VAX_JMP in md_estimate_size_before_relax()
429 *fragP->fr_opcode ^= 1; /* Reverse sense of branch. */ in md_estimate_size_before_relax()
462 *fragP->fr_opcode += VAX_WIDEN_LONG; in md_estimate_size_before_relax()
529 opcodeP = fragP->fr_opcode; in md_convert_frag()
Dtc-score7.c5230 if (fragp->fr_opcode == NULL) in s7_judge_size_before_relax()
5233 fragp->fr_opcode = fragp->fr_literal + s7_RELAX_RELOC1 (fragp->fr_subtype); in s7_judge_size_before_relax()
5291 fragp->fr_opcode = NULL; in s7_b32_relax_to_b16()
6389 if (fragp->fr_opcode) in s7_relax_frag()
6413 if (fragp->fr_opcode) in s7_relax_frag()
6435 if (next_fragp->fr_opcode) in s7_relax_frag()
6529 if (fragp->fr_opcode) in s7_relax_frag()
6531 fragp->fr_opcode = NULL; in s7_relax_frag()
6538 fragp->fr_opcode = fragp->fr_literal + s7_RELAX_RELOC1 (fragp->fr_subtype); in s7_relax_frag()
6546 if (fragp->fr_opcode) in s7_relax_frag()
[all …]
Dtc-m68k.c5066 fragP->fr_opcode[1] = 0x00; in md_convert_frag_1()
5072 fragP->fr_opcode[1] = (char) 0xFF; in md_convert_frag_1()
5080 fragP->fr_opcode[0] = 0x66; /* bne */ in md_convert_frag_1()
5081 fragP->fr_opcode[1] = 0xFF; in md_convert_frag_1()
5096 if (fragP->fr_opcode[0] == 0x61) /* jbsr */ in md_convert_frag_1()
5101 fragP->fr_opcode[0] = 0x4E; in md_convert_frag_1()
5102 fragP->fr_opcode[1] = (char) 0xB9; /* JSR with ABSL LONG operand. */ in md_convert_frag_1()
5107 else if (fragP->fr_opcode[0] == 0x60) /* jbra */ in md_convert_frag_1()
5112 fragP->fr_opcode[0] = 0x4E; in md_convert_frag_1()
5113 fragP->fr_opcode[1] = (char) 0xF9; /* JMP with ABSL LONG operand. */ in md_convert_frag_1()
[all …]
Dtc-cris.c727 (fragP->fr_opcode)[0] = value; in md_estimate_size_before_relax()
744 (fragP->fr_opcode)[0] = BDAP_PC_LOW + pow2_of_size * 16; in md_estimate_size_before_relax()
747 (fragP->fr_opcode)[1] &= 0xF0; in md_estimate_size_before_relax()
748 (fragP->fr_opcode)[1] |= BDAP_INCR_HIGH; in md_estimate_size_before_relax()
840 opcodep = fragP->fr_opcode; in md_convert_frag()
879 gen_cond_branch_32 (fragP->fr_opcode, var_partp, fragP, in md_convert_frag()
887 gen_cond_branch_32 (fragP->fr_opcode, var_partp, fragP, in md_convert_frag()
895 gen_cond_branch_32 (fragP->fr_opcode, var_partp, fragP, in md_convert_frag()
Dtc-xtensa.c3784 frag_now->fr_opcode = last_insn; in xg_finish_frag()
4563 if (fragP->fr_opcode != fragP->fr_literal) in frag_format_size()
7658 && fragP->fr_opcode == fragP->fr_literal in xtensa_cleanup_align_frags()
7726 vinsn_from_chars (&vinsn, fragP->fr_opcode); in xtensa_mark_narrow_branches()
8304 tinsn_from_chars (&t_insn, loop_frag->fr_opcode, 0); in xtensa_fix_short_loop_frags()
8489 if (fragP->fr_opcode != NULL) in xtensa_sanity_check()
8493 tinsn_from_chars (&t_insn, fragP->fr_opcode, 0); in xtensa_sanity_check()
9210 (isa, vbuf, (unsigned char *) fragP->fr_opcode, 0); in xtensa_relax_frag()
10103 gas_assert (fragP->fr_opcode != NULL); in relax_frag_immed()
10106 vinsn_from_chars (&cur_vinsn, fragP->fr_opcode); in relax_frag_immed()
[all …]
Dtc-m32r.c1384 if (prev_insn.frag->fr_opcode == prev_insn.addr) in md_assemble()
1385 prev_insn.frag->fr_opcode = insn.addr; in md_assemble()
1386 else if (insn.frag->fr_opcode == insn.addr) in md_assemble()
1387 insn.frag->fr_opcode = prev_insn.addr; in md_assemble()
1751 opcode = fragP->fr_opcode; in md_convert_frag()
Dtc-sh64.c845 opcodep = fragP->fr_opcode; in shmedia_md_convert_frag()
2019 ? bfd_getb32 (fragP->fr_opcode) in shmedia_md_estimate_size_before_relax()
2020 : bfd_getl32 (fragP->fr_opcode)); in shmedia_md_estimate_size_before_relax()
2032 md_number_to_chars (fragP->fr_opcode, in shmedia_md_estimate_size_before_relax()
2045 md_number_to_chars (fragP->fr_opcode, in shmedia_md_estimate_size_before_relax()
2082 md_number_to_chars (fragP->fr_opcode, in shmedia_md_estimate_size_before_relax()
2112 md_number_to_chars (fragP->fr_opcode, in shmedia_md_estimate_size_before_relax()
Dtc-score.c6810 if (fragp->fr_opcode == NULL) in s3_judge_size_before_relax()
6813 fragp->fr_opcode = fragp->fr_literal + s3_RELAX_RELOC1 (fragp->fr_subtype); in s3_judge_size_before_relax()
6834 fragp->fr_opcode = NULL; in s3_relax_branch_inst32()
6876 fragp->fr_opcode = fragp->fr_literal + s3_RELAX_RELOC1 (fragp->fr_subtype); in s3_relax_branch_inst16()
6935 fragp->fr_opcode = fragp->fr_literal + s3_RELAX_RELOC1 (fragp->fr_subtype); in s3_relax_cmpbranch_inst32()
6943 fragp->fr_opcode = NULL; in s3_relax_cmpbranch_inst32()
6957 fragp->fr_opcode = fragp->fr_literal + s3_RELAX_RELOC1 (fragp->fr_subtype); in s3_relax_other_inst32()
7035 if (fragp->fr_opcode == NULL) in s3_convert_frag()
7049 if (fragp->fr_opcode) in s3_convert_frag()
7055 if (fragp->fr_opcode) in s3_convert_frag()
[all …]
Dtc-microblaze.c2239 if (fragP->fr_opcode == NULL) in md_estimate_size_before_relax()
2246 else if (streq (fragP->fr_opcode, str_microblaze_ro_anchor)) in md_estimate_size_before_relax()
2271 else if (streq (fragP->fr_opcode, str_microblaze_rw_anchor)) in md_estimate_size_before_relax()
Dtc-i960.c1939 iP = fragP->fr_opcode; in relax_cobr()
1996 fragP->fr_opcode - fragP->fr_literal, in md_convert_frag()
Dtc-v850.c1689 char * fr_opcode; in md_convert_frag() member
1694 opcode_converter.fr_opcode = fragP->fr_opcode; in md_convert_frag()
Dtc-tic54x.c273 && frag->fr_opcode == NULL in bit_offset_frag()
291 return frag->fr_opcode != NULL ? -1 : frag->tc_frag_data; in frag_bit_offset()
5214 struct bit_info *bi = (struct bit_info *) frag->fr_opcode; in tic54x_relax_frag()
5298 frag->fr_opcode = 0; in tic54x_relax_frag()
Dtc-msp430.c4406 int insn = bfd_getl16 (fragP->fr_opcode); in md_convert_frag()
4450 int insn = bfd_getl16 (fragP->fr_opcode + 2); in md_convert_frag()
4482 int insn = bfd_getl16 (fragP->fr_opcode + 2); in md_convert_frag()
Dtc-mmix.c1077 frag_now->fr_opcode = opcodep; in md_assemble()
2321 opcodep = fragP->fr_opcode; in md_convert_frag()
/toolchain/binutils/binutils-2.27/gas/
Dfrags.h57 char *fr_opcode; member
Dfrags.c231 frag_now->fr_opcode = opcode; in frag_var_init()
Dehopt.c520 loc4_frag = (fragS *) frag->fr_opcode; in eh_frame_convert_frag()
Dsymbols.c307 || frag_tmp->fr_opcode)) in colon()
310 frag_tmp->fr_opcode = frag_opcode; in colon()
Dwrite.c1963 table_ptr = lie->dispfrag->fr_opcode; in write_object_file()

12