Lines Matching defs:ex

3719 normalize_constant_expr (expressionS *ex)
3721 if (ex->X_op == O_constant
3722 && IS_ZEXT_32BIT_NUM (ex->X_add_number))
3723 ex->X_add_number = (((ex->X_add_number & 0xffffffff) ^ 0x80000000)
3732 normalize_address_expr (expressionS *ex)
3734 if (((ex->X_op == O_constant && HAVE_32BIT_ADDRESSES)
3735 || (ex->X_op == O_symbol && HAVE_32BIT_SYMBOLS))
3736 && IS_ZEXT_32BIT_NUM (ex->X_add_number))
3737 ex->X_add_number = (((ex->X_add_number & 0xffffffff) ^ 0x80000000)
3876 check_absolute_expr (struct mips_cl_insn *ip, expressionS *ex)
3878 if (ex->X_op == O_big)
3880 else if (ex->X_op != O_constant)
3885 normalize_constant_expr (ex);
4304 expressionS ex;
4322 ex.X_add_number = ep->X_add_number;
4327 if (ex.X_add_number < -0x8000 || ex.X_add_number >= 0x8000)
4329 ex.X_op = O_constant;
4330 macro_build (&ex, ADDRESS_ADDI_INSN, "t,r,j",
4332 ep->X_add_number = ex.X_add_number;
4342 ex.X_add_number = ep->X_add_number;
4353 if (ex.X_add_number != 0)
4355 if (ex.X_add_number < -0x8000 || ex.X_add_number >= 0x8000)
4357 ex.X_op = O_constant;
4358 macro_build (&ex, ADDRESS_ADDI_INSN, "t,r,j",
4365 expressionS ex;
4385 ex.X_add_number = ep->X_add_number;
4393 if (ex.X_add_number < -0x8000 || ex.X_add_number >= 0x8000)
4395 else if (ex.X_add_number)
4397 ex.X_op = O_constant;
4398 macro_build (&ex, ADDRESS_ADDI_INSN, "t,r,j", reg, reg,
4402 ep->X_add_number = ex.X_add_number;
4412 ex.X_add_number = ep->X_add_number;
4436 if (ex.X_add_number != 0)
4438 if (ex.X_add_number < -0x8000 || ex.X_add_number >= 0x8000)
4440 ex.X_op = O_constant;
4441 macro_build (&ex, ADDRESS_ADDI_INSN, "t,r,j", reg, reg,
13028 expressionS ex;
13050 ex.X_op = O_symbol;
13051 ex.X_add_symbol = symbol_find_or_make (in_shared ? "_gp_disp" :
13053 ex.X_op_symbol = NULL;
13054 ex.X_add_number = 0;
13057 symbol_get_bfdsym (ex.X_add_symbol)->flags |= BSF_OBJECT;
13060 macro_build_lui (&ex, mips_gp_register);
13061 macro_build (&ex, "addiu", "t,r,j", mips_gp_register,
13167 expressionS ex;
13169 ex.X_op = O_symbol;
13170 ex.X_add_symbol = symbol_find_or_make ("__gnu_local_gp");
13171 ex.X_op_symbol = NULL;
13172 ex.X_add_number = 0;
13175 symbol_get_bfdsym (ex.X_add_symbol)->flags |= BSF_OBJECT;
13177 macro_build_lui (&ex, mips_gp_register);
13178 macro_build (&ex, "addiu", "t,r,j", mips_gp_register,
13209 expressionS ex;
13222 ex.X_op = O_constant;
13223 ex.X_add_symbol = NULL;
13224 ex.X_op_symbol = NULL;
13225 ex.X_add_number = mips_cprestore_offset;
13228 macro_build_ldst_constoffset (&ex, ADDRESS_STORE_INSN, mips_gp_register,
13245 expressionS ex;
13258 ex.X_op = O_constant;
13259 ex.X_add_symbol = NULL;
13260 ex.X_op_symbol = NULL;
13261 ex.X_add_number = mips_cpreturn_offset;
13263 macro_build (&ex, "ld", "t,o(b)", mips_gp_register, BFD_RELOC_LO16, SP);
13280 expressionS ex;
13283 expression (&ex);
13285 if (ex.X_op != O_symbol)
13295 fix_new_exp (frag_now, p - frag_now->fr_literal, bytes, &ex, FALSE,
13347 expressionS ex;
13365 expression (&ex);
13367 if (ex.X_op != O_symbol || ex.X_add_number != 0)
13375 fix_new_exp (frag_now, p - frag_now->fr_literal, 4, &ex, FALSE,
13387 expressionS ex;
13405 expression (&ex);
13407 if (ex.X_op != O_symbol || ex.X_add_number != 0)
13415 fix_new_exp (frag_now, p - frag_now->fr_literal, 4, &ex, FALSE,