Lines Matching refs:cd
117 parse_csrn (CGEN_CPU_DESC cd, const char **strp,
123 err = cgen_parse_keyword (cd, strp, keyword_table, field);
127 err = cgen_parse_unsigned_integer (cd, strp, MEP_OPERAND_CSRN_IDX, & value);
141 parse_ivc2_cr (CGEN_CPU_DESC cd,
146 return cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_cr_ivc2, field);
154 parse_ivc2_ccr (CGEN_CPU_DESC cd,
159 return cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_ccr_ivc2, field);
164 parse_tpreg (CGEN_CPU_DESC cd, const char ** strp,
169 err = cgen_parse_keyword (cd, strp, keyword_table, field);
178 parse_spreg (CGEN_CPU_DESC cd, const char ** strp,
183 err = cgen_parse_keyword (cd, strp, keyword_table, field);
192 parse_mep_align (CGEN_CPU_DESC cd, const char ** strp,
204 err = cgen_parse_signed_integer (cd, strp, type, field);
212 err = cgen_parse_unsigned_integer (cd, strp, type, (unsigned long *) field);
249 parse_mep_alignu (CGEN_CPU_DESC cd, const char ** strp,
252 return parse_mep_align (cd, strp, type, (long *) field);
260 parse_signed16 (CGEN_CPU_DESC cd,
265 return parse_lo16 (cd, strp, opindex, valuep, 1);
269 parse_lo16 (CGEN_CPU_DESC cd,
282 errmsg = cgen_parse_address (cd, strp, opindex, BFD_RELOC_MEP_LOW16,
300 errmsg = cgen_parse_address (cd, strp, opindex, BFD_RELOC_MEP_HI16S,
315 errmsg = cgen_parse_address (cd, strp, opindex, BFD_RELOC_MEP_HI16U,
330 errmsg = cgen_parse_address (cd, strp, opindex, BFD_RELOC_MEP_GPREL,
342 errmsg = cgen_parse_address (cd, strp, opindex, BFD_RELOC_MEP_TPREL,
354 return cgen_parse_signed_integer (cd, strp, opindex, valuep);
358 parse_unsigned16 (CGEN_CPU_DESC cd,
363 return parse_lo16 (cd, strp, opindex, (long *) valuep, 0);
367 parse_signed16_range (CGEN_CPU_DESC cd,
375 errmsg = cgen_parse_signed_integer (cd, strp, opindex, & value);
387 parse_unsigned16_range (CGEN_CPU_DESC cd,
395 errmsg = cgen_parse_unsigned_integer (cd, strp, opindex, & value);
409 parse_zero (CGEN_CPU_DESC cd, const char **strp, int opindex, long *valuep)
426 errmsg = cgen_parse_address (cd, strp, opindex, BFD_RELOC_MEP_LOW16,
441 errmsg = cgen_parse_address (cd, strp, opindex, BFD_RELOC_MEP_HI16S,
456 errmsg = cgen_parse_address (cd, strp, opindex, BFD_RELOC_MEP_HI16U,
471 errmsg = cgen_parse_address (cd, strp, opindex, BFD_RELOC_MEP_GPREL,
486 errmsg = cgen_parse_address (cd, strp, opindex, BFD_RELOC_MEP_TPREL,
501 errmsg = cgen_parse_address (cd, strp, opindex, BFD_RELOC_NONE,
511 parse_unsigned7 (CGEN_CPU_DESC cd, const char **strp,
538 errmsg = cgen_parse_address (cd, strp, opindex, reloc,
550 return parse_mep_alignu (cd, strp, opindex, valuep);
554 parse_cdisp10 (CGEN_CPU_DESC cd,
586 errmsg = cgen_parse_signed_integer (cd, strp, opindex, & value);
827 mep_cgen_expand_macros_and_parse_operand (CGEN_CPU_DESC cd, int opindex,
841 errmsg = mep_cgen_parse_operand (cd, opindex, strp, fields);
863 #define CGEN_ASM_INIT_HOOK (cd->parse_operand = mep_cgen_expand_macros_and_parse_operand);
876 print_tpreg (CGEN_CPU_DESC cd ATTRIBUTE_UNUSED, PTR dis_info,
886 print_spreg (CGEN_CPU_DESC cd ATTRIBUTE_UNUSED, PTR dis_info,
903 print_ivc2_cr (CGEN_CPU_DESC cd,
909 print_keyword (cd, dis_info, & mep_cgen_opval_h_cr_ivc2, value, attrs);
918 print_ivc2_ccr (CGEN_CPU_DESC cd,
924 print_keyword (cd, dis_info, & mep_cgen_opval_h_ccr_ivc2, value, attrs);
936 mep_print_vliw_insns (CGEN_CPU_DESC cd, bfd_vma pc, disassemble_info *info,
954 cd->isas = & MEP_CORE_ISA;
956 my_status = print_insn (cd, pc, info, insnbuf, corelength);
988 cd->isas = & MEP_COP16_ISA;
991 cd->isas = & MEP_COP32_ISA;
994 cd->isas = & MEP_COP48_ISA;
997 cd->isas = & MEP_COP64_ISA;
1004 my_status = print_insn (cd, pc, info, insnbuf, copro1length);
1035 cd->isas = 1 << ISA_EXT_COP1_16;
1038 cd->isas = 1 << ISA_EXT_COP1_32;
1041 cd->isas = 1 << ISA_EXT_COP1_48;
1044 cd->isas = 1 << ISA_EXT_COP1_64;
1051 my_status = print_insn (cd, pc, info, insnbuf, copro2length);
1098 mep_examine_vliw32_insns (CGEN_CPU_DESC cd, bfd_vma pc, disassemble_info *info)
1166 status = mep_print_vliw_insns (cd, pc, info, buf, corebuflength,
1173 mep_examine_vliw64_insns (CGEN_CPU_DESC cd, bfd_vma pc, disassemble_info *info)
1255 status = mep_print_vliw_insns (cd, pc, info, buf, corebuflength,
1264 print_slot_insn (CGEN_CPU_DESC cd,
1274 insn_value = cgen_get_insn_value (cd, buf, 32);
1286 insn_list = CGEN_DIS_LOOKUP_INSN (cd, (char *) buf, insn_value);
1308 length = CGEN_EXTRACT_FN (cd, insn)
1309 (cd, insn, &ex_info, insn_value, &fields, pc);
1316 CGEN_PRINT_FN (cd, insn) (cd, info, insn, &fields, pc, length);
1337 mep_examine_ivc2_insns (CGEN_CPU_DESC cd ATTRIBUTE_UNUSED, bfd_vma pc ATTRIBUTE_UNUSED, disassemble_info *info ATTRIBUTE_UNUSED)
1365 print_insn (cd, pc, info, buf, 2);
1372 print_slot_insn (cd, pc, info, SLOTS_P0S, insn);
1379 print_slot_insn (cd, pc, info, SLOTS_P1, insn);
1391 print_slot_insn (cd, pc, info, SLOTS_P0, insn);
1398 print_slot_insn (cd, pc, info, SLOTS_P1, insn);
1404 print_insn (cd, pc, info, buf, 4);
1411 print_slot_insn (cd, pc, info, SLOTS_P1, insn);
1435 mep_print_insn (CGEN_CPU_DESC cd, bfd_vma pc, disassemble_info *info)
1471 cd->isas = & MEP_CORE_ISA;
1472 status = mep_examine_ivc2_insns (cd, pc, info);
1478 status = mep_examine_vliw64_insns (cd, pc, info);
1480 status = mep_examine_vliw32_insns (cd, pc, info);
1490 cd->isas = ivc2_core_isa;
1493 cd->isas = & MEP_CORE_ISA;
1494 status = default_print_insn (cd, pc, info);
1504 cd->isas = & MEP_CORE_ISA;
1505 status = mep_examine_ivc2_insns (cd, pc, info);
1511 cd->isas = ivc2_core_isa;
1516 status = default_print_insn (cd, pc, info);
1630 mep_cgen_insn_supported (CGEN_CPU_DESC cd, const CGEN_INSN *insn)
1648 ok1 = ((machs & cd->machs) && cgen_bitset_intersect_p (& isas, cd->isas));
1658 mep_cgen_insn_supported_asm (CGEN_CPU_DESC cd, const CGEN_INSN *insn)
1664 && cgen_bitset_contains (cd->isas, ISA_EXT_COP1_64))
1668 return mep_cgen_insn_supported (cd, insn);