Home
last modified time | relevance | path

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

12

/toolchain/binutils/binutils-2.25/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.c3972 fragP->fr_opcode[1] = disp; in md_convert_frag()
3977 gas_assert (IS_OPCODE (fragP->fr_opcode[0], M6811_BSR) in md_convert_frag()
3978 || IS_OPCODE (fragP->fr_opcode[0], M6811_BRA) in md_convert_frag()
3979 || IS_OPCODE (fragP->fr_opcode[0], M6812_BSR)); in md_convert_frag()
3981 fragP->fr_opcode[0] = convert_branch (fragP->fr_opcode[0]); in md_convert_frag()
3990 fragP->fr_opcode[1] = disp; in md_convert_frag()
3995 fragP->fr_opcode[0] ^= 1; in md_convert_frag()
3996 fragP->fr_opcode[1] = 3; /* Branch offset. */ in md_convert_frag()
4005 fragP->fr_opcode[1] = fragP->fr_opcode[0]; in md_convert_frag()
4006 fragP->fr_opcode[0] = M6811_OPCODE_PAGE2; in md_convert_frag()
[all …]
Dtc-rx.c742 frag_then->fr_opcode = bytes; in rx_fetchalign()
1109 frag_then->fr_opcode = bytes; in md_assemble()
1472 + (fragP->fr_opcode - fragP->fr_literal)), in md_estimate_size_before_relax()
1474 fragP->fr_literal, fragP->fr_opcode, fragP->fr_type, fragP->fr_subtype); in md_estimate_size_before_relax()
1477 opfixsize = fragP->fr_fix - (fragP->fr_opcode - fragP->fr_literal); in md_estimate_size_before_relax()
1517 + (fragP->fr_opcode - fragP->fr_literal)), in rx_relax_frag()
1519 fragP->fr_literal, fragP->fr_opcode, fragP->fr_type, fragP->fr_subtype, stretch); in rx_relax_frag()
1521 mypc = fragP->fr_address + (fragP->fr_opcode - fragP->fr_literal); in rx_relax_frag()
1549 optype = rx_opcode_type (fragP->fr_opcode); in rx_relax_frag()
1738 char * op = fragP->fr_opcode; in md_convert_frag()
[all …]
Dtc-rl78.c545 frag_then->fr_opcode = bytes; in md_assemble()
816 opfixsize = fragP->fr_fix - (fragP->fr_opcode - fragP->fr_literal); in md_estimate_size_before_relax()
841 mypc = fragP->fr_address + (fragP->fr_opcode - fragP->fr_literal); in rl78_relax_frag()
847 optype = rl78_opcode_type (fragP->fr_opcode); in rl78_relax_frag()
966 char * op = fragP->fr_opcode; in md_convert_frag()
978 mypc = fragP->fr_address + (fragP->fr_opcode - fragP->fr_literal); in md_convert_frag()
1008 switch (OPCODE (rl78_opcode_type (fragP->fr_opcode), fragP->fr_subtype)) in md_convert_frag()
1098 rl78_opcode_type (fragP->fr_opcode), fragP->fr_subtype, mypc); in md_convert_frag()
1132 fragP->fr_fix = fragP->fr_subtype + (fragP->fr_opcode - fragP->fr_literal); in md_convert_frag()
1134 fragP->fr_subtype, fragP->fr_opcode, fragP->fr_literal); in md_convert_frag()
Dtc-epiphany.c688 EPIPHANY_RELAX_TYPES subtype = relax_insn [*fragP->fr_opcode & 0xf]; in epiphany_relax_frag()
693 if ((*fragP->fr_opcode & 0x10) == 0) in epiphany_relax_frag()
698 if ((*fragP->fr_opcode & 0x10) == 0) in epiphany_relax_frag()
810 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.c5229 if (fragp->fr_opcode == NULL) in s7_judge_size_before_relax()
5232 fragp->fr_opcode = fragp->fr_literal + s7_RELAX_RELOC1 (fragp->fr_subtype); in s7_judge_size_before_relax()
5290 fragp->fr_opcode = NULL; in s7_b32_relax_to_b16()
6390 if (fragp->fr_opcode) in s7_relax_frag()
6414 if (fragp->fr_opcode) in s7_relax_frag()
6436 if (next_fragp->fr_opcode) in s7_relax_frag()
6530 if (fragp->fr_opcode) in s7_relax_frag()
6532 fragp->fr_opcode = NULL; in s7_relax_frag()
6539 fragp->fr_opcode = fragp->fr_literal + s7_RELAX_RELOC1 (fragp->fr_subtype); in s7_relax_frag()
6547 if (fragp->fr_opcode) in s7_relax_frag()
[all …]
Dtc-m68k.c5069 fragP->fr_opcode[1] = 0x00; in md_convert_frag_1()
5075 fragP->fr_opcode[1] = (char) 0xFF; in md_convert_frag_1()
5083 fragP->fr_opcode[0] = 0x66; /* bne */ in md_convert_frag_1()
5084 fragP->fr_opcode[1] = 0xFF; in md_convert_frag_1()
5099 if (fragP->fr_opcode[0] == 0x61) /* jbsr */ in md_convert_frag_1()
5104 fragP->fr_opcode[0] = 0x4E; in md_convert_frag_1()
5105 fragP->fr_opcode[1] = (char) 0xB9; /* JSR with ABSL LONG operand. */ in md_convert_frag_1()
5110 else if (fragP->fr_opcode[0] == 0x60) /* jbra */ in md_convert_frag_1()
5115 fragP->fr_opcode[0] = 0x4E; in md_convert_frag_1()
5116 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.c3733 frag_now->fr_opcode = last_insn; in xg_finish_frag()
4512 if (fragP->fr_opcode != fragP->fr_literal) in frag_format_size()
7447 && fragP->fr_opcode == fragP->fr_literal in xtensa_cleanup_align_frags()
7515 vinsn_from_chars (&vinsn, fragP->fr_opcode); in xtensa_mark_narrow_branches()
8093 tinsn_from_chars (&t_insn, loop_frag->fr_opcode, 0); in xtensa_fix_short_loop_frags()
8278 if (fragP->fr_opcode != NULL) in xtensa_sanity_check()
8282 tinsn_from_chars (&t_insn, fragP->fr_opcode, 0); in xtensa_sanity_check()
8852 (isa, vbuf, (unsigned char *) fragP->fr_opcode, 0); in xtensa_relax_frag()
9693 gas_assert (fragP->fr_opcode != NULL); in relax_frag_immed()
9696 vinsn_from_chars (&cur_vinsn, fragP->fr_opcode); in relax_frag_immed()
[all …]
Dtc-m32r.c1387 if (prev_insn.frag->fr_opcode == prev_insn.addr) in md_assemble()
1388 prev_insn.frag->fr_opcode = insn.addr; in md_assemble()
1389 else if (insn.frag->fr_opcode == insn.addr) in md_assemble()
1390 insn.frag->fr_opcode = prev_insn.addr; in md_assemble()
1755 opcode = fragP->fr_opcode; in md_convert_frag()
Dtc-sh64.c844 opcodep = fragP->fr_opcode; in shmedia_md_convert_frag()
2017 ? bfd_getb32 (fragP->fr_opcode) in shmedia_md_estimate_size_before_relax()
2018 : bfd_getl32 (fragP->fr_opcode)); in shmedia_md_estimate_size_before_relax()
2030 md_number_to_chars (fragP->fr_opcode, in shmedia_md_estimate_size_before_relax()
2043 md_number_to_chars (fragP->fr_opcode, in shmedia_md_estimate_size_before_relax()
2080 md_number_to_chars (fragP->fr_opcode, in shmedia_md_estimate_size_before_relax()
2110 md_number_to_chars (fragP->fr_opcode, in shmedia_md_estimate_size_before_relax()
Dtc-score.c6811 if (fragp->fr_opcode == NULL) in s3_judge_size_before_relax()
6814 fragp->fr_opcode = fragp->fr_literal + s3_RELAX_RELOC1 (fragp->fr_subtype); in s3_judge_size_before_relax()
6835 fragp->fr_opcode = NULL; in s3_relax_branch_inst32()
6877 fragp->fr_opcode = fragp->fr_literal + s3_RELAX_RELOC1 (fragp->fr_subtype); in s3_relax_branch_inst16()
6936 fragp->fr_opcode = fragp->fr_literal + s3_RELAX_RELOC1 (fragp->fr_subtype); in s3_relax_cmpbranch_inst32()
6944 fragp->fr_opcode = NULL; in s3_relax_cmpbranch_inst32()
6958 fragp->fr_opcode = fragp->fr_literal + s3_RELAX_RELOC1 (fragp->fr_subtype); in s3_relax_other_inst32()
7036 if (fragp->fr_opcode == NULL) in s3_convert_frag()
7050 if (fragp->fr_opcode) in s3_convert_frag()
7056 if (fragp->fr_opcode) in s3_convert_frag()
[all …]
Dtc-microblaze.c2233 if (fragP->fr_opcode == NULL) in md_estimate_size_before_relax()
2240 else if (streq (fragP->fr_opcode, str_microblaze_ro_anchor)) in md_estimate_size_before_relax()
2265 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.c1680 char * fr_opcode; in md_convert_frag() member
1685 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()
5251 struct bit_info *bi = (struct bit_info *) frag->fr_opcode; in tic54x_relax_frag()
5335 frag->fr_opcode = 0; in tic54x_relax_frag()
Dtc-msp430.c3688 int insn = bfd_getl16 (fragP->fr_opcode); in md_convert_frag()
3732 int insn = bfd_getl16 (fragP->fr_opcode + 2); in md_convert_frag()
3764 int insn = bfd_getl16 (fragP->fr_opcode + 2); in md_convert_frag()
Dtc-mmix.c1075 frag_now->fr_opcode = opcodep; in md_assemble()
2319 opcodep = fragP->fr_opcode; in md_convert_frag()
/toolchain/binutils/binutils-2.25/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.c1936 table_ptr = lie->dispfrag->fr_opcode; in write_object_file()

12