Lines Matching refs:offset_expr

1908 static expressionS offset_expr;  variable
4008 offset_expr.X_op = O_absent; in md_assemble()
4039 if (offset_expr.X_op != O_absent) in md_assemble()
4040 append_insn (&insn, &offset_expr, offset_reloc, FALSE); in md_assemble()
5012 if (!match_expression (arg, &offset_expr, offset_reloc)) in match_int_operand()
5021 if (offset_expr.X_op != O_constant) in match_int_operand()
5033 sval = offset_expr.X_add_number; in match_int_operand()
5034 offset_expr.X_op = O_absent; in match_int_operand()
5214 return match_expression (arg, &offset_expr, r) && r[0] == BFD_RELOC_UNUSED; in match_pcrel_operand()
7710 offset_expr.X_op = O_absent; in match_insn()
7859 offset_expr.X_op = O_constant; in match_insn()
7860 offset_expr.X_add_number = 0; in match_insn()
7864 if (!match_expression (&arg, &offset_expr, offset_reloc)) in match_insn()
7866 normalize_address_expr (&offset_expr); in match_insn()
7871 if (!match_float_constant (&arg, &imm_expr, &offset_expr, in match_insn()
7877 if (!match_float_constant (&arg, &imm_expr, &offset_expr, in match_insn()
7883 if (!match_float_constant (&arg, &imm_expr, &offset_expr, in match_insn()
7889 if (!match_float_constant (&arg, &imm_expr, &offset_expr, in match_insn()
7960 offset_expr.X_op = O_absent; in match_mips16_insn()
8007 && offset_expr.X_op == O_constant in match_mips16_insn()
8009 offset_expr.X_add_number, in match_mips16_insn()
8014 offset_expr.X_op = O_absent; in match_mips16_insn()
8088 offset_expr.X_op = O_constant; in match_mips16_insn()
8089 offset_expr.X_add_number = 0; in match_mips16_insn()
8097 || !match_expression (&arg, &offset_expr, offset_reloc)) in match_mips16_insn()
9678 if (offset_expr.X_op == O_constant in small_offset_p()
9679 && offset_high_part (offset_expr.X_add_number, offbits) == 0 in small_offset_p()
9680 && offset_high_part (offset_expr.X_add_number + range, offbits) == 0) in small_offset_p()
9883 macro_build_branch_ccl (mask, &offset_expr, in macro()
9902 macro_build_branch_rsrt (mask, &offset_expr, op[0], op[1]); in macro()
9909 macro_build_branch_rs (likely ? M_BGEZL : M_BGEZ, &offset_expr, op[0]); in macro()
9911 macro_build_branch_rs (likely ? M_BLEZL : M_BLEZ, &offset_expr, op[1]); in macro()
9917 &offset_expr, AT, ZERO); in macro()
9927 macro_build_branch_rs (mask, &offset_expr, op[0]); in macro()
9941 macro_build_branch_rsrt (M_BNEL, &offset_expr, ZERO, ZERO); in macro()
9953 &offset_expr, op[0]); in macro()
9959 &offset_expr, op[0]); in macro()
9967 macro_build (&offset_expr, "b", "p"); in macro()
9973 &offset_expr, AT, ZERO); in macro()
9983 &offset_expr, ZERO, op[1]); in macro()
9989 &offset_expr, AT, ZERO); in macro()
10010 &offset_expr, op[0], ZERO); in macro()
10016 &offset_expr, AT, ZERO); in macro()
10024 macro_build_branch_rs (likely ? M_BGTZL : M_BGTZ, &offset_expr, op[0]); in macro()
10026 macro_build_branch_rs (likely ? M_BLTZL : M_BLTZ, &offset_expr, op[1]); in macro()
10032 &offset_expr, AT, ZERO); in macro()
10041 &offset_expr, op[0], ZERO); in macro()
10049 &offset_expr, AT, ZERO); in macro()
10057 macro_build_branch_rs (likely ? M_BLEZL : M_BLEZ, &offset_expr, op[0]); in macro()
10059 macro_build_branch_rs (likely ? M_BGEZL : M_BGEZ, &offset_expr, op[1]); in macro()
10065 &offset_expr, AT, ZERO); in macro()
10081 macro_build_branch_rs (likely ? M_BLTZL : M_BLTZ, &offset_expr, op[0]); in macro()
10083 macro_build_branch_rs (likely ? M_BLEZL : M_BLEZ, &offset_expr, op[0]); in macro()
10089 &offset_expr, AT, ZERO); in macro()
10098 &offset_expr, op[0], ZERO); in macro()
10106 &offset_expr, AT, ZERO); in macro()
10127 &offset_expr, op[0], ZERO); in macro()
10133 &offset_expr, AT, ZERO); in macro()
10141 macro_build_branch_rs (likely ? M_BLTZL : M_BLTZ, &offset_expr, op[0]); in macro()
10143 macro_build_branch_rs (likely ? M_BGTZL : M_BGTZ, &offset_expr, op[1]); in macro()
10149 &offset_expr, AT, ZERO); in macro()
10160 &offset_expr, ZERO, op[1]); in macro()
10166 &offset_expr, AT, ZERO); in macro()
10389 macro_build (&offset_expr, ADDRESS_ADDI_INSN, "t,r,j", op[0], breg, in macro()
10402 if (offset_expr.X_op != O_symbol in macro()
10403 && offset_expr.X_op != O_constant) in macro()
10406 offset_expr.X_op = O_constant; in macro()
10409 if (offset_expr.X_op == O_constant) in macro()
10410 load_register (tempreg, &offset_expr, HAVE_64BIT_ADDRESSES); in macro()
10442 if ((valueT) offset_expr.X_add_number <= MAX_GPREL_OFFSET in macro()
10443 && !nopic_need_relax (offset_expr.X_add_symbol, 1)) in macro()
10445 relax_start (offset_expr.X_add_symbol); in macro()
10446 macro_build (&offset_expr, ADDRESS_ADDI_INSN, "t,r,j", in macro()
10453 macro_build (&offset_expr, "lui", LUI_FMT, in macro()
10455 macro_build (&offset_expr, "lui", LUI_FMT, in macro()
10457 macro_build (&offset_expr, "daddiu", "t,r,j", in macro()
10459 macro_build (&offset_expr, "daddiu", "t,r,j", in macro()
10467 macro_build (&offset_expr, "lui", LUI_FMT, in macro()
10469 macro_build (&offset_expr, "daddiu", "t,r,j", in macro()
10472 macro_build (&offset_expr, "daddiu", "t,r,j", in macro()
10475 macro_build (&offset_expr, "daddiu", "t,r,j", in macro()
10484 if ((valueT) offset_expr.X_add_number <= MAX_GPREL_OFFSET in macro()
10485 && !nopic_need_relax (offset_expr.X_add_symbol, 1)) in macro()
10487 relax_start (offset_expr.X_add_symbol); in macro()
10488 macro_build (&offset_expr, ADDRESS_ADDI_INSN, "t,r,j", in macro()
10492 if (!IS_SEXT_32BIT_NUM (offset_expr.X_add_number)) in macro()
10494 macro_build_lui (&offset_expr, tempreg); in macro()
10495 macro_build (&offset_expr, ADDRESS_ADDI_INSN, "t,r,j", in macro()
10535 if (offset_expr.X_add_number == 0) in macro()
10542 relax_start (offset_expr.X_add_symbol); in macro()
10543 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", tempreg, in macro()
10553 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", in macro()
10556 macro_build (&offset_expr, ADDRESS_ADDI_INSN, "t,r,j", in macro()
10563 else if (offset_expr.X_add_number >= -0x8000 in macro()
10564 && offset_expr.X_add_number < 0x8000) in macro()
10566 load_got_offset (tempreg, &offset_expr); in macro()
10568 add_got_offset (tempreg, &offset_expr); in macro()
10572 expr1.X_add_number = offset_expr.X_add_number; in macro()
10573 offset_expr.X_add_number = in macro()
10574 SEXT_16BIT (offset_expr.X_add_number); in macro()
10575 load_got_offset (tempreg, &offset_expr); in macro()
10576 offset_expr.X_add_number = expr1.X_add_number; in macro()
10592 add_got_offset_hilo (tempreg, &offset_expr, AT); in macro()
10623 if (offset_expr.X_add_number) in macro()
10625 expr1.X_add_number = offset_expr.X_add_number; in macro()
10626 offset_expr.X_add_number = 0; in macro()
10628 relax_start (offset_expr.X_add_symbol); in macro()
10629 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", tempreg, in macro()
10670 offset_expr.X_add_number = expr1.X_add_number; in macro()
10672 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", tempreg, in macro()
10685 relax_start (offset_expr.X_add_symbol); in macro()
10686 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", tempreg, in macro()
10689 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", tempreg, in macro()
10695 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", tempreg, in macro()
10747 expr1.X_add_number = offset_expr.X_add_number; in macro()
10748 offset_expr.X_add_number = 0; in macro()
10749 relax_start (offset_expr.X_add_symbol); in macro()
10757 macro_build (&offset_expr, "lui", LUI_FMT, tempreg, lui_reloc_type); in macro()
10760 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", in macro()
10806 offset_expr.X_add_number = SEXT_16BIT (expr1.X_add_number); in macro()
10816 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", tempreg, in macro()
10822 macro_build (&offset_expr, ADDRESS_ADDI_INSN, "t,r,j", in macro()
10847 macro_build (&offset_expr, ADDRESS_ADDI_INSN, "t,r,j", in macro()
10892 relax_start (offset_expr.X_add_symbol); in macro()
10894 expr1.X_add_number = offset_expr.X_add_number; in macro()
10895 offset_expr.X_add_number = 0; in macro()
10903 macro_build (&offset_expr, "lui", LUI_FMT, tempreg, lui_reloc_type); in macro()
10906 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", in macro()
10948 offset_expr.X_add_number = expr1.X_add_number; in macro()
10949 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", tempreg, in macro()
10951 macro_build (&offset_expr, ADDRESS_ADDI_INSN, "t,r,j", tempreg, in macro()
10999 macro_build (&offset_expr, "j", "a"); in macro()
11001 macro_build (&offset_expr, "b", "p"); in macro()
11098 macro_build (&offset_expr, jals ? "jals" : "jal", "a"); in macro()
11133 relax_start (offset_expr.X_add_symbol); in macro()
11134 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", in macro()
11138 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", in macro()
11145 relax_start (offset_expr.X_add_symbol); in macro()
11146 macro_build (&offset_expr, "lui", LUI_FMT, PIC_CALL_REG, in macro()
11150 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", in macro()
11154 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", in macro()
11157 macro_build (&offset_expr, ADDRESS_ADDI_INSN, "t,r,j", in macro()
11163 macro_build_jalr (&offset_expr, 0); in macro()
11167 relax_start (offset_expr.X_add_symbol); in macro()
11170 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", in macro()
11181 macro_build (&offset_expr, "lui", LUI_FMT, PIC_CALL_REG, in macro()
11185 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", in macro()
11193 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", in macro()
11197 macro_build (&offset_expr, ADDRESS_ADDI_INSN, "t,r,j", in macro()
11200 macro_build_jalr (&offset_expr, mips_cprestore_offset >= 0); in macro()
11630 macro_build (&offset_expr, s, fmt, op[0], -1, offset_reloc[0], in macro()
11638 (int) offset_expr.X_add_number, breg); in macro()
11644 macro_build (&offset_expr, ADDRESS_ADDI_INSN, "t,r,j", in macro()
11658 if (offset_expr.X_op != O_constant in macro()
11659 && offset_expr.X_op != O_symbol) in macro()
11662 offset_expr.X_op = O_constant; in macro()
11666 && !IS_SEXT_32BIT_NUM (offset_expr.X_add_number)) in macro()
11670 sprintf_vma (value, offset_expr.X_add_number); in macro()
11676 if (offset_expr.X_op == O_constant) in macro()
11678 expr1.X_add_number = offset_high_part (offset_expr.X_add_number, in macro()
11680 offset_expr.X_add_number -= expr1.X_add_number; in macro()
11688 if (offset_expr.X_add_number != 0) in macro()
11689 macro_build (&offset_expr, ADDRESS_ADDI_INSN, in macro()
11694 macro_build (&offset_expr, s, fmt, op[0], BFD_RELOC_LO16, tempreg); in macro()
11697 (int) offset_expr.X_add_number, tempreg); in macro()
11704 load_address (tempreg, &offset_expr, &used_at); in macro()
11772 if ((valueT) offset_expr.X_add_number <= MAX_GPREL_OFFSET in macro()
11773 && !nopic_need_relax (offset_expr.X_add_symbol, 1)) in macro()
11775 relax_start (offset_expr.X_add_symbol); in macro()
11778 macro_build (&offset_expr, s, fmt, op[0], in macro()
11785 macro_build (&offset_expr, s, fmt, op[0], in macro()
11793 macro_build (&offset_expr, "lui", LUI_FMT, tempreg, in macro()
11795 macro_build (&offset_expr, "lui", LUI_FMT, AT, in macro()
11797 macro_build (&offset_expr, "daddiu", "t,r,j", tempreg, in macro()
11803 macro_build (&offset_expr, s, fmt, op[0], BFD_RELOC_LO16, in macro()
11809 macro_build (&offset_expr, "lui", LUI_FMT, tempreg, in macro()
11811 macro_build (&offset_expr, "daddiu", "t,r,j", tempreg, in macro()
11814 macro_build (&offset_expr, "daddiu", "t,r,j", tempreg, in macro()
11820 macro_build (&offset_expr, s, fmt, op[0], in macro()
11831 if ((valueT) offset_expr.X_add_number <= MAX_GPREL_OFFSET in macro()
11832 && !nopic_need_relax (offset_expr.X_add_symbol, 1)) in macro()
11834 relax_start (offset_expr.X_add_symbol); in macro()
11835 macro_build (&offset_expr, s, fmt, op[0], BFD_RELOC_GPREL16, in macro()
11839 macro_build_lui (&offset_expr, tempreg); in macro()
11840 macro_build (&offset_expr, s, fmt, op[0], in macro()
11847 if ((valueT) offset_expr.X_add_number <= MAX_GPREL_OFFSET in macro()
11848 && !nopic_need_relax (offset_expr.X_add_symbol, 1)) in macro()
11850 relax_start (offset_expr.X_add_symbol); in macro()
11853 macro_build (&offset_expr, s, fmt, op[0], in macro()
11857 macro_build_lui (&offset_expr, tempreg); in macro()
11860 macro_build (&offset_expr, s, fmt, op[0], in macro()
11890 gas_assert (offset_expr.X_op == O_symbol); in macro()
11893 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", tempreg, in macro()
11898 macro_build (&offset_expr, s, fmt, op[0], in macro()
11902 expr1.X_add_number = offset_expr.X_add_number; in macro()
11903 offset_expr.X_add_number = 0; in macro()
11907 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", tempreg, in macro()
11910 relax_start (offset_expr.X_add_symbol); in macro()
11912 macro_build (&offset_expr, ADDRESS_ADDI_INSN, "t,r,j", tempreg, in macro()
11940 gas_assert (offset_expr.X_op == O_symbol); in macro()
11941 expr1.X_add_number = offset_expr.X_add_number; in macro()
11942 offset_expr.X_add_number = 0; in macro()
11947 relax_start (offset_expr.X_add_symbol); in macro()
11948 macro_build (&offset_expr, "lui", LUI_FMT, tempreg, in macro()
11952 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", tempreg, in macro()
11957 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", tempreg, in macro()
11960 macro_build (&offset_expr, ADDRESS_ADDI_INSN, "t,r,j", tempreg, in macro()
11979 gas_assert (offset_expr.X_op == O_symbol); in macro()
11980 expr1.X_add_number = offset_expr.X_add_number; in macro()
11981 offset_expr.X_add_number = 0; in macro()
11985 relax_start (offset_expr.X_add_symbol); in macro()
11986 macro_build (&offset_expr, "lui", LUI_FMT, tempreg, in macro()
11990 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", tempreg, in macro()
11998 offset_expr.X_add_number = expr1.X_add_number; in macro()
11999 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", tempreg, in macro()
12004 macro_build (&offset_expr, s, fmt, op[0], in macro()
12051 && offset_expr.X_op == O_symbol in macro()
12053 (offset_expr.X_add_symbol)), in macro()
12055 && offset_expr.X_add_number == 0); in macro()
12056 macro_build (&offset_expr, "lwc1", "T,o(b)", op[0], in macro()
12089 if (offset_expr.X_op == O_absent) in macro()
12093 gas_assert (offset_expr.X_op == O_constant); in macro()
12094 load_register (lreg, &offset_expr, 0); in macro()
12106 macro_build_lui (&offset_expr, AT); in macro()
12111 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", AT, in macro()
12120 macro_build (&offset_expr, "ld", "t,o(b)", op[0], in macro()
12126 macro_build (&offset_expr, "lw", "t,o(b)", op[0], in macro()
12132 offset_expr.X_add_number += 4; in macro()
12133 macro_build (&offset_expr, "lw", "t,o(b)", in macro()
12161 if (offset_expr.X_op == O_absent) in macro()
12165 gas_assert (offset_expr.X_op == O_constant); in macro()
12166 load_register (AT, &offset_expr, 0); in macro()
12174 && offset_expr.X_op == O_symbol in macro()
12175 && offset_expr.X_add_number == 0); in macro()
12176 s = segment_name (S_GET_SEGMENT (offset_expr.X_add_symbol)); in macro()
12189 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", AT, in macro()
12194 macro_build_lui (&offset_expr, AT); in macro()
12281 ep = &offset_expr; in macro()
12284 macro_build (&offset_expr, ADDRESS_ADDI_INSN, "t,r,j", AT, breg, in macro()
12317 if (offset_expr.X_op != O_symbol in macro()
12318 && offset_expr.X_op != O_constant) in macro()
12321 offset_expr.X_op = O_constant; in macro()
12325 && !IS_SEXT_32BIT_NUM (offset_expr.X_add_number)) in macro()
12329 sprintf_vma (value, offset_expr.X_add_number); in macro()
12333 if (mips_pic == NO_PIC || offset_expr.X_op == O_constant) in macro()
12349 if (offset_expr.X_op == O_symbol in macro()
12350 && (valueT) offset_expr.X_add_number <= MAX_GPREL_OFFSET in macro()
12351 && !nopic_need_relax (offset_expr.X_add_symbol, 1)) in macro()
12353 relax_start (offset_expr.X_add_symbol); in macro()
12367 macro_build (&offset_expr, s, fmt, coproc ? op[0] + 1 : op[0], in macro()
12369 offset_expr.X_add_number += 4; in macro()
12376 macro_build (&offset_expr, s, fmt, coproc ? op[0] : op[0] + 1, in macro()
12382 offset_expr.X_add_number -= 4; in macro()
12385 if (offset_high_part (offset_expr.X_add_number, 16) in macro()
12386 != offset_high_part (offset_expr.X_add_number + 4, 16)) in macro()
12388 load_address (AT, &offset_expr, &used_at); in macro()
12389 offset_expr.X_op = O_constant; in macro()
12390 offset_expr.X_add_number = 0; in macro()
12393 macro_build_lui (&offset_expr, AT); in macro()
12397 macro_build (&offset_expr, s, fmt, coproc ? op[0] + 1 : op[0], in macro()
12400 offset_expr.X_add_number += 4; in macro()
12402 macro_build (&offset_expr, s, fmt, coproc ? op[0] : op[0] + 1, in macro()
12423 expr1.X_add_number = offset_expr.X_add_number; in macro()
12427 load_got_offset (AT, &offset_expr); in macro()
12438 relax_start (offset_expr.X_add_symbol); in macro()
12445 macro_build (&offset_expr, s, fmt, coproc ? op[0] + 1 : op[0], in macro()
12447 offset_expr.X_add_number += 4; in macro()
12448 macro_build (&offset_expr, s, fmt, coproc ? op[0] : op[0] + 1, in macro()
12474 expr1.X_add_number = offset_expr.X_add_number; in macro()
12475 offset_expr.X_add_number = 0; in macro()
12480 relax_start (offset_expr.X_add_symbol); in macro()
12481 macro_build (&offset_expr, "lui", LUI_FMT, in macro()
12485 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", in macro()
12506 offset_expr.X_add_number = expr1.X_add_number; in macro()
12509 macro_build (&offset_expr, ADDRESS_LOAD_INSN, "t,o(b)", AT, in macro()
12515 macro_build (&offset_expr, s, fmt, coproc ? op[0] + 1 : op[0], in macro()
12517 offset_expr.X_add_number += 4; in macro()
12524 macro_build (&offset_expr, s, fmt, coproc ? op[0] : op[0] + 1, in macro()
13215 ep = &offset_expr; in macro()
13486 macro_build (&offset_expr, s2, "p"); in mips16_macro()
13544 macro_build (&offset_expr, s2, "p"); in mips16_macro()