Lines Matching refs:opno

1320 		     char *str, int opc_len, unsigned int opno)  in tic6x_parse_operand()  argument
1621 " not a valid even/odd pair"), opno, in tic6x_parse_operand()
1676 as_bad (_("junk after operand %u of '%.*s'"), opno, in tic6x_parse_operand()
1690 opno, opc_len, str); in tic6x_parse_operand()
1696 opno, opc_len, str); in tic6x_parse_operand()
1701 opno, opc_len, str); in tic6x_parse_operand()
1706 opno, opc_len, str); in tic6x_parse_operand()
1711 opno, opc_len, str); in tic6x_parse_operand()
2495 unsigned int opno; in tic6x_try_encode() local
2507 opno = opct->variable_fields[fld].operand_num; in tic6x_try_encode()
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()
2521 as_bad (_("operand %u of '%.*s' out of range"), opno + 1, 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()
2552 as_bad (_("operand %u of '%.*s' out of range"), opno + 1, 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()
2570 as_bad (_("operand %u of '%.*s' out of range"), opno + 1, 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()
2615 "divisible by %u"), opno + 1, opc_len, 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()
2819 scale = opct->operand_info[opno].size; in tic6x_try_encode()
2832 opno + 1, opc_len, str); in tic6x_try_encode()
2841 opno + 1, opc_len, str, scale); 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()
2865 opno + 1, opc_len, str); 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()
2937 for (opno = 0; opno < num_operands; opno++) 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()
2947 "%u of '%.*s'"), opno + 1, opc_len, str); 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()
3000 as_bad (_("operand %u of '%.*s' out of range"), opno + 1, 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()
3019 as_bad (_("operand %u of '%.*s' out of range"), opno + 1, in tic6x_try_encode()
3024 value = operands[opno].value.exp.X_add_number; in tic6x_try_encode()
3051 as_bad (_("operand %u of '%.*s' out of range"), opno + 1, in tic6x_try_encode()