Lines Matching refs:mo

2105 micromips_insn_length (const struct mips_opcode *mo)  in micromips_insn_length()  argument
2107 return (mo->mask >> 16) == 0 ? 2 : 4; in micromips_insn_length()
2134 create_insn (struct mips_cl_insn *insn, const struct mips_opcode *mo) in create_insn() argument
2138 insn->insn_mo = mo; in create_insn()
2139 insn->insn_opcode = mo->match; in create_insn()
3206 is_opcode_valid (const struct mips_opcode *mo) in is_opcode_valid() argument
3218 if (!opcode_is_member (mo, isa, ase, mips_opts.arch)) in is_opcode_valid()
3224 if (mo->pinfo == INSN_MACRO) in is_opcode_valid()
3226 fp_s = mo->pinfo2 & INSN2_M_FP_S; in is_opcode_valid()
3227 fp_d = mo->pinfo2 & INSN2_M_FP_D; in is_opcode_valid()
3231 fp_s = mo->pinfo & FP_S; in is_opcode_valid()
3232 fp_d = mo->pinfo & FP_D; in is_opcode_valid()
3248 is_opcode_valid_16 (const struct mips_opcode *mo) in is_opcode_valid_16() argument
3250 return opcode_is_member (mo, mips_opts.isa, 0, mips_opts.arch); in is_opcode_valid_16()
3257 is_size_valid (const struct mips_opcode *mo) in is_size_valid() argument
3264 if (mo->pinfo != INSN_MACRO && micromips_insn_length (mo) != 4) in is_size_valid()
3266 if ((mo->pinfo2 & INSN2_BRANCH_DELAY_16BIT) != 0) in is_size_valid()
3271 if (mo->pinfo == INSN_MACRO) in is_size_valid()
3273 return forced_insn_length == micromips_insn_length (mo); in is_size_valid()
3291 is_delay_slot_valid (const struct mips_opcode *mo) in is_delay_slot_valid() argument
3296 if (mo->pinfo == INSN_MACRO) in is_delay_slot_valid()
3299 && micromips_insn_length (mo) != 4) in is_delay_slot_valid()
3302 && micromips_insn_length (mo) != 2) in is_delay_slot_valid()
6297 fix_24k_align_to (const struct mips_opcode *mo) in fix_24k_align_to() argument
6299 if (strcmp (mo->name, "sh") == 0) in fix_24k_align_to()
6302 if (strcmp (mo->name, "swc1") == 0 in fix_24k_align_to()
6303 || strcmp (mo->name, "swc2") == 0 in fix_24k_align_to()
6304 || strcmp (mo->name, "sw") == 0 in fix_24k_align_to()
6305 || strcmp (mo->name, "sc") == 0 in fix_24k_align_to()
6306 || strcmp (mo->name, "s.s") == 0) in fix_24k_align_to()
6309 if (strcmp (mo->name, "sdc1") == 0 in fix_24k_align_to()
6310 || strcmp (mo->name, "sdc2") == 0 in fix_24k_align_to()
6311 || strcmp (mo->name, "s.d") == 0) in fix_24k_align_to()
6841 const struct mips_opcode *mo, *end; in find_altered_mips16_opcode() local
6844 for (mo = ip->insn_mo; mo < end; mo++) in find_altered_mips16_opcode()
6845 if ((ip->insn_opcode & mo->mask) == mo->match) in find_altered_mips16_opcode()
6847 ip->insn_mo = mo; in find_altered_mips16_opcode()
8441 const struct mips_opcode *mo = NULL; in macro_build() local
8484 mo = amo; in macro_build()
8487 else if (!mo) in macro_build()
8488 mo = amo; in macro_build()
8496 gas_assert (mo); in macro_build()
8497 create_insn (&insn, mo); in macro_build()
8596 struct mips_opcode *mo; in mips16_macro_build() local
8602 mo = (struct mips_opcode *) hash_find (mips16_op_hash, name); in mips16_macro_build()
8603 gas_assert (mo); in mips16_macro_build()
8604 gas_assert (strcmp (name, mo->name) == 0); in mips16_macro_build()
8606 while (strcmp (fmt, mo->args) != 0 || mo->pinfo == INSN_MACRO) in mips16_macro_build()
8608 ++mo; in mips16_macro_build()
8609 gas_assert (mo->name); in mips16_macro_build()
8610 gas_assert (strcmp (name, mo->name) == 0); in mips16_macro_build()
8613 create_insn (&insn, mo); in mips16_macro_build()