Lines Matching refs:cd
80 or1k_cgen_print_operand (CGEN_CPU_DESC cd, in or1k_cgen_print_operand() argument
93 print_address (cd, info, fields->f_disp26, 0|(1<<CGEN_OPERAND_PCREL_ADDR), pc, length); in or1k_cgen_print_operand()
96 print_keyword (cd, info, & or1k_cgen_opval_h_gpr, fields->f_r2, 0); in or1k_cgen_print_operand()
99 print_keyword (cd, info, & or1k_cgen_opval_h_fdr, fields->f_r1, 0); in or1k_cgen_print_operand()
102 print_keyword (cd, info, & or1k_cgen_opval_h_fsr, fields->f_r2, 0); in or1k_cgen_print_operand()
105 print_keyword (cd, info, & or1k_cgen_opval_h_gpr, fields->f_r3, 0); in or1k_cgen_print_operand()
108 print_keyword (cd, info, & or1k_cgen_opval_h_fdr, fields->f_r1, 0); in or1k_cgen_print_operand()
111 print_keyword (cd, info, & or1k_cgen_opval_h_fsr, fields->f_r3, 0); in or1k_cgen_print_operand()
114 print_keyword (cd, info, & or1k_cgen_opval_h_gpr, fields->f_r1, 0); in or1k_cgen_print_operand()
117 print_keyword (cd, info, & or1k_cgen_opval_h_fdr, fields->f_r1, 0); in or1k_cgen_print_operand()
120 print_keyword (cd, info, & or1k_cgen_opval_h_fsr, fields->f_r1, 0); in or1k_cgen_print_operand()
123 …print_normal (cd, info, fields->f_simm16, 0|(1<<CGEN_OPERAND_SIGNED)|(1<<CGEN_OPERAND_SIGN_OPT), p… in or1k_cgen_print_operand()
126 …print_normal (cd, info, fields->f_simm16_split, 0|(1<<CGEN_OPERAND_SIGNED)|(1<<CGEN_OPERAND_SIGN_O… in or1k_cgen_print_operand()
129 print_normal (cd, info, fields->f_uimm16, 0, pc, length); in or1k_cgen_print_operand()
132 print_normal (cd, info, fields->f_uimm16_split, 0|(1<<CGEN_OPERAND_VIRTUAL), pc, length); in or1k_cgen_print_operand()
135 print_normal (cd, info, fields->f_uimm6, 0, pc, length); in or1k_cgen_print_operand()
153 or1k_cgen_init_dis (CGEN_CPU_DESC cd) in or1k_cgen_init_dis() argument
155 or1k_cgen_init_opcode_table (cd); in or1k_cgen_init_dis()
156 or1k_cgen_init_ibld_table (cd); in or1k_cgen_init_dis()
157 cd->print_handlers = & or1k_cgen_print_handlers[0]; in or1k_cgen_init_dis()
158 cd->print_operand = or1k_cgen_print_operand; in or1k_cgen_init_dis()
165 print_normal (CGEN_CPU_DESC cd ATTRIBUTE_UNUSED, in print_normal()
186 print_address (CGEN_CPU_DESC cd ATTRIBUTE_UNUSED, in print_address()
211 print_keyword (CGEN_CPU_DESC cd ATTRIBUTE_UNUSED, in print_keyword()
233 print_insn_normal (CGEN_CPU_DESC cd, in print_insn_normal() argument
244 CGEN_INIT_PRINT (cd); in print_insn_normal()
260 or1k_cgen_print_operand (cd, CGEN_SYNTAX_FIELD (*syn), info, in print_insn_normal()
270 read_insn (CGEN_CPU_DESC cd ATTRIBUTE_UNUSED, in read_insn()
301 print_insn (CGEN_CPU_DESC cd, in print_insn() argument
313 basesize = cd->base_insn_bitsize < buflen * 8 ? in print_insn()
314 cd->base_insn_bitsize : buflen * 8; in print_insn()
315 insn_value = cgen_get_insn_value (cd, buf, basesize); in print_insn()
328 insn_list = CGEN_DIS_LOOKUP_INSN (cd, (char *) buf, insn_value); in print_insn()
339 if (! or1k_cgen_insn_supported (cd, insn)) in print_insn()
368 if (((unsigned) CGEN_INSN_BITSIZE (insn) > cd->base_insn_bitsize) && in print_insn()
372 int rc = read_insn (cd, pc, info, buf, in print_insn()
377 length = CGEN_EXTRACT_FN (cd, insn) in print_insn()
378 (cd, insn, &ex_info, full_insn_value, &fields, pc); in print_insn()
381 length = CGEN_EXTRACT_FN (cd, insn) in print_insn()
382 (cd, insn, &ex_info, insn_value_cropped, &fields, pc); in print_insn()
389 CGEN_PRINT_FN (cd, insn) (cd, info, insn, &fields, pc, length); in print_insn()
410 default_print_insn (CGEN_CPU_DESC cd, bfd_vma pc, disassemble_info *info) in default_print_insn() argument
417 buflen = cd->base_insn_bitsize / 8; in default_print_insn()
421 if (status != 0 && (cd->min_insn_bitsize < cd->base_insn_bitsize)) in default_print_insn()
423 buflen = cd->min_insn_bitsize / 8; in default_print_insn()
433 return print_insn (cd, pc, info, buf, buflen); in default_print_insn()
446 CGEN_CPU_DESC cd; member
454 static CGEN_CPU_DESC cd = 0; in print_insn_or1k() local
497 if (cd in print_insn_or1k()
502 cd = 0; in print_insn_or1k()
509 cd = cl->cd; in print_insn_or1k()
510 prev_isa = cd->isas; in print_insn_or1k()
517 if (! cd) in print_insn_or1k()
529 cd = or1k_cgen_cpu_open (CGEN_CPU_OPEN_ISAS, prev_isa, in print_insn_or1k()
533 if (!cd) in print_insn_or1k()
538 cl->cd = cd; in print_insn_or1k()
545 or1k_cgen_init_dis (cd); in print_insn_or1k()
553 length = CGEN_PRINT_INSN (cd, pc, info); in print_insn_or1k()
560 return cd->default_insn_bitsize / 8; in print_insn_or1k()