Lines Matching refs:errmsg
276 const char *errmsg; in insert_insn_normal() local
281 errmsg = (* cd->insert_operand) (cd, CGEN_SYNTAX_FIELD (*syn), in insert_insn_normal()
283 if (errmsg) in insert_insn_normal()
284 return errmsg; in insert_insn_normal()
563 const char * errmsg = NULL; in epiphany_cgen_insert_operand() local
569 errmsg = insert_normal (cd, fields->f_addsubx, 0, 0, 20, 1, 32, total_length, buffer); in epiphany_cgen_insert_operand()
577 errmsg = insert_normal (cd, fields->f_disp3, 0, 0, 9, 3, 32, total_length, buffer); in epiphany_cgen_insert_operand()
578 if (errmsg) in epiphany_cgen_insert_operand()
580 errmsg = insert_normal (cd, fields->f_disp8, 0, 0, 23, 8, 32, total_length, buffer); in epiphany_cgen_insert_operand()
581 if (errmsg) in epiphany_cgen_insert_operand()
586 errmsg = insert_normal (cd, fields->f_disp3, 0, 0, 9, 3, 32, total_length, buffer); in epiphany_cgen_insert_operand()
589 errmsg = insert_normal (cd, fields->f_subd, 0, 0, 24, 1, 32, total_length, buffer); in epiphany_cgen_insert_operand()
592 errmsg = insert_normal (cd, fields->f_rd, 0, 0, 15, 3, 32, total_length, buffer); in epiphany_cgen_insert_operand()
600 errmsg = insert_normal (cd, fields->f_rd_x, 0, 0, 31, 3, 32, total_length, buffer); in epiphany_cgen_insert_operand()
601 if (errmsg) in epiphany_cgen_insert_operand()
603 errmsg = insert_normal (cd, fields->f_rd, 0, 0, 15, 3, 32, total_length, buffer); in epiphany_cgen_insert_operand()
604 if (errmsg) in epiphany_cgen_insert_operand()
609 errmsg = insert_normal (cd, fields->f_rm, 0, 0, 9, 3, 32, total_length, buffer); in epiphany_cgen_insert_operand()
617 errmsg = insert_normal (cd, fields->f_rm_x, 0, 0, 25, 3, 32, total_length, buffer); in epiphany_cgen_insert_operand()
618 if (errmsg) in epiphany_cgen_insert_operand()
620 errmsg = insert_normal (cd, fields->f_rm, 0, 0, 9, 3, 32, total_length, buffer); in epiphany_cgen_insert_operand()
621 if (errmsg) in epiphany_cgen_insert_operand()
626 errmsg = insert_normal (cd, fields->f_rn, 0, 0, 12, 3, 32, total_length, buffer); in epiphany_cgen_insert_operand()
634 errmsg = insert_normal (cd, fields->f_rn_x, 0, 0, 28, 3, 32, total_length, buffer); in epiphany_cgen_insert_operand()
635 if (errmsg) in epiphany_cgen_insert_operand()
637 errmsg = insert_normal (cd, fields->f_rn, 0, 0, 12, 3, 32, total_length, buffer); in epiphany_cgen_insert_operand()
638 if (errmsg) in epiphany_cgen_insert_operand()
648 errmsg = insert_normal (cd, fields->f_imm8, 0, 0, 12, 8, 32, total_length, buffer); in epiphany_cgen_insert_operand()
649 if (errmsg) in epiphany_cgen_insert_operand()
651 errmsg = insert_normal (cd, fields->f_imm_27_8, 0, 0, 27, 8, 32, total_length, buffer); in epiphany_cgen_insert_operand()
652 if (errmsg) in epiphany_cgen_insert_operand()
657 errmsg = insert_normal (cd, fields->f_imm8, 0, 0, 12, 8, 32, total_length, buffer); in epiphany_cgen_insert_operand()
660 errmsg = insert_normal (cd, fields->f_rd, 0, 0, 15, 3, 32, total_length, buffer); in epiphany_cgen_insert_operand()
668 errmsg = insert_normal (cd, fields->f_rd_x, 0, 0, 31, 3, 32, total_length, buffer); in epiphany_cgen_insert_operand()
669 if (errmsg) in epiphany_cgen_insert_operand()
671 errmsg = insert_normal (cd, fields->f_rd, 0, 0, 15, 3, 32, total_length, buffer); in epiphany_cgen_insert_operand()
672 if (errmsg) in epiphany_cgen_insert_operand()
677 errmsg = insert_normal (cd, fields->f_rm, 0, 0, 9, 3, 32, total_length, buffer); in epiphany_cgen_insert_operand()
685 errmsg = insert_normal (cd, fields->f_rm_x, 0, 0, 25, 3, 32, total_length, buffer); in epiphany_cgen_insert_operand()
686 if (errmsg) in epiphany_cgen_insert_operand()
688 errmsg = insert_normal (cd, fields->f_rm, 0, 0, 9, 3, 32, total_length, buffer); in epiphany_cgen_insert_operand()
689 if (errmsg) in epiphany_cgen_insert_operand()
694 errmsg = insert_normal (cd, fields->f_rn, 0, 0, 12, 3, 32, total_length, buffer); in epiphany_cgen_insert_operand()
702 errmsg = insert_normal (cd, fields->f_rn_x, 0, 0, 28, 3, 32, total_length, buffer); in epiphany_cgen_insert_operand()
703 if (errmsg) in epiphany_cgen_insert_operand()
705 errmsg = insert_normal (cd, fields->f_rn, 0, 0, 12, 3, 32, total_length, buffer); in epiphany_cgen_insert_operand()
706 if (errmsg) in epiphany_cgen_insert_operand()
711 errmsg = insert_normal (cd, fields->f_sd, 0, 0, 15, 3, 32, total_length, buffer); in epiphany_cgen_insert_operand()
719 errmsg = insert_normal (cd, fields->f_sd_x, 0, 0, 31, 3, 32, total_length, buffer); in epiphany_cgen_insert_operand()
720 if (errmsg) in epiphany_cgen_insert_operand()
722 errmsg = insert_normal (cd, fields->f_sd, 0, 0, 15, 3, 32, total_length, buffer); in epiphany_cgen_insert_operand()
723 if (errmsg) in epiphany_cgen_insert_operand()
733 errmsg = insert_normal (cd, fields->f_sd_x, 0, 0, 31, 3, 32, total_length, buffer); in epiphany_cgen_insert_operand()
734 if (errmsg) in epiphany_cgen_insert_operand()
736 errmsg = insert_normal (cd, fields->f_sd, 0, 0, 15, 3, 32, total_length, buffer); in epiphany_cgen_insert_operand()
737 if (errmsg) in epiphany_cgen_insert_operand()
747 errmsg = insert_normal (cd, fields->f_sd_x, 0, 0, 31, 3, 32, total_length, buffer); in epiphany_cgen_insert_operand()
748 if (errmsg) in epiphany_cgen_insert_operand()
750 errmsg = insert_normal (cd, fields->f_sd, 0, 0, 15, 3, 32, total_length, buffer); in epiphany_cgen_insert_operand()
751 if (errmsg) in epiphany_cgen_insert_operand()
761 errmsg = insert_normal (cd, fields->f_sd_x, 0, 0, 31, 3, 32, total_length, buffer); in epiphany_cgen_insert_operand()
762 if (errmsg) in epiphany_cgen_insert_operand()
764 errmsg = insert_normal (cd, fields->f_sd, 0, 0, 15, 3, 32, total_length, buffer); in epiphany_cgen_insert_operand()
765 if (errmsg) in epiphany_cgen_insert_operand()
770 errmsg = insert_normal (cd, fields->f_shift, 0, 0, 9, 5, 32, total_length, buffer); in epiphany_cgen_insert_operand()
778 errmsg = insert_normal (cd, fields->f_disp3, 0, 0, 9, 3, 32, total_length, buffer); in epiphany_cgen_insert_operand()
779 if (errmsg) in epiphany_cgen_insert_operand()
781 errmsg = insert_normal (cd, fields->f_disp8, 0, 0, 23, 8, 32, total_length, buffer); in epiphany_cgen_insert_operand()
782 if (errmsg) in epiphany_cgen_insert_operand()
790 …errmsg = insert_normal (cd, value, 0|(1<<CGEN_IFLD_SIGNED)|(1<<CGEN_IFLD_RELOC)|(1<<CGEN_IFLD_PCRE… in epiphany_cgen_insert_operand()
794 …errmsg = insert_normal (cd, fields->f_sdisp3, 0|(1<<CGEN_IFLD_SIGNED), 0, 9, 3, 32, total_length, … in epiphany_cgen_insert_operand()
800 …errmsg = insert_normal (cd, value, 0|(1<<CGEN_IFLD_SIGNED)|(1<<CGEN_IFLD_RELOC)|(1<<CGEN_IFLD_PCRE… in epiphany_cgen_insert_operand()
804 errmsg = insert_normal (cd, fields->f_sn, 0, 0, 12, 3, 32, total_length, buffer); in epiphany_cgen_insert_operand()
812 errmsg = insert_normal (cd, fields->f_sn_x, 0, 0, 28, 3, 32, total_length, buffer); in epiphany_cgen_insert_operand()
813 if (errmsg) in epiphany_cgen_insert_operand()
815 errmsg = insert_normal (cd, fields->f_sn, 0, 0, 12, 3, 32, total_length, buffer); in epiphany_cgen_insert_operand()
816 if (errmsg) in epiphany_cgen_insert_operand()
826 errmsg = insert_normal (cd, fields->f_sn_x, 0, 0, 28, 3, 32, total_length, buffer); in epiphany_cgen_insert_operand()
827 if (errmsg) in epiphany_cgen_insert_operand()
829 errmsg = insert_normal (cd, fields->f_sn, 0, 0, 12, 3, 32, total_length, buffer); in epiphany_cgen_insert_operand()
830 if (errmsg) in epiphany_cgen_insert_operand()
840 errmsg = insert_normal (cd, fields->f_sn_x, 0, 0, 28, 3, 32, total_length, buffer); in epiphany_cgen_insert_operand()
841 if (errmsg) in epiphany_cgen_insert_operand()
843 errmsg = insert_normal (cd, fields->f_sn, 0, 0, 12, 3, 32, total_length, buffer); in epiphany_cgen_insert_operand()
844 if (errmsg) in epiphany_cgen_insert_operand()
854 errmsg = insert_normal (cd, fields->f_sn_x, 0, 0, 28, 3, 32, total_length, buffer); in epiphany_cgen_insert_operand()
855 if (errmsg) in epiphany_cgen_insert_operand()
857 errmsg = insert_normal (cd, fields->f_sn, 0, 0, 12, 3, 32, total_length, buffer); in epiphany_cgen_insert_operand()
858 if (errmsg) in epiphany_cgen_insert_operand()
863 errmsg = insert_normal (cd, fields->f_trap_num, 0, 0, 15, 6, 32, total_length, buffer); in epiphany_cgen_insert_operand()
866 errmsg = insert_normal (cd, fields->f_trap_num, 0, 0, 15, 6, 32, total_length, buffer); in epiphany_cgen_insert_operand()
876 return errmsg; in epiphany_cgen_insert_operand()