Lines Matching refs:operands

2460 tic6x_try_encode (tic6x_opcode_id id, tic6x_operand *operands,  in tic6x_try_encode()  argument
2511 if (operands[opno].form != TIC6X_OP_EXP) in tic6x_try_encode()
2513 if (operands[opno].value.exp.X_op != O_constant) in tic6x_try_encode()
2515 ucexp = operands[opno].value.exp; in tic6x_try_encode()
2530 if (operands[opno].form != TIC6X_OP_EXP) in tic6x_try_encode()
2532 if (operands[opno].value.exp.X_op != O_constant) in tic6x_try_encode()
2540 *fix_exp = &operands[opno].value.exp; in tic6x_try_encode()
2546 sign_value = SEXT (operands[opno].value.exp.X_add_number); in tic6x_try_encode()
2562 if (operands[opno].form != TIC6X_OP_EXP) in tic6x_try_encode()
2564 if (operands[opno].value.exp.X_op != O_constant) in tic6x_try_encode()
2566 if (operands[opno].value.exp.X_add_number <= 0 in tic6x_try_encode()
2567 || operands[opno].value.exp.X_add_number > (1 << fldd->bitfields[0].width)) in tic6x_try_encode()
2575 value = operands[opno].value.exp.X_add_number - 1; in tic6x_try_encode()
2579 if (operands[opno].form != TIC6X_OP_EXP) in tic6x_try_encode()
2581 if (operands[opno].value.exp.X_op != O_constant) in tic6x_try_encode()
2583 sign_value = SEXT (-operands[opno].value.exp.X_add_number); in tic6x_try_encode()
2590 switch (operands[opno].form) in tic6x_try_encode()
2593 if (operands[opno].value.exp.X_op == O_constant) in tic6x_try_encode()
2595 ucexp = operands[opno].value.exp; in tic6x_try_encode()
2598 expp = &operands[opno].value.exp; in tic6x_try_encode()
2602 mem = operands[opno].value.mem; in tic6x_try_encode()
2626 if (operands[opno].value.mem.mod == tic6x_mem_mod_none in tic6x_try_encode()
2627 || operands[opno].value.mem.scaled != tic6x_offset_unscaled in tic6x_try_encode()
2628 || operands[opno].value.mem.offset_is_reg) in tic6x_try_encode()
2630 expp = &operands[opno].value.mem.offset.exp; in tic6x_try_encode()
2650 if (operands[opno].form == TIC6X_OP_EXP) in tic6x_try_encode()
2657 if (operands[opno].form != TIC6X_OP_EXP) in tic6x_try_encode()
2659 if (operands[opno].value.exp.X_op == O_constant) in tic6x_try_encode()
2660 value = operands[opno].value.exp.X_add_number & 0xffff; in tic6x_try_encode()
2669 *fix_exp = &operands[opno].value.exp; in tic6x_try_encode()
2677 if (operands[opno].form != TIC6X_OP_EXP) in tic6x_try_encode()
2679 if (operands[opno].value.exp.X_op == O_constant) in tic6x_try_encode()
2680 value = (operands[opno].value.exp.X_add_number >> 16) & 0xffff; in tic6x_try_encode()
2689 *fix_exp = &operands[opno].value.exp; in tic6x_try_encode()
2698 if (operands[opno].form != TIC6X_OP_EXP) in tic6x_try_encode()
2702 *fix_exp = &operands[opno].value.exp; in tic6x_try_encode()
2720 switch (operands[opno].form) in tic6x_try_encode()
2723 value = operands[opno].value.reg.num; in tic6x_try_encode()
2732 switch (operands[opno].form) in tic6x_try_encode()
2735 value = operands[opno].value.reg.num + 1; in tic6x_try_encode()
2744 switch (operands[opno].form) in tic6x_try_encode()
2748 value = operands[opno].value.reg.num; in tic6x_try_encode()
2753 value = operands[opno].value.mem.base_reg.num; in tic6x_try_encode()
2762 switch (operands[opno].form) in tic6x_try_encode()
2765 value = (operands[opno].value.reg.num == 15 ? 1 : 0); in tic6x_try_encode()
2769 value = (operands[opno].value.mem.base_reg.num == 15 ? 1 : 0); in tic6x_try_encode()
2778 if (operands[opno].form != TIC6X_OP_CTRL) in tic6x_try_encode()
2780 value = tic6x_ctrl_table[operands[opno].value.ctrl].crlo; in tic6x_try_encode()
2784 if (operands[opno].form != TIC6X_OP_CTRL) in tic6x_try_encode()
2790 if (operands[opno].form != TIC6X_OP_REGPAIR) in tic6x_try_encode()
2792 value = operands[opno].value.reg.num >> 1; in tic6x_try_encode()
2796 if (operands[opno].form != TIC6X_OP_MEM_NOUNREG) in tic6x_try_encode()
2798 mem = operands[opno].value.mem; in tic6x_try_encode()
2850 if (operands[opno].form != TIC6X_OP_MEM_UNREG) in tic6x_try_encode()
2852 mem = operands[opno].value.mem; in tic6x_try_encode()
2874 if (operands[opno].form != TIC6X_OP_MEM_NOUNREG in tic6x_try_encode()
2875 && operands[opno].form != TIC6X_OP_MEM_UNREG) in tic6x_try_encode()
2877 mem = operands[opno].value.mem; in tic6x_try_encode()
2912 if (operands[opno].form != TIC6X_OP_MEM_UNREG) in tic6x_try_encode()
2914 mem = operands[opno].value.mem; in tic6x_try_encode()
2941 v = tic6x_encode_spmask (operands[opno].value.func_unit.base, in tic6x_try_encode()
2942 operands[opno].value.func_unit.side); in tic6x_try_encode()
2963 if (operands[opno].form != TIC6X_OP_EXP) in tic6x_try_encode()
2965 if (operands[opno].value.exp.X_op != O_constant) in tic6x_try_encode()
2995 if (operands[opno].value.exp.X_add_number < 0 in tic6x_try_encode()
2996 || (operands[opno].value.exp.X_add_number in tic6x_try_encode()
3005 value = operands[opno].value.exp.X_add_number; in tic6x_try_encode()
3015 if (operands[opno].value.exp.X_add_number < 0 in tic6x_try_encode()
3016 || (operands[opno].value.exp.X_add_number >= sploop_ii)) in tic6x_try_encode()
3024 value = operands[opno].value.exp.X_add_number; in tic6x_try_encode()
3145 tic6x_operand operands[TIC6X_MAX_SOURCE_OPERANDS]; in md_assemble() local
3386 if (!tic6x_parse_operand (&p, &operands[num_operands_read], in md_assemble()
3454 if (operands[i].form != cf) in md_assemble()
3459 = tic6x_operand_matches_form (&operands[i], f, rw, in md_assemble()
3568 if (tic6x_operand_matches_form (&operands[j], f, rw, in md_assemble()
3622 opcode_value = tic6x_try_encode (opcm[opc_rank[try_rank]], operands, in md_assemble()
3720 || operands[0].form != TIC6X_OP_EXP in md_assemble()
3721 || operands[0].value.exp.X_op != O_constant) in md_assemble()
3724 = operands[0].value.exp.X_add_number; in md_assemble()