Lines Matching refs:offset_expr

1917 static expressionS offset_expr;  variable
4030 offset_expr.X_op = O_absent; in md_assemble()
4061 if (offset_expr.X_op != O_absent) in md_assemble()
4062 append_insn (&insn, &offset_expr, offset_reloc, FALSE); in md_assemble()
5028 if (!match_expression (arg, &offset_expr, offset_reloc)) in match_int_operand()
5037 if (offset_expr.X_op != O_constant) in match_int_operand()
5049 sval = offset_expr.X_add_number; in match_int_operand()
5050 offset_expr.X_op = O_absent; in match_int_operand()
5296 return match_expression (arg, &offset_expr, r) && r[0] == BFD_RELOC_UNUSED; in match_pcrel_operand()
7815 offset_expr.X_op = O_absent; in match_insn()
7964 offset_expr.X_op = O_constant; in match_insn()
7965 offset_expr.X_add_number = 0; in match_insn()
7969 if (!match_expression (&arg, &offset_expr, offset_reloc)) in match_insn()
7971 normalize_address_expr (&offset_expr); in match_insn()
7976 if (!match_float_constant (&arg, &imm_expr, &offset_expr, in match_insn()
7982 if (!match_float_constant (&arg, &imm_expr, &offset_expr, in match_insn()
7988 if (!match_float_constant (&arg, &imm_expr, &offset_expr, in match_insn()
7994 if (!match_float_constant (&arg, &imm_expr, &offset_expr, in match_insn()
8065 offset_expr.X_op = O_absent; in match_mips16_insn()
8112 && offset_expr.X_op == O_constant in match_mips16_insn()
8114 offset_expr.X_add_number, in match_mips16_insn()
8119 offset_expr.X_op = O_absent; in match_mips16_insn()
8193 offset_expr.X_op = O_constant; in match_mips16_insn()
8194 offset_expr.X_add_number = 0; in match_mips16_insn()
8202 || !match_expression (&arg, &offset_expr, offset_reloc)) in match_mips16_insn()
9784 if (offset_expr.X_op == O_constant in small_offset_p()
9785 && offset_high_part (offset_expr.X_add_number, offbits) == 0 in small_offset_p()
9786 && offset_high_part (offset_expr.X_add_number + range, offbits) == 0) in small_offset_p()
9989 macro_build_branch_ccl (mask, &offset_expr, in macro()
10008 macro_build_branch_rsrt (mask, &offset_expr, op[0], op[1]); in macro()
10015 macro_build_branch_rs (likely ? M_BGEZL : M_BGEZ, &offset_expr, op[0]); in macro()
10017 macro_build_branch_rs (likely ? M_BLEZL : M_BLEZ, &offset_expr, op[1]); in macro()
10023 &offset_expr, AT, ZERO); in macro()
10033 macro_build_branch_rs (mask, &offset_expr, op[0]); in macro()
10047 macro_build_branch_rsrt (M_BNEL, &offset_expr, ZERO, ZERO); in macro()
10059 &offset_expr, op[0]); in macro()
10065 &offset_expr, op[0]); in macro()
10073 macro_build (&offset_expr, "b", "p"); in macro()
10079 &offset_expr, AT, ZERO); in macro()
10089 &offset_expr, ZERO, op[1]); in macro()
10095 &offset_expr, AT, ZERO); in macro()
10116 &offset_expr, op[0], ZERO); in macro()
10122 &offset_expr, AT, ZERO); in macro()
10130 macro_build_branch_rs (likely ? M_BGTZL : M_BGTZ, &offset_expr, op[0]); in macro()
10132 macro_build_branch_rs (likely ? M_BLTZL : M_BLTZ, &offset_expr, op[1]); in macro()
10138 &offset_expr, AT, ZERO); in macro()
10147 &offset_expr, op[0], ZERO); in macro()
10155 &offset_expr, AT, ZERO); in macro()
10163 macro_build_branch_rs (likely ? M_BLEZL : M_BLEZ, &offset_expr, op[0]); in macro()
10165 macro_build_branch_rs (likely ? M_BGEZL : M_BGEZ, &offset_expr, op[1]); in macro()
10171 &offset_expr, AT, ZERO); in macro()
10187 macro_build_branch_rs (likely ? M_BLTZL : M_BLTZ, &offset_expr, op[0]); in macro()
10189 macro_build_branch_rs (likely ? M_BLEZL : M_BLEZ, &offset_expr, op[0]); in macro()
10195 &offset_expr, AT, ZERO); in macro()
10204 &offset_expr, op[0], ZERO); in macro()
10212 &offset_expr, AT, ZERO); in macro()
10233 &offset_expr, op[0], ZERO); in macro()
10239 &offset_expr, AT, ZERO); in macro()
10247 macro_build_branch_rs (likely ? M_BLTZL : M_BLTZ, &offset_expr, op[0]); in macro()
10249 macro_build_branch_rs (likely ? M_BGTZL : M_BGTZ, &offset_expr, op[1]); in macro()
10255 &offset_expr, AT, ZERO); in macro()
10266 &offset_expr, ZERO, op[1]); in macro()
10272 &offset_expr, AT, ZERO); in macro()
10493 macro_build (&offset_expr, ADDRESS_ADDI_INSN, "t,r,j", op[0], breg, in macro()
10506 if (offset_expr.X_op != O_symbol in macro()
10507 && offset_expr.X_op != O_constant) in macro()
10510 offset_expr.X_op = O_constant; in macro()
10513 if (offset_expr.X_op == O_constant) in macro()
10514 load_register (tempreg, &offset_expr, HAVE_64BIT_ADDRESSES); in macro()
10546 if ((valueT) offset_expr.X_add_number <= MAX_GPREL_OFFSET in macro()
10547 && !nopic_need_relax (offset_expr.X_add_symbol, 1)) in macro()
10549 relax_start (offset_expr.X_add_symbol); in macro()
10550 macro_build (&offset_expr, ADDRESS_ADDI_INSN, "t,r,j", in macro()
10557 macro_build (&offset_expr, "lui", LUI_FMT, in macro()
10559 macro_build (&offset_expr, "lui", LUI_FMT, in macro()
10561 macro_build (&offset_expr, "daddiu", "t,r,j", in macro()
10563 macro_build (&offset_expr, "daddiu", "t,r,j", in macro()
10571 macro_build (&offset_expr, "lui", LUI_FMT, in macro()
10573 macro_build (&offset_expr, "daddiu", "t,r,j", in macro()
10576 macro_build (&offset_expr, "daddiu", "t,r,j", in macro()
10579 macro_build (&offset_expr, "daddiu", "t,r,j", in macro()
10588 if ((valueT) offset_expr.X_add_number <= MAX_GPREL_OFFSET in macro()
10589 && !nopic_need_relax (offset_expr.X_add_symbol, 1)) in macro()
10591 relax_start (offset_expr.X_add_symbol); in macro()
10592 macro_build (&offset_expr, ADDRESS_ADDI_INSN, "t,r,j", in macro()
10596 if (!IS_SEXT_32BIT_NUM (offset_expr.X_add_number)) in macro()
10598 macro_build_lui (&offset_expr, tempreg); in macro()
10599 macro_build (&offset_expr, ADDRESS_ADDI_INSN, "t,r,j", in macro()
10639 if (offset_expr.X_add_number == 0) in macro()
10646 relax_start (offset_expr.X_add_symbol); in macro()
10647 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", tempreg, in macro()
10657 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", in macro()
10660 macro_build (&offset_expr, ADDRESS_ADDI_INSN, "t,r,j", in macro()
10667 else if (offset_expr.X_add_number >= -0x8000 in macro()
10668 && offset_expr.X_add_number < 0x8000) in macro()
10670 load_got_offset (tempreg, &offset_expr); in macro()
10672 add_got_offset (tempreg, &offset_expr); in macro()
10676 expr1.X_add_number = offset_expr.X_add_number; in macro()
10677 offset_expr.X_add_number = in macro()
10678 SEXT_16BIT (offset_expr.X_add_number); in macro()
10679 load_got_offset (tempreg, &offset_expr); in macro()
10680 offset_expr.X_add_number = expr1.X_add_number; in macro()
10696 add_got_offset_hilo (tempreg, &offset_expr, AT); in macro()
10727 if (offset_expr.X_add_number) in macro()
10729 expr1.X_add_number = offset_expr.X_add_number; in macro()
10730 offset_expr.X_add_number = 0; in macro()
10732 relax_start (offset_expr.X_add_symbol); in macro()
10733 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", tempreg, in macro()
10774 offset_expr.X_add_number = expr1.X_add_number; in macro()
10776 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", tempreg, in macro()
10789 relax_start (offset_expr.X_add_symbol); in macro()
10790 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", tempreg, in macro()
10793 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", tempreg, in macro()
10799 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", tempreg, in macro()
10851 expr1.X_add_number = offset_expr.X_add_number; in macro()
10852 offset_expr.X_add_number = 0; in macro()
10853 relax_start (offset_expr.X_add_symbol); in macro()
10861 macro_build (&offset_expr, "lui", LUI_FMT, tempreg, lui_reloc_type); in macro()
10864 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", in macro()
10910 offset_expr.X_add_number = SEXT_16BIT (expr1.X_add_number); in macro()
10920 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", tempreg, in macro()
10926 macro_build (&offset_expr, ADDRESS_ADDI_INSN, "t,r,j", in macro()
10951 macro_build (&offset_expr, ADDRESS_ADDI_INSN, "t,r,j", in macro()
10996 relax_start (offset_expr.X_add_symbol); in macro()
10998 expr1.X_add_number = offset_expr.X_add_number; in macro()
10999 offset_expr.X_add_number = 0; in macro()
11007 macro_build (&offset_expr, "lui", LUI_FMT, tempreg, lui_reloc_type); in macro()
11010 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", in macro()
11052 offset_expr.X_add_number = expr1.X_add_number; in macro()
11053 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", tempreg, in macro()
11055 macro_build (&offset_expr, ADDRESS_ADDI_INSN, "t,r,j", tempreg, in macro()
11103 macro_build (&offset_expr, "j", "a"); in macro()
11105 macro_build (&offset_expr, "b", "p"); in macro()
11202 macro_build (&offset_expr, jals ? "jals" : "jal", "a"); in macro()
11237 relax_start (offset_expr.X_add_symbol); in macro()
11238 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", in macro()
11242 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", in macro()
11249 relax_start (offset_expr.X_add_symbol); in macro()
11250 macro_build (&offset_expr, "lui", LUI_FMT, PIC_CALL_REG, in macro()
11254 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", in macro()
11258 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", in macro()
11261 macro_build (&offset_expr, ADDRESS_ADDI_INSN, "t,r,j", in macro()
11267 macro_build_jalr (&offset_expr, 0); in macro()
11271 relax_start (offset_expr.X_add_symbol); in macro()
11274 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", in macro()
11285 macro_build (&offset_expr, "lui", LUI_FMT, PIC_CALL_REG, in macro()
11289 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", in macro()
11297 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", in macro()
11301 macro_build (&offset_expr, ADDRESS_ADDI_INSN, "t,r,j", in macro()
11304 macro_build_jalr (&offset_expr, mips_cprestore_offset >= 0); in macro()
11734 macro_build (&offset_expr, s, fmt, op[0], -1, offset_reloc[0], in macro()
11742 (int) offset_expr.X_add_number, breg); in macro()
11748 macro_build (&offset_expr, ADDRESS_ADDI_INSN, "t,r,j", in macro()
11762 if (offset_expr.X_op != O_constant in macro()
11763 && offset_expr.X_op != O_symbol) in macro()
11766 offset_expr.X_op = O_constant; in macro()
11770 && !IS_SEXT_32BIT_NUM (offset_expr.X_add_number)) in macro()
11774 sprintf_vma (value, offset_expr.X_add_number); in macro()
11780 if (offset_expr.X_op == O_constant) in macro()
11782 expr1.X_add_number = offset_high_part (offset_expr.X_add_number, in macro()
11784 offset_expr.X_add_number -= expr1.X_add_number; in macro()
11792 if (offset_expr.X_add_number != 0) in macro()
11793 macro_build (&offset_expr, ADDRESS_ADDI_INSN, in macro()
11798 macro_build (&offset_expr, s, fmt, op[0], BFD_RELOC_LO16, tempreg); in macro()
11801 (int) offset_expr.X_add_number, tempreg); in macro()
11808 load_address (tempreg, &offset_expr, &used_at); in macro()
11876 if ((valueT) offset_expr.X_add_number <= MAX_GPREL_OFFSET in macro()
11877 && !nopic_need_relax (offset_expr.X_add_symbol, 1)) in macro()
11879 relax_start (offset_expr.X_add_symbol); in macro()
11882 macro_build (&offset_expr, s, fmt, op[0], in macro()
11889 macro_build (&offset_expr, s, fmt, op[0], in macro()
11897 macro_build (&offset_expr, "lui", LUI_FMT, tempreg, in macro()
11899 macro_build (&offset_expr, "lui", LUI_FMT, AT, in macro()
11901 macro_build (&offset_expr, "daddiu", "t,r,j", tempreg, in macro()
11907 macro_build (&offset_expr, s, fmt, op[0], BFD_RELOC_LO16, in macro()
11913 macro_build (&offset_expr, "lui", LUI_FMT, tempreg, in macro()
11915 macro_build (&offset_expr, "daddiu", "t,r,j", tempreg, in macro()
11918 macro_build (&offset_expr, "daddiu", "t,r,j", tempreg, in macro()
11924 macro_build (&offset_expr, s, fmt, op[0], in macro()
11935 if ((valueT) offset_expr.X_add_number <= MAX_GPREL_OFFSET in macro()
11936 && !nopic_need_relax (offset_expr.X_add_symbol, 1)) in macro()
11938 relax_start (offset_expr.X_add_symbol); in macro()
11939 macro_build (&offset_expr, s, fmt, op[0], BFD_RELOC_GPREL16, in macro()
11943 macro_build_lui (&offset_expr, tempreg); in macro()
11944 macro_build (&offset_expr, s, fmt, op[0], in macro()
11951 if ((valueT) offset_expr.X_add_number <= MAX_GPREL_OFFSET in macro()
11952 && !nopic_need_relax (offset_expr.X_add_symbol, 1)) in macro()
11954 relax_start (offset_expr.X_add_symbol); in macro()
11957 macro_build (&offset_expr, s, fmt, op[0], in macro()
11961 macro_build_lui (&offset_expr, tempreg); in macro()
11964 macro_build (&offset_expr, s, fmt, op[0], in macro()
11994 gas_assert (offset_expr.X_op == O_symbol); in macro()
11997 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", tempreg, in macro()
12002 macro_build (&offset_expr, s, fmt, op[0], in macro()
12006 expr1.X_add_number = offset_expr.X_add_number; in macro()
12007 offset_expr.X_add_number = 0; in macro()
12011 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", tempreg, in macro()
12014 relax_start (offset_expr.X_add_symbol); in macro()
12016 macro_build (&offset_expr, ADDRESS_ADDI_INSN, "t,r,j", tempreg, in macro()
12044 gas_assert (offset_expr.X_op == O_symbol); in macro()
12045 expr1.X_add_number = offset_expr.X_add_number; in macro()
12046 offset_expr.X_add_number = 0; in macro()
12051 relax_start (offset_expr.X_add_symbol); in macro()
12052 macro_build (&offset_expr, "lui", LUI_FMT, tempreg, in macro()
12056 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", tempreg, in macro()
12061 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", tempreg, in macro()
12064 macro_build (&offset_expr, ADDRESS_ADDI_INSN, "t,r,j", tempreg, in macro()
12083 gas_assert (offset_expr.X_op == O_symbol); in macro()
12084 expr1.X_add_number = offset_expr.X_add_number; in macro()
12085 offset_expr.X_add_number = 0; in macro()
12089 relax_start (offset_expr.X_add_symbol); in macro()
12090 macro_build (&offset_expr, "lui", LUI_FMT, tempreg, in macro()
12094 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", tempreg, in macro()
12102 offset_expr.X_add_number = expr1.X_add_number; in macro()
12103 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", tempreg, in macro()
12108 macro_build (&offset_expr, s, fmt, op[0], in macro()
12155 && offset_expr.X_op == O_symbol in macro()
12157 (offset_expr.X_add_symbol)), in macro()
12159 && offset_expr.X_add_number == 0); in macro()
12160 macro_build (&offset_expr, "lwc1", "T,o(b)", op[0], in macro()
12193 if (offset_expr.X_op == O_absent) in macro()
12197 gas_assert (offset_expr.X_op == O_constant); in macro()
12198 load_register (lreg, &offset_expr, 0); in macro()
12210 macro_build_lui (&offset_expr, AT); in macro()
12215 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", AT, in macro()
12224 macro_build (&offset_expr, "ld", "t,o(b)", op[0], in macro()
12230 macro_build (&offset_expr, "lw", "t,o(b)", op[0], in macro()
12236 offset_expr.X_add_number += 4; in macro()
12237 macro_build (&offset_expr, "lw", "t,o(b)", in macro()
12265 if (offset_expr.X_op == O_absent) in macro()
12269 gas_assert (offset_expr.X_op == O_constant); in macro()
12270 load_register (AT, &offset_expr, 0); in macro()
12278 && offset_expr.X_op == O_symbol in macro()
12279 && offset_expr.X_add_number == 0); in macro()
12280 s = segment_name (S_GET_SEGMENT (offset_expr.X_add_symbol)); in macro()
12293 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", AT, in macro()
12298 macro_build_lui (&offset_expr, AT); in macro()
12385 ep = &offset_expr; in macro()
12388 macro_build (&offset_expr, ADDRESS_ADDI_INSN, "t,r,j", AT, breg, in macro()
12421 if (offset_expr.X_op != O_symbol in macro()
12422 && offset_expr.X_op != O_constant) in macro()
12425 offset_expr.X_op = O_constant; in macro()
12429 && !IS_SEXT_32BIT_NUM (offset_expr.X_add_number)) in macro()
12433 sprintf_vma (value, offset_expr.X_add_number); in macro()
12437 if (mips_pic == NO_PIC || offset_expr.X_op == O_constant) in macro()
12453 if (offset_expr.X_op == O_symbol in macro()
12454 && (valueT) offset_expr.X_add_number <= MAX_GPREL_OFFSET in macro()
12455 && !nopic_need_relax (offset_expr.X_add_symbol, 1)) in macro()
12457 relax_start (offset_expr.X_add_symbol); in macro()
12471 macro_build (&offset_expr, s, fmt, coproc ? op[0] + 1 : op[0], in macro()
12473 offset_expr.X_add_number += 4; in macro()
12480 macro_build (&offset_expr, s, fmt, coproc ? op[0] : op[0] + 1, in macro()
12486 offset_expr.X_add_number -= 4; in macro()
12489 if (offset_high_part (offset_expr.X_add_number, 16) in macro()
12490 != offset_high_part (offset_expr.X_add_number + 4, 16)) in macro()
12492 load_address (AT, &offset_expr, &used_at); in macro()
12493 offset_expr.X_op = O_constant; in macro()
12494 offset_expr.X_add_number = 0; in macro()
12497 macro_build_lui (&offset_expr, AT); in macro()
12501 macro_build (&offset_expr, s, fmt, coproc ? op[0] + 1 : op[0], in macro()
12504 offset_expr.X_add_number += 4; in macro()
12506 macro_build (&offset_expr, s, fmt, coproc ? op[0] : op[0] + 1, in macro()
12527 expr1.X_add_number = offset_expr.X_add_number; in macro()
12531 load_got_offset (AT, &offset_expr); in macro()
12542 relax_start (offset_expr.X_add_symbol); in macro()
12549 macro_build (&offset_expr, s, fmt, coproc ? op[0] + 1 : op[0], in macro()
12551 offset_expr.X_add_number += 4; in macro()
12552 macro_build (&offset_expr, s, fmt, coproc ? op[0] : op[0] + 1, in macro()
12578 expr1.X_add_number = offset_expr.X_add_number; in macro()
12579 offset_expr.X_add_number = 0; in macro()
12584 relax_start (offset_expr.X_add_symbol); in macro()
12585 macro_build (&offset_expr, "lui", LUI_FMT, in macro()
12589 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", in macro()
12610 offset_expr.X_add_number = expr1.X_add_number; in macro()
12613 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", AT, in macro()
12619 macro_build (&offset_expr, s, fmt, coproc ? op[0] + 1 : op[0], in macro()
12621 offset_expr.X_add_number += 4; in macro()
12628 macro_build (&offset_expr, s, fmt, coproc ? op[0] : op[0] + 1, in macro()
13319 ep = &offset_expr; in macro()
13590 macro_build (&offset_expr, s2, "p"); in mips16_macro()
13648 macro_build (&offset_expr, s2, "p"); in mips16_macro()