Home | History | Annotate | Download | only in config

Lines Matching defs:ep

6705       expressionS ep;
6714 ep.X_op = O_constant;
6715 ep.X_add_number = 0xcfff0000;
6716 macro_build (&ep, "lui", "t,u", ATREG, BFD_RELOC_HI16);
6717 ep.X_add_number = 0xffff;
6718 macro_build (&ep, "ori", "t,r,i", ATREG, ATREG, BFD_RELOC_LO16);
8553 macro_build (expressionS *ep, const char *name, const char *fmt, ...)
8568 mips16_macro_build (ep, name, fmt, &args);
8638 gas_assert (ep != NULL
8639 && (ep->X_op == O_constant
8640 || (ep->X_op == O_symbol
8650 gas_assert (ep != NULL);
8659 if (ep->X_op == O_constant)
8665 if ((ep->X_add_number & 3) != 0)
8667 (unsigned long) ep->X_add_number);
8668 if ((ep->X_add_number + 0x20000) & ~0x3ffff)
8670 (unsigned long) ep->X_add_number);
8671 insn.insn_opcode |= (ep->X_add_number >> 2) & 0xffff;
8672 ep = NULL;
8679 gas_assert (ep != NULL);
8701 gas_assert (*r == BFD_RELOC_UNUSED ? ep == NULL : ep != NULL);
8703 append_insn (&insn, ep, r, TRUE);
8707 mips16_macro_build (expressionS *ep, const char *name, const char *fmt,
8765 gas_assert (ep != NULL);
8767 if (ep->X_op != O_constant)
8769 else if (calculate_reloc (*r, ep->X_add_number, &value))
8772 ep = NULL;
8788 gas_assert (*r == BFD_RELOC_UNUSED ? ep == NULL : ep != NULL);
8790 append_insn (&insn, ep, r, TRUE);
8798 macro_build_jalr (expressionS *ep, int cprestore)
8806 if (MIPS_JALR_HINT_P (ep))
8815 if (MIPS_JALR_HINT_P (ep)
8824 if (MIPS_JALR_HINT_P (ep))
8825 fix_new_exp (frag_now, f - frag_now->fr_literal, 4, ep, FALSE, jalr_reloc);
8832 macro_build_lui (expressionS *ep, int regnum)
8836 if (ep->X_op != O_constant)
8838 gas_assert (ep->X_op == O_symbol);
8843 && strcmp (S_GET_NAME (ep->X_add_symbol), "_gp_disp") == 0)
8845 && strcmp (S_GET_NAME (ep->X_add_symbol),
8849 macro_build (ep, "lui", LUI_FMT, regnum, BFD_RELOC_HI16_S);
8856 macro_build_ldst_constoffset (expressionS *ep, const char *op,
8859 gas_assert (ep->X_op == O_constant);
8863 normalize_constant_expr (ep);
8866 if (! IS_SEXT_32BIT_NUM(ep->X_add_number + 0x8000))
8869 if (IS_SEXT_16BIT_NUM(ep->X_add_number))
8872 macro_build (ep
8881 macro_build_lui (ep, AT);
8883 macro_build (ep, op, "t,o(b)", treg, BFD_RELOC_LO16, AT);
8989 load_register (int reg, expressionS *ep, int dbl)
8994 if (ep->X_op != O_big)
8996 gas_assert (ep->X_op == O_constant);
9000 normalize_constant_expr (ep);
9002 if (IS_SEXT_16BIT_NUM (ep->X_add_number))
9007 macro_build (ep, "addiu", "t,r,j", reg, 0, BFD_RELOC_LO16);
9010 else if (ep->X_add_number >= 0 && ep->X_add_number < 0x10000)
9014 macro_build (ep, "ori", "t,r,i", reg, 0, BFD_RELOC_LO16);
9017 else if ((IS_SEXT_32BIT_NUM (ep->X_add_number)))
9020 macro_build (ep, "lui", LUI_FMT, reg, BFD_RELOC_HI16);
9021 if ((ep->X_add_number & 0xffff) != 0)
9022 macro_build (ep, "ori", "t,r,i", reg, reg, BFD_RELOC_LO16);
9033 sprintf_vma (value, ep->X_add_number);
9035 macro_build (ep, "addiu", "t,r,j", reg, 0, BFD_RELOC_LO16);
9039 if (ep->X_op != O_big)
9041 hi32 = *ep;
9045 lo32 = *ep;
9050 gas_assert (ep->X_add_number > 2);
9051 if (ep->X_add_number == 3)
9053 else if (ep->X_add_number > 4)
9226 load_address (int reg, expressionS *ep, int *used_at)
9228 if (ep->X_op != O_constant
9229 && ep->X_op != O_symbol)
9232 ep->X_op = O_constant;
9235 if (ep->X_op == O_constant)
9237 load_register (reg, ep, HAVE_64BIT_ADDRESSES);
9271 if ((valueT) ep->X_add_number <= MAX_GPREL_OFFSET
9272 && !nopic_need_relax (ep->X_add_symbol, 1))
9274 relax_start (ep->X_add_symbol);
9275 macro_build (ep, ADDRESS_ADDI_INSN, "t,r,j", reg,
9282 macro_build (ep, "lui", LUI_FMT, reg, BFD_RELOC_MIPS_HIGHEST);
9283 macro_build (ep, "lui", LUI_FMT, AT, BFD_RELOC_HI16_S);
9284 macro_build (ep, "daddiu", "t,r,j", reg, reg,
9286 macro_build (ep, "daddiu", "t,r,j", AT, AT, BFD_RELOC_LO16);
9293 macro_build (ep, "lui", LUI_FMT, reg, BFD_RELOC_MIPS_HIGHEST);
9294 macro_build (ep, "daddiu", "t,r,j", reg, reg,
9297 macro_build (ep, "daddiu", "t,r,j", reg, reg, BFD_RELOC_HI16_S);
9299 macro_build (ep, "daddiu", "t,r,j", reg, reg, BFD_RELOC_LO16);
9307 if ((valueT) ep->X_add_number <= MAX_GPREL_OFFSET
9308 && !nopic_need_relax (ep->X_add_symbol, 1))
9310 relax_start (ep->X_add_symbol);
9311 macro_build (ep, ADDRESS_ADDI_INSN, "t,r,j", reg,
9315 macro_build_lui (ep, reg);
9316 macro_build (ep, ADDRESS_ADDI_INSN, "t,r,j",
9340 if (ep->X_add_number)
9342 ex.X_add_number = ep->X_add_number;
9343 ep->X_add_number = 0;
9344 relax_start (ep->X_add_symbol);
9345 macro_build (ep, ADDRESS_LOAD_INSN, "t,o(b)", reg,
9352 ep->X_add_number = ex.X_add_number;
9355 macro_build (ep, ADDRESS_LOAD_INSN, "t,o(b)", reg,
9362 ex.X_add_number = ep->X_add_number;
9363 ep->X_add_number = 0;
9364 macro_build (ep, ADDRESS_LOAD_INSN, "t,o(b)", reg,
9367 relax_start (ep->X_add_symbol);
9369 macro_build (ep, ADDRESS_ADDI_INSN, "t,r,j", reg, reg,
9405 ep->X_add_number;
9406 ep->X_add_number = 0;
9407 relax_start (ep->X_add_symbol);
9408 macro_build (ep, "lui", LUI_FMT, reg, BFD_RELOC_MIPS_GOT_HI16);
9411 macro_build (ep, ADDRESS_LOAD_INSN, "t,o(b)",
9422 ep->X_add_number = ex.X_add_number;
9424 macro_build (ep, ADDRESS_LOAD_INSN, "t,o(b)", reg,
9426 macro_build (ep, ADDRESS_ADDI_INSN, "t,r,j", reg, reg,
9432 ex.X_add_number = ep->X_add_number;
9433 ep->X_add_number = 0;
9434 relax_start (ep->X_add_symbol);
9435 macro_build (ep, "lui", LUI_FMT, reg, BFD_RELOC_MIPS_GOT_HI16);
9438 macro_build (ep, ADDRESS_LOAD_INSN, "t,o(b)",
9449 macro_build (ep, ADDRESS_LOAD_INSN, "t,o(b)", reg,
9452 macro_build (ep, ADDRESS_ADDI_INSN, "t,r,j", reg, reg,
9568 EP, FMT, SREG and TREG specify the usual macro_build() parameters.
9597 int call, expressionS *ep, const char *fmt,
9610 macro_build (ep, call ? "bal" : "b", "p");
9617 macro_build (ep, br, fmt, sreg, treg);
9624 the condition code tested. EP specifies the branch target. */
9627 macro_build_branch_ccl (int type, expressionS *ep, unsigned int cc)
9654 macro_build_branch_likely (br, brneg, call, ep, "N,p", cc, ZERO);
9658 the register tested. EP specifies the branch target. */
9661 macro_build_branch_rs (int type, expressionS *ep, unsigned int sreg)
9713 macro_build_branch_likely (br, brneg, call, ep, "s,p", sreg, ZERO);
9715 macro_build (ep, br, "s,p", sreg);
9719 TREG as the registers tested. EP specifies the branch target. */
9722 macro_build_branch_rsrt (int type, expressionS *ep,
9753 macro_build_branch_likely (br, brneg, call, ep, "s,t,p", sreg, treg);
9755 macro_build (ep, br, "s,t,p", sreg, treg);
9828 expressionS *ep;
12394 ep = &offset_expr;
12401 ep = &expr1;
12410 ep->X_add_number += 4;
12411 macro_build (ep, s, fmt, op[0] + 1, -1, offset_reloc[0],
12413 ep->X_add_number -= 4;
12414 macro_build (ep, s, fmt, op[0], -1, offset_reloc[0],
12419 macro_build (ep, s, fmt, coproc ? op[0] + 1 : op[0], -1,
12422 ep->X_add_number += 4;
12423 macro_build (ep, s, fmt, coproc ? op[0] : op[0] + 1, -1,
13328 ep = &offset_expr;
13335 macro_build (ep, ADDRESS_ADDI_INSN, "t,r,j", tempreg, breg, -1,
13339 load_address (tempreg, ep, &used_at);
13349 ep = &expr1;
13363 ep->X_add_number += off;
13365 macro_build (NULL, s, "t,~(b)", tempreg, (int) ep->X_add_number, breg);
13367 macro_build (ep, s, "t,o(b)", tempreg, -1,
13371 ep->X_add_number -= off;
13373 ep->X_add_number += off;
13376 tempreg, (int) ep->X_add_number, breg);
13378 macro_build (ep, s2, "t,o(b)", tempreg, -1,
13393 ep->X_add_number += off;
13395 macro_build (ep, s, "t,o(b)", tempreg, -1,
13407 ep->X_add_number -= off;
13409 ep->X_add_number += off;
13410 macro_build (ep, s2, "t,o(b)", tempreg, -1,
13417 ep->X_add_number += off;
13419 ep->X_add_number -= off;
14079 expression in *EP and the relocations in the array starting
14085 my_getSmallExpression (expressionS *ep, bfd_reloc_code_real_type *reloc,
14115 my_getExpression (ep, crux);
14139 my_getExpression (expressionS *ep, char *str)
14145 expression (ep);