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 mep_cgen_insert_operand() local
574 errmsg = insert_normal (cd, fields->f_24u8a4n_hi, 0, 0, 16, 16, 32, total_length, buffer); in mep_cgen_insert_operand()
575 if (errmsg) in mep_cgen_insert_operand()
577 errmsg = insert_normal (cd, fields->f_24u8a4n_lo, 0, 0, 8, 6, 32, total_length, buffer); in mep_cgen_insert_operand()
578 if (errmsg) in mep_cgen_insert_operand()
588 errmsg = insert_normal (cd, fields->f_c5_rm, 0, 0, 8, 4, 32, total_length, buffer); in mep_cgen_insert_operand()
589 if (errmsg) in mep_cgen_insert_operand()
591 errmsg = insert_normal (cd, fields->f_c5_16u16, 0, 0, 16, 16, 32, total_length, buffer); in mep_cgen_insert_operand()
592 if (errmsg) in mep_cgen_insert_operand()
602 errmsg = insert_normal (cd, fields->f_c5_rnm, 0, 0, 4, 8, 32, total_length, buffer); in mep_cgen_insert_operand()
603 if (errmsg) in mep_cgen_insert_operand()
605 errmsg = insert_normal (cd, fields->f_c5_16u16, 0, 0, 16, 16, 32, total_length, buffer); in mep_cgen_insert_operand()
606 if (errmsg) in mep_cgen_insert_operand()
618 errmsg = insert_normal (cd, fields->f_5, 0, 0, 5, 1, 32, total_length, buffer); in mep_cgen_insert_operand()
619 if (errmsg) in mep_cgen_insert_operand()
621 errmsg = insert_normal (cd, fields->f_6, 0, 0, 6, 1, 32, total_length, buffer); in mep_cgen_insert_operand()
622 if (errmsg) in mep_cgen_insert_operand()
624 errmsg = insert_normal (cd, fields->f_7, 0, 0, 7, 1, 32, total_length, buffer); in mep_cgen_insert_operand()
625 if (errmsg) in mep_cgen_insert_operand()
627 errmsg = insert_normal (cd, fields->f_11, 0, 0, 11, 1, 32, total_length, buffer); in mep_cgen_insert_operand()
628 if (errmsg) in mep_cgen_insert_operand()
633 errmsg = insert_normal (cd, fields->f_rm, 0, 0, 8, 4, 32, total_length, buffer); in mep_cgen_insert_operand()
641 errmsg = insert_normal (cd, fields->f_ccrn_hi, 0, 0, 28, 2, 32, total_length, buffer); in mep_cgen_insert_operand()
642 if (errmsg) in mep_cgen_insert_operand()
644 errmsg = insert_normal (cd, fields->f_ccrn_lo, 0, 0, 4, 4, 32, total_length, buffer); in mep_cgen_insert_operand()
645 if (errmsg) in mep_cgen_insert_operand()
653 … errmsg = insert_normal (cd, value, 0|(1<<CGEN_IFLD_SIGNED), 0, 22, 10, 32, total_length, buffer); in mep_cgen_insert_operand()
660 … errmsg = insert_normal (cd, value, 0|(1<<CGEN_IFLD_SIGNED), 0, 22, 10, 32, total_length, buffer); in mep_cgen_insert_operand()
667 … errmsg = insert_normal (cd, value, 0|(1<<CGEN_IFLD_SIGNED), 0, 22, 10, 32, total_length, buffer); in mep_cgen_insert_operand()
674 … errmsg = insert_normal (cd, value, 0|(1<<CGEN_IFLD_SIGNED), 0, 22, 10, 32, total_length, buffer); in mep_cgen_insert_operand()
678 …errmsg = insert_normal (cd, fields->f_12s20, 0|(1<<CGEN_IFLD_SIGNED), 0, 20, 12, 32, total_length,… in mep_cgen_insert_operand()
681 errmsg = insert_normal (cd, fields->f_rn, 0, 0, 4, 4, 32, total_length, buffer); in mep_cgen_insert_operand()
684 errmsg = insert_normal (cd, fields->f_5u24, 0, 0, 24, 5, 32, total_length, buffer); in mep_cgen_insert_operand()
687 errmsg = insert_normal (cd, fields->f_16u16, 0, 0, 16, 16, 32, total_length, buffer); in mep_cgen_insert_operand()
695 errmsg = insert_normal (cd, fields->f_24u4n_hi, 0, 0, 4, 8, 32, total_length, buffer); in mep_cgen_insert_operand()
696 if (errmsg) in mep_cgen_insert_operand()
698 errmsg = insert_normal (cd, fields->f_24u4n_lo, 0, 0, 16, 16, 32, total_length, buffer); in mep_cgen_insert_operand()
699 if (errmsg) in mep_cgen_insert_operand()
706 errmsg = insert_normal (cd, fields->f_crn, 0, 0, 4, 4, 32, total_length, buffer); in mep_cgen_insert_operand()
709 errmsg = insert_normal (cd, fields->f_crn, 0, 0, 4, 4, 32, total_length, buffer); in mep_cgen_insert_operand()
717 errmsg = insert_normal (cd, fields->f_crnx_hi, 0, 0, 28, 1, 32, total_length, buffer); in mep_cgen_insert_operand()
718 if (errmsg) in mep_cgen_insert_operand()
720 errmsg = insert_normal (cd, fields->f_crnx_lo, 0, 0, 4, 4, 32, total_length, buffer); in mep_cgen_insert_operand()
721 if (errmsg) in mep_cgen_insert_operand()
731 errmsg = insert_normal (cd, fields->f_crnx_hi, 0, 0, 28, 1, 32, total_length, buffer); in mep_cgen_insert_operand()
732 if (errmsg) in mep_cgen_insert_operand()
734 errmsg = insert_normal (cd, fields->f_crnx_lo, 0, 0, 4, 4, 32, total_length, buffer); in mep_cgen_insert_operand()
735 if (errmsg) in mep_cgen_insert_operand()
740 errmsg = insert_normal (cd, fields->f_ivc2_5u7, 0, 0, 7, 5, 32, total_length, buffer); in mep_cgen_insert_operand()
743 errmsg = insert_normal (cd, fields->f_ivc2_5u23, 0, 0, 23, 5, 32, total_length, buffer); in mep_cgen_insert_operand()
746 errmsg = insert_normal (cd, fields->f_ivc2_5u26, 0, 0, 26, 5, 32, total_length, buffer); in mep_cgen_insert_operand()
749 errmsg = insert_normal (cd, fields->f_ivc2_5u18, 0, 0, 18, 5, 32, total_length, buffer); in mep_cgen_insert_operand()
752 errmsg = insert_normal (cd, fields->f_ivc2_5u21, 0, 0, 21, 5, 32, total_length, buffer); in mep_cgen_insert_operand()
755 errmsg = insert_normal (cd, fields->f_ivc2_5u13, 0, 0, 13, 5, 32, total_length, buffer); in mep_cgen_insert_operand()
763 errmsg = insert_normal (cd, fields->f_csrn_hi, 0, 0, 15, 1, 32, total_length, buffer); in mep_cgen_insert_operand()
764 if (errmsg) in mep_cgen_insert_operand()
766 errmsg = insert_normal (cd, fields->f_csrn_lo, 0, 0, 8, 4, 32, total_length, buffer); in mep_cgen_insert_operand()
767 if (errmsg) in mep_cgen_insert_operand()
777 errmsg = insert_normal (cd, fields->f_csrn_hi, 0, 0, 15, 1, 32, total_length, buffer); in mep_cgen_insert_operand()
778 if (errmsg) in mep_cgen_insert_operand()
780 errmsg = insert_normal (cd, fields->f_csrn_lo, 0, 0, 8, 4, 32, total_length, buffer); in mep_cgen_insert_operand()
781 if (errmsg) in mep_cgen_insert_operand()
801 errmsg = insert_normal (cd, fields->f_ivc2_8u0, 0, 0, 0, 8, 32, total_length, buffer); in mep_cgen_insert_operand()
802 if (errmsg) in mep_cgen_insert_operand()
804 errmsg = insert_normal (cd, fields->f_ivc2_8u20, 0, 0, 20, 8, 32, total_length, buffer); in mep_cgen_insert_operand()
805 if (errmsg) in mep_cgen_insert_operand()
810 errmsg = insert_normal (cd, fields->f_ivc2_3u12, 0, 0, 12, 3, 32, total_length, buffer); in mep_cgen_insert_operand()
813 errmsg = insert_normal (cd, fields->f_ivc2_3u25, 0, 0, 25, 3, 32, total_length, buffer); in mep_cgen_insert_operand()
816 errmsg = insert_normal (cd, fields->f_ivc2_3u4, 0, 0, 4, 3, 32, total_length, buffer); in mep_cgen_insert_operand()
819 errmsg = insert_normal (cd, fields->f_ivc2_3u5, 0, 0, 5, 3, 32, total_length, buffer); in mep_cgen_insert_operand()
822 errmsg = insert_normal (cd, fields->f_ivc2_3u9, 0, 0, 9, 3, 32, total_length, buffer); in mep_cgen_insert_operand()
825 errmsg = insert_normal (cd, fields->f_ivc2_4u10, 0, 0, 10, 4, 32, total_length, buffer); in mep_cgen_insert_operand()
828 errmsg = insert_normal (cd, fields->f_ivc2_4u4, 0, 0, 4, 4, 32, total_length, buffer); in mep_cgen_insert_operand()
831 errmsg = insert_normal (cd, fields->f_ivc2_4u8, 0, 0, 8, 4, 32, total_length, buffer); in mep_cgen_insert_operand()
834 errmsg = insert_normal (cd, fields->f_ivc2_5u23, 0, 0, 23, 5, 32, total_length, buffer); in mep_cgen_insert_operand()
837 errmsg = insert_normal (cd, fields->f_ivc2_5u3, 0, 0, 3, 5, 32, total_length, buffer); in mep_cgen_insert_operand()
840 errmsg = insert_normal (cd, fields->f_ivc2_5u7, 0, 0, 7, 5, 32, total_length, buffer); in mep_cgen_insert_operand()
843 errmsg = insert_normal (cd, fields->f_ivc2_5u8, 0, 0, 8, 5, 32, total_length, buffer); in mep_cgen_insert_operand()
846 errmsg = insert_normal (cd, fields->f_ivc2_6u2, 0, 0, 2, 6, 32, total_length, buffer); in mep_cgen_insert_operand()
849 errmsg = insert_normal (cd, fields->f_ivc2_6u6, 0, 0, 6, 6, 32, total_length, buffer); in mep_cgen_insert_operand()
852 errmsg = insert_normal (cd, fields->f_ivc2_8u0, 0, 0, 0, 8, 32, total_length, buffer); in mep_cgen_insert_operand()
855 errmsg = insert_normal (cd, fields->f_ivc2_8u20, 0, 0, 20, 8, 32, total_length, buffer); in mep_cgen_insert_operand()
858 errmsg = insert_normal (cd, fields->f_ivc2_8u4, 0, 0, 4, 8, 32, total_length, buffer); in mep_cgen_insert_operand()
861 errmsg = insert_normal (cd, fields->f_ivc2_2u0, 0, 0, 0, 2, 32, total_length, buffer); in mep_cgen_insert_operand()
864 errmsg = insert_normal (cd, fields->f_ivc2_3u0, 0, 0, 0, 3, 32, total_length, buffer); in mep_cgen_insert_operand()
867 errmsg = insert_normal (cd, fields->f_ivc2_4u0, 0, 0, 0, 4, 32, total_length, buffer); in mep_cgen_insert_operand()
870 errmsg = insert_normal (cd, fields->f_ivc2_5u0, 0, 0, 0, 5, 32, total_length, buffer); in mep_cgen_insert_operand()
873 errmsg = insert_normal (cd, fields->f_ivc2_1u6, 0, 0, 6, 1, 32, total_length, buffer); in mep_cgen_insert_operand()
876 errmsg = insert_normal (cd, fields->f_ivc2_2u6, 0, 0, 6, 2, 32, total_length, buffer); in mep_cgen_insert_operand()
879 errmsg = insert_normal (cd, fields->f_ivc2_3u6, 0, 0, 6, 3, 32, total_length, buffer); in mep_cgen_insert_operand()
933 … errmsg = insert_normal (cd, fields->f_ivc2_ccrn_c3hi, 0, 0, 28, 2, 32, total_length, buffer); in mep_cgen_insert_operand()
934 if (errmsg) in mep_cgen_insert_operand()
936 errmsg = insert_normal (cd, fields->f_ivc2_ccrn_c3lo, 0, 0, 4, 4, 32, total_length, buffer); in mep_cgen_insert_operand()
937 if (errmsg) in mep_cgen_insert_operand()
947 errmsg = insert_normal (cd, fields->f_ivc2_ccrn_h2, 0, 0, 20, 2, 32, total_length, buffer); in mep_cgen_insert_operand()
948 if (errmsg) in mep_cgen_insert_operand()
950 errmsg = insert_normal (cd, fields->f_ivc2_ccrn_lo, 0, 0, 0, 4, 32, total_length, buffer); in mep_cgen_insert_operand()
951 if (errmsg) in mep_cgen_insert_operand()
961 errmsg = insert_normal (cd, fields->f_ivc2_ccrn_h1, 0, 0, 20, 1, 32, total_length, buffer); in mep_cgen_insert_operand()
962 if (errmsg) in mep_cgen_insert_operand()
964 errmsg = insert_normal (cd, fields->f_ivc2_ccrn_lo, 0, 0, 0, 4, 32, total_length, buffer); in mep_cgen_insert_operand()
965 if (errmsg) in mep_cgen_insert_operand()
970 errmsg = insert_normal (cd, fields->f_ivc2_crm, 0, 0, 4, 4, 32, total_length, buffer); in mep_cgen_insert_operand()
994 errmsg = insert_normal (cd, fields->f_24u5a2n_hi, 0, 0, 16, 16, 32, total_length, buffer); in mep_cgen_insert_operand()
995 if (errmsg) in mep_cgen_insert_operand()
997 errmsg = insert_normal (cd, fields->f_24u5a2n_lo, 0, 0, 5, 7, 32, total_length, buffer); in mep_cgen_insert_operand()
998 if (errmsg) in mep_cgen_insert_operand()
1006 …errmsg = insert_normal (cd, value, 0|(1<<CGEN_IFLD_SIGNED)|(1<<CGEN_IFLD_PCREL_ADDR), 0, 4, 11, 32… in mep_cgen_insert_operand()
1013 …errmsg = insert_normal (cd, value, 0|(1<<CGEN_IFLD_SIGNED)|(1<<CGEN_IFLD_PCREL_ADDR), 0, 16, 16, 3… in mep_cgen_insert_operand()
1023 …errmsg = insert_normal (cd, fields->f_24s5a2n_hi, 0|(1<<CGEN_IFLD_SIGNED)|(1<<CGEN_IFLD_PCREL_ADDR… in mep_cgen_insert_operand()
1024 if (errmsg) in mep_cgen_insert_operand()
1026 …errmsg = insert_normal (cd, fields->f_24s5a2n_lo, 0|(1<<CGEN_IFLD_PCREL_ADDR), 0, 5, 7, 32, total_… in mep_cgen_insert_operand()
1027 if (errmsg) in mep_cgen_insert_operand()
1035 …errmsg = insert_normal (cd, value, 0|(1<<CGEN_IFLD_SIGNED)|(1<<CGEN_IFLD_PCREL_ADDR), 0, 8, 7, 32,… in mep_cgen_insert_operand()
1045 errmsg = insert_normal (cd, fields->f_rl, 0, 0, 12, 4, 32, total_length, buffer); in mep_cgen_insert_operand()
1048 errmsg = insert_normal (cd, fields->f_rl5, 0, 0, 20, 4, 32, total_length, buffer); in mep_cgen_insert_operand()
1051 errmsg = insert_normal (cd, fields->f_rm, 0, 0, 8, 4, 32, total_length, buffer); in mep_cgen_insert_operand()
1054 errmsg = insert_normal (cd, fields->f_rm, 0, 0, 8, 4, 32, total_length, buffer); in mep_cgen_insert_operand()
1057 errmsg = insert_normal (cd, fields->f_rn, 0, 0, 4, 4, 32, total_length, buffer); in mep_cgen_insert_operand()
1060 errmsg = insert_normal (cd, fields->f_rn3, 0, 0, 5, 3, 32, total_length, buffer); in mep_cgen_insert_operand()
1063 errmsg = insert_normal (cd, fields->f_rn3, 0, 0, 5, 3, 32, total_length, buffer); in mep_cgen_insert_operand()
1066 errmsg = insert_normal (cd, fields->f_rn3, 0, 0, 5, 3, 32, total_length, buffer); in mep_cgen_insert_operand()
1069 errmsg = insert_normal (cd, fields->f_rn3, 0, 0, 5, 3, 32, total_length, buffer); in mep_cgen_insert_operand()
1072 errmsg = insert_normal (cd, fields->f_rn3, 0, 0, 5, 3, 32, total_length, buffer); in mep_cgen_insert_operand()
1075 errmsg = insert_normal (cd, fields->f_rn3, 0, 0, 5, 3, 32, total_length, buffer); in mep_cgen_insert_operand()
1078 errmsg = insert_normal (cd, fields->f_rn3, 0, 0, 5, 3, 32, total_length, buffer); in mep_cgen_insert_operand()
1081 errmsg = insert_normal (cd, fields->f_rn, 0, 0, 4, 4, 32, total_length, buffer); in mep_cgen_insert_operand()
1084 errmsg = insert_normal (cd, fields->f_rn, 0, 0, 4, 4, 32, total_length, buffer); in mep_cgen_insert_operand()
1087 errmsg = insert_normal (cd, fields->f_rn, 0, 0, 4, 4, 32, total_length, buffer); in mep_cgen_insert_operand()
1090 errmsg = insert_normal (cd, fields->f_rn, 0, 0, 4, 4, 32, total_length, buffer); in mep_cgen_insert_operand()
1093 errmsg = insert_normal (cd, fields->f_rn, 0, 0, 4, 4, 32, total_length, buffer); in mep_cgen_insert_operand()
1096 errmsg = insert_normal (cd, fields->f_rn, 0, 0, 4, 4, 32, total_length, buffer); in mep_cgen_insert_operand()
1101 …errmsg = insert_normal (cd, fields->f_16s16, 0|(1<<CGEN_IFLD_SIGNED), 0, 16, 16, 32, total_length,… in mep_cgen_insert_operand()
1104 …errmsg = insert_normal (cd, fields->f_16s16, 0|(1<<CGEN_IFLD_SIGNED), 0, 16, 16, 32, total_length,… in mep_cgen_insert_operand()
1112 errmsg = insert_normal (cd, fields->f_ivc2_8u0, 0, 0, 0, 8, 32, total_length, buffer); in mep_cgen_insert_operand()
1113 if (errmsg) in mep_cgen_insert_operand()
1115 errmsg = insert_normal (cd, fields->f_ivc2_8u20, 0, 0, 20, 8, 32, total_length, buffer); in mep_cgen_insert_operand()
1116 if (errmsg) in mep_cgen_insert_operand()
1121 …errmsg = insert_normal (cd, fields->f_6s8, 0|(1<<CGEN_IFLD_SIGNED), 0, 8, 6, 32, total_length, buf… in mep_cgen_insert_operand()
1124 …errmsg = insert_normal (cd, fields->f_8s8, 0|(1<<CGEN_IFLD_SIGNED), 0, 8, 8, 32, total_length, buf… in mep_cgen_insert_operand()
1127 …errmsg = insert_normal (cd, fields->f_ivc2_8s0, 0|(1<<CGEN_IFLD_SIGNED), 0, 0, 8, 32, total_length… in mep_cgen_insert_operand()
1130 …errmsg = insert_normal (cd, fields->f_ivc2_8s20, 0|(1<<CGEN_IFLD_SIGNED), 0, 20, 8, 32, total_leng… in mep_cgen_insert_operand()
1133 …errmsg = insert_normal (cd, fields->f_ivc2_8s4, 0|(1<<CGEN_IFLD_SIGNED), 0, 4, 8, 32, total_length… in mep_cgen_insert_operand()
1144 errmsg = insert_normal (cd, fields->f_2u6, 0, 0, 6, 2, 32, total_length, buffer); in mep_cgen_insert_operand()
1147 errmsg = insert_normal (cd, fields->f_7u9, 0, 0, 9, 7, 32, total_length, buffer); in mep_cgen_insert_operand()
1153 errmsg = insert_normal (cd, value, 0, 0, 9, 6, 32, total_length, buffer); in mep_cgen_insert_operand()
1160 errmsg = insert_normal (cd, value, 0, 0, 9, 5, 32, total_length, buffer); in mep_cgen_insert_operand()
1164 errmsg = insert_normal (cd, fields->f_16u16, 0, 0, 16, 16, 32, total_length, buffer); in mep_cgen_insert_operand()
1167 errmsg = insert_normal (cd, fields->f_2u10, 0, 0, 10, 2, 32, total_length, buffer); in mep_cgen_insert_operand()
1175 errmsg = insert_normal (cd, fields->f_24u8n_hi, 0, 0, 16, 16, 32, total_length, buffer); in mep_cgen_insert_operand()
1176 if (errmsg) in mep_cgen_insert_operand()
1178 errmsg = insert_normal (cd, fields->f_24u8n_lo, 0, 0, 8, 8, 32, total_length, buffer); in mep_cgen_insert_operand()
1179 if (errmsg) in mep_cgen_insert_operand()
1184 errmsg = insert_normal (cd, fields->f_3u5, 0, 0, 5, 3, 32, total_length, buffer); in mep_cgen_insert_operand()
1187 errmsg = insert_normal (cd, fields->f_4u8, 0, 0, 8, 4, 32, total_length, buffer); in mep_cgen_insert_operand()
1190 errmsg = insert_normal (cd, fields->f_5u8, 0, 0, 8, 5, 32, total_length, buffer); in mep_cgen_insert_operand()
1196 errmsg = insert_normal (cd, value, 0, 0, 9, 5, 32, total_length, buffer); in mep_cgen_insert_operand()
1209 return errmsg; in mep_cgen_insert_operand()