Home | History | Annotate | Download | only in opcodes

Lines Matching refs:cd

81 insert_1 (CGEN_CPU_DESC cd,
91 x = cgen_get_insn_value (cd, bufp, word_length);
101 cgen_put_insn_value (cd, bufp, word_length, (bfd_vma) x);
123 insert_normal (CGEN_CPU_DESC cd,
146 if (cd->min_insn_bitsize < cd->base_insn_bitsize)
192 if (! cgen_signed_overflow_ok_p (cd))
225 insert_1 (cd, value, start, length, word_length, bufp);
241 insert_insn_normal (CGEN_CPU_DESC cd,
251 CGEN_INIT_INSERT (cd);
259 put_insn_int_value (cd, buffer, cd->base_insn_bitsize,
264 cgen_put_insn_value (cd, buffer, min ((unsigned) cd->base_insn_bitsize,
282 errmsg = (* cd->insert_operand) (cd, CGEN_SYNTAX_FIELD (*syn),
296 put_insn_int_value (CGEN_CPU_DESC cd ATTRIBUTE_UNUSED,
329 fill_cache (CGEN_CPU_DESC cd ATTRIBUTE_UNUSED,
373 extract_1 (CGEN_CPU_DESC cd,
384 x = cgen_get_insn_value (cd, bufp, word_length);
416 extract_normal (CGEN_CPU_DESC cd,
451 if (cd->min_insn_bitsize < cd->base_insn_bitsize)
476 if (fill_cache (cd, ex_info, word_offset / 8, word_length / 8, pc) == 0)
479 value = extract_1 (cd, ex_info, start, length, word_length, bufp, pc);
508 extract_insn_normal (CGEN_CPU_DESC cd,
520 CGEN_INIT_EXTRACT (cd);
529 length = (* cd->extract_operand) (cd, CGEN_SYNTAX_FIELD (*syn),
560 ip2k_cgen_insert_operand (CGEN_CPU_DESC cd,
572 errmsg = insert_normal (cd, fields->f_addr16cjp, 0|(1<<CGEN_IFLD_ABS_ADDR), 0, 12, 13, 16, total_length, buffer);
575 errmsg = insert_normal (cd, fields->f_imm8, 0, 0, 7, 8, 16, total_length, buffer);
578 cd, fields->f_imm8, 0, 0, 7, 8, 16, total_length, buffer);
581 errmsg = insert_normal (cd, fields->f_page3, 0, 0, 2, 3, 16, total_length, buffer);
584 errmsg = insert_normal (cd, fields->f_bitno, 0, 0, 11, 3, 16, total_length, buffer);
591 errmsg = insert_normal (cd, fields->f_reg, 0|(1<<CGEN_IFLD_ABS_ADDR), 0, 8, 9, 16, total_length, buffer);
594 errmsg = insert_normal (cd, fields->f_imm8, 0, 0, 7, 8, 16, total_length, buffer);
599 errmsg = insert_normal (cd, fields->f_reti3, 0, 0, 2, 3, 16, total_length, buffer);
633 ip2k_cgen_extract_operand (CGEN_CPU_DESC cd,
647 length = extract_normal (cd, ex_info, insn_value, 0|(1<<CGEN_IFLD_ABS_ADDR), 0, 12, 13, 16, total_length, pc, & fields->f_addr16cjp);
650 length = extract_normal (cd, ex_info, insn_value, 0, 0, 7, 8, 16, total_length, pc, & fields->f_imm8);
653 length = extract_normal (cd, ex_info, insn_value, 0, 0, 7, 8, 16, total_length, pc, & fields->f_imm8);
656 length = extract_normal (cd, ex_info, insn_value, 0, 0, 2, 3, 16, total_length, pc, & fields->f_page3);
659 length = extract_normal (cd, ex_info, insn_value, 0, 0, 11, 3, 16, total_length, pc, & fields->f_bitno);
666 length = extract_normal (cd, ex_info, insn_value, 0|(1<<CGEN_IFLD_ABS_ADDR), 0, 8, 9, 16, total_length, pc, & fields->f_reg);
669 length = extract_normal (cd, ex_info, insn_value, 0, 0, 7, 8, 16, total_length, pc, & fields->f_imm8);
674 length = extract_normal (cd, ex_info, insn_value, 0, 0, 2, 3, 16, total_length, pc, & fields->f_reti3);
708 ip2k_cgen_get_int_operand (CGEN_CPU_DESC cd ATTRIBUTE_UNUSED,
764 ip2k_cgen_get_vma_operand (CGEN_CPU_DESC cd ATTRIBUTE_UNUSED,
828 ip2k_cgen_set_int_operand (CGEN_CPU_DESC cd ATTRIBUTE_UNUSED,
877 ip2k_cgen_set_vma_operand (CGEN_CPU_DESC cd ATTRIBUTE_UNUSED,
928 ip2k_cgen_init_ibld_table (CGEN_CPU_DESC cd)
930 cd->insert_handlers = & ip2k_cgen_insert_handlers[0];
931 cd->extract_handlers = & ip2k_cgen_extract_handlers[0];
933 cd->insert_operand = ip2k_cgen_insert_operand;
934 cd->extract_operand = ip2k_cgen_extract_operand;
936 cd->get_int_operand = ip2k_cgen_get_int_operand;
937 cd->set_int_operand = ip2k_cgen_set_int_operand;
938 cd->get_vma_operand = ip2k_cgen_get_vma_operand;
939 cd->set_vma_operand = ip2k_cgen_set_vma_operand;