Lines Matching refs:uval

2372 		     const struct mips_operand *operand, unsigned int uval)  in insn_insert_operand()  argument
2377 insn->insn_opcode |= mips16_immed_extend (uval, operand->size); in insn_insert_operand()
2379 insn->insn_opcode = mips_insert_operand (operand, insn->insn_opcode, uval); in insn_insert_operand()
4639 unsigned int uval, vsel; in operand_reg_mask() local
4669 uval = insn_extract_operand (insn, operand); in operand_reg_mask()
4670 return 1u << mips_decode_reg_operand (reg_op, uval); in operand_reg_mask()
4680 uval = insn_extract_operand (insn, operand); in operand_reg_mask()
4681 return (1u << pair_op->reg1_map[uval]) | (1u << pair_op->reg2_map[uval]); in operand_reg_mask()
4687 uval = insn_extract_operand (insn, operand); in operand_reg_mask()
4688 return (1u << (uval & 31)) | (1u << (uval >> 5)); in operand_reg_mask()
4693 uval = insn_extract_operand (insn, operand); in operand_reg_mask()
4694 gas_assert ((uval & 31) == (uval >> 5)); in operand_reg_mask()
4695 return 1u << (uval & 31); in operand_reg_mask()
4701 uval = insn_extract_operand (insn, operand); in operand_reg_mask()
4702 return 1u << (uval & 31); in operand_reg_mask()
4713 uval = insn_extract_operand (insn, operand); in operand_reg_mask()
4714 vsel = uval >> 5; in operand_reg_mask()
4717 return 1u << (uval & 31); in operand_reg_mask()
5206 unsigned int uval; in match_int_operand() local
5282 uval = (unsigned int) sval >> operand->shift; in match_int_operand()
5283 uval -= operand->bias; in match_int_operand()
5290 switch (uval) in match_int_operand()
5305 uval = 28; in match_int_operand()
5309 insn_insert_operand (arg->insn, operand_base, uval); in match_int_operand()
5320 unsigned int uval, num_vals; in match_mapped_int_operand() local
5328 for (uval = 0; uval < num_vals; uval++) in match_mapped_int_operand()
5329 if (operand->int_map[uval] == sval) in match_mapped_int_operand()
5331 if (uval == num_vals) in match_mapped_int_operand()
5337 insn_insert_operand (arg->insn, operand_base, uval); in match_mapped_int_operand()
5378 unsigned int regno, uval, num_vals; in match_reg_operand() local
5387 for (uval = 0; uval < num_vals; uval++) in match_reg_operand()
5388 if (operand->reg_map[uval] == regno) in match_reg_operand()
5390 if (num_vals == uval) in match_reg_operand()
5394 uval = regno; in match_reg_operand()
5399 insn_insert_operand (arg->insn, operand_base, uval); in match_reg_operand()
5410 unsigned int regno1, regno2, uval, num_vals; in match_reg_pair_operand() local
5419 for (uval = 0; uval < num_vals; uval++) in match_reg_pair_operand()
5420 if (operand->reg1_map[uval] == regno1 && operand->reg2_map[uval] == regno2) in match_reg_pair_operand()
5422 if (uval == num_vals) in match_reg_pair_operand()
5425 insn_insert_operand (arg->insn, operand_base, uval); in match_reg_pair_operand()
5471 unsigned int uval; in match_addiusp_operand() local
5489 uval = (unsigned int) sval; in match_addiusp_operand()
5490 uval = ((uval >> 1) & ~0xff) | (uval & 0xff); in match_addiusp_operand()
5491 insn_insert_operand (arg->insn, operand, uval); in match_addiusp_operand()
5894 unsigned int regno, uval; in match_mdmx_imm_reg_operand() local
5901 uval = mips_extract_operand (operand, opcode->match); in match_mdmx_imm_reg_operand()
5902 is_qh = (uval != 0); in match_mdmx_imm_reg_operand()
5927 uval |= arg->token->u.index << (is_qh ? 2 : 1) << 5; in match_mdmx_imm_reg_operand()
5943 uval |= MDMX_FMTSEL_VEC_QH << 5; in match_mdmx_imm_reg_operand()
5945 uval |= MDMX_FMTSEL_VEC_OB << 5; in match_mdmx_imm_reg_operand()
5947 uval |= regno; in match_mdmx_imm_reg_operand()
5960 uval |= (sval & 31); in match_mdmx_imm_reg_operand()
5962 uval |= MDMX_FMTSEL_IMM_QH << 5; in match_mdmx_imm_reg_operand()
5964 uval |= MDMX_FMTSEL_IMM_OB << 5; in match_mdmx_imm_reg_operand()
5966 insn_insert_operand (arg->insn, operand, uval); in match_mdmx_imm_reg_operand()
6242 unsigned int uval; in match_vu0_suffix_operand() local
6252 uval = arg->token->u.channels; in match_vu0_suffix_operand()
6256 if ((uval & -uval) != uval) in match_vu0_suffix_operand()
6258 uval = 4 - ffs (uval); in match_vu0_suffix_operand()
6261 if (match_p && insn_extract_operand (arg->insn, operand) != uval) in match_vu0_suffix_operand()
6266 insn_insert_operand (arg->insn, operand, uval); in match_vu0_suffix_operand()
9102 unsigned int uval; in macro_build() local
9249 uval = va_arg (args, int); in macro_build()
9251 uval |= (uval << 5); in macro_build()
9252 insn_insert_operand (&insn, operand, uval); in macro_build()
14630 unsigned int uval, length; in mips16_immed() local
14658 uval = ((unsigned int) val >> operand->shift) - operand->bias; in mips16_immed()
14660 *insn = mips_insert_operand (&operand->root, *insn, uval); in mips16_immed()
14662 *insn |= mips16_immed_extend (uval, operand->root.size); in mips16_immed()