Home | History | Annotate | Download | only in config

Lines Matching defs:cr16_ins

857 process_label_constant (char *str, ins * cr16_ins)
866 argument *cur_arg = cr16_ins->arg + cur_arg_num; /* Current argument. */
871 expression (&cr16_ins->exp);
873 switch (cr16_ins->exp.X_op)
880 cr16_ins->exp.X_op = O_constant;
881 cr16_ins->exp.X_add_number = 0;
882 cr16_ins->exp.X_add_symbol = NULL;
883 cr16_ins->exp.X_op_symbol = NULL;
888 cur_arg->constant = cr16_ins->exp.X_add_number;
895 cur_arg->constant = cr16_ins->exp.X_add_number;
896 cr16_ins->exp.X_add_number = 0;
897 cr16_ins->rtype = BFD_RELOC_NONE;
942 cr16_ins->rtype = BFD_RELOC_CR16_GOT_REGREL20;
944 cr16_ins->rtype = BFD_RELOC_CR16_GOTC_REGREL20;
946 cr16_ins->rtype = BFD_RELOC_CR16_REGREL20;
948 cr16_ins->rtype = BFD_RELOC_CR16_REGREL20a;
956 cr16_ins->rtype = BFD_RELOC_CR16_GOT_REGREL20;
958 cr16_ins->rtype = BFD_RELOC_CR16_GOTC_REGREL20;
966 cr16_ins->rtype = BFD_RELOC_CR16_REGREL0;
970 cr16_ins->rtype = BFD_RELOC_CR16_REGREL4;
972 cr16_ins->rtype = BFD_RELOC_CR16_REGREL4a;
978 cr16_ins->rtype = BFD_RELOC_CR16_REGREL16;
982 cr16_ins->rtype = BFD_RELOC_CR16_REGREL20;
984 cr16_ins->rtype = BFD_RELOC_CR16_REGREL20a;
996 cr16_ins->rtype = BFD_RELOC_CR16_GOT_REGREL20;
998 cr16_ins->rtype = BFD_RELOC_CR16_GOTC_REGREL20;
1000 cr16_ins->rtype = BFD_RELOC_CR16_REGREL20;
1008 cr16_ins->rtype = BFD_RELOC_CR16_GOT_REGREL20;
1010 cr16_ins->rtype = BFD_RELOC_CR16_GOTC_REGREL20;
1014 case 1: cr16_ins->rtype = BFD_RELOC_CR16_REGREL0; break;
1015 case 2: cr16_ins->rtype = BFD_RELOC_CR16_REGREL14; break;
1016 case 3: cr16_ins->rtype = BFD_RELOC_CR16_REGREL20; break;
1025 cr16_ins->rtype = BFD_RELOC_CR16_DISP24;
1029 cr16_ins->rtype = BFD_RELOC_CR16_DISP24;
1031 cr16_ins->rtype = BFD_RELOC_CR16_DISP16;
1033 cr16_ins->rtype = BFD_RELOC_CR16_DISP8;
1041 cr16_ins->rtype = BFD_RELOC_CR16_GOT_REGREL20;
1043 cr16_ins->rtype = BFD_RELOC_CR16_GOTC_REGREL20;
1045 cr16_ins->rtype = BFD_RELOC_CR16_ABS20;
1047 cr16_ins->rtype = BFD_RELOC_CR16_ABS24;
1050 cr16_ins->rtype = BFD_RELOC_CR16_DISP4;
1057 cr16_ins->rtype = BFD_RELOC_CR16_GOT_REGREL20;
1059 cr16_ins->rtype = BFD_RELOC_CR16_GOTC_REGREL20;
1061 cr16_ins->rtype = BFD_RELOC_CR16_IMM4;
1063 cr16_ins->rtype = BFD_RELOC_CR16_IMM20;
1065 cr16_ins->rtype = BFD_RELOC_CR16_IMM32a;
1067 cr16_ins->rtype = BFD_RELOC_CR16_IMM32;
1071 cr16_ins->rtype = BFD_RELOC_CR16_IMM16;
1080 cur_arg->X_op = cr16_ins->exp.X_op;
1146 set_operand (char *operand, ins * cr16_ins)
1151 argument *cur_arg = &cr16_ins->arg[cur_arg_num]; /* Current argument. */
1163 process_label_constant (operandS, cr16_ins);
1176 process_label_constant (operandS, cr16_ins);
1206 process_label_constant (operandS, cr16_ins);
1237 process_label_constant (++operandE, cr16_ins);
1274 cr16_ins - Current assembled instruction. */
1277 parse_operand (char *operand, ins * cr16_ins)
1280 argument *cur_arg = cr16_ins->arg + cur_arg_num; /* Current argument. */
1373 set_operand (operand, cr16_ins);
1377 the fields in the cr16_ins data structure. */
1380 parse_operands (ins * cr16_ins, char *operands)
1436 cr16_ins->nargs = op_num;
1443 for (op_num = 0; op_num < cr16_ins->nargs; op_num++)
1446 parse_operand (operand[op_num], cr16_ins);
1477 cr16_ins - data structure holds some information.
2469 ins cr16_ins;
2483 parse_insn (&cr16_ins, param);
2486 if (assemble_insn (op, &cr16_ins) == 0)
2490 print_insn (&cr16_ins);
2500 ins cr16_ins;
2543 parse_operands (&cr16_ins, param1);
2544 if (((&cr16_ins)->arg[0].type == arg_ic)
2545 && ((&cr16_ins)->arg[0].constant >= 0))