Lines Matching refs:cd

72 parse_csrn (CGEN_CPU_DESC cd, const char **strp,  in parse_csrn()  argument
78 err = cgen_parse_keyword (cd, strp, keyword_table, field); in parse_csrn()
82 err = cgen_parse_unsigned_integer (cd, strp, MEP_OPERAND_CSRN_IDX, & value); in parse_csrn()
96 parse_ivc2_cr (CGEN_CPU_DESC cd, in parse_ivc2_cr() argument
101 return cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_cr_ivc2, field); in parse_ivc2_cr()
109 parse_ivc2_ccr (CGEN_CPU_DESC cd, in parse_ivc2_ccr() argument
114 return cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_ccr_ivc2, field); in parse_ivc2_ccr()
119 parse_tpreg (CGEN_CPU_DESC cd, const char ** strp, in parse_tpreg() argument
124 err = cgen_parse_keyword (cd, strp, keyword_table, field); in parse_tpreg()
133 parse_spreg (CGEN_CPU_DESC cd, const char ** strp, in parse_spreg() argument
138 err = cgen_parse_keyword (cd, strp, keyword_table, field); in parse_spreg()
147 parse_mep_align (CGEN_CPU_DESC cd, const char ** strp, in parse_mep_align() argument
159 err = cgen_parse_signed_integer (cd, strp, type, field); in parse_mep_align()
167 err = cgen_parse_unsigned_integer (cd, strp, type, (unsigned long *) field); in parse_mep_align()
204 parse_mep_alignu (CGEN_CPU_DESC cd, const char ** strp, in parse_mep_alignu() argument
207 return parse_mep_align (cd, strp, type, (long *) field); in parse_mep_alignu()
215 parse_signed16 (CGEN_CPU_DESC cd, in parse_signed16() argument
220 return parse_lo16 (cd, strp, opindex, valuep, 1); in parse_signed16()
224 parse_lo16 (CGEN_CPU_DESC cd, in parse_lo16() argument
237 errmsg = cgen_parse_address (cd, strp, opindex, BFD_RELOC_MEP_LOW16, in parse_lo16()
255 errmsg = cgen_parse_address (cd, strp, opindex, BFD_RELOC_MEP_HI16S, in parse_lo16()
270 errmsg = cgen_parse_address (cd, strp, opindex, BFD_RELOC_MEP_HI16U, in parse_lo16()
285 errmsg = cgen_parse_address (cd, strp, opindex, BFD_RELOC_MEP_GPREL, in parse_lo16()
297 errmsg = cgen_parse_address (cd, strp, opindex, BFD_RELOC_MEP_TPREL, in parse_lo16()
309 return cgen_parse_signed_integer (cd, strp, opindex, valuep); in parse_lo16()
313 parse_unsigned16 (CGEN_CPU_DESC cd, in parse_unsigned16() argument
318 return parse_lo16 (cd, strp, opindex, (long *) valuep, 0); in parse_unsigned16()
322 parse_signed16_range (CGEN_CPU_DESC cd, in parse_signed16_range() argument
330 errmsg = cgen_parse_signed_integer (cd, strp, opindex, & value); in parse_signed16_range()
342 parse_unsigned16_range (CGEN_CPU_DESC cd, in parse_unsigned16_range() argument
350 errmsg = cgen_parse_unsigned_integer (cd, strp, opindex, & value); in parse_unsigned16_range()
364 parse_zero (CGEN_CPU_DESC cd, const char **strp, int opindex, long *valuep) in parse_zero() argument
381 errmsg = cgen_parse_address (cd, strp, opindex, BFD_RELOC_MEP_LOW16, in parse_zero()
396 errmsg = cgen_parse_address (cd, strp, opindex, BFD_RELOC_MEP_HI16S, in parse_zero()
411 errmsg = cgen_parse_address (cd, strp, opindex, BFD_RELOC_MEP_HI16U, in parse_zero()
426 errmsg = cgen_parse_address (cd, strp, opindex, BFD_RELOC_MEP_GPREL, in parse_zero()
441 errmsg = cgen_parse_address (cd, strp, opindex, BFD_RELOC_MEP_TPREL, in parse_zero()
456 errmsg = cgen_parse_address (cd, strp, opindex, BFD_RELOC_NONE, in parse_zero()
466 parse_unsigned7 (CGEN_CPU_DESC cd, const char **strp, in parse_unsigned7() argument
493 errmsg = cgen_parse_address (cd, strp, opindex, reloc, in parse_unsigned7()
505 return parse_mep_alignu (cd, strp, opindex, valuep); in parse_unsigned7()
509 parse_cdisp10 (CGEN_CPU_DESC cd, in parse_cdisp10() argument
541 errmsg = cgen_parse_signed_integer (cd, strp, opindex, & value); in parse_cdisp10()
782 mep_cgen_expand_macros_and_parse_operand (CGEN_CPU_DESC cd, int opindex, in mep_cgen_expand_macros_and_parse_operand() argument
796 errmsg = mep_cgen_parse_operand (cd, opindex, strp, fields); in mep_cgen_expand_macros_and_parse_operand()
818 #define CGEN_ASM_INIT_HOOK (cd->parse_operand = mep_cgen_expand_macros_and_parse_operand);
839 mep_cgen_parse_operand (CGEN_CPU_DESC cd, in mep_cgen_parse_operand() argument
851 …errmsg = parse_mep_alignu (cd, strp, MEP_OPERAND_ADDR24A4, (unsigned long *) (& fields->f_24u8a4n)… in mep_cgen_parse_operand()
854 …errmsg = cgen_parse_unsigned_integer (cd, strp, MEP_OPERAND_C5RMUIMM20, (unsigned long *) (& field… in mep_cgen_parse_operand()
857 …errmsg = cgen_parse_unsigned_integer (cd, strp, MEP_OPERAND_C5RNMUIMM24, (unsigned long *) (& fiel… in mep_cgen_parse_operand()
860 …errmsg = cgen_parse_unsigned_integer (cd, strp, MEP_OPERAND_CALLNUM, (unsigned long *) (& fields->… in mep_cgen_parse_operand()
863 …errmsg = cgen_parse_unsigned_integer (cd, strp, MEP_OPERAND_CCCC, (unsigned long *) (& fields->f_r… in mep_cgen_parse_operand()
866 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_ccr, & fields->f_ccrn); in mep_cgen_parse_operand()
869 errmsg = parse_cdisp10 (cd, strp, MEP_OPERAND_CDISP10, (long *) (& fields->f_cdisp10)); in mep_cgen_parse_operand()
872 errmsg = parse_cdisp10 (cd, strp, MEP_OPERAND_CDISP10A2, (long *) (& fields->f_cdisp10)); in mep_cgen_parse_operand()
875 errmsg = parse_cdisp10 (cd, strp, MEP_OPERAND_CDISP10A4, (long *) (& fields->f_cdisp10)); in mep_cgen_parse_operand()
878 errmsg = parse_cdisp10 (cd, strp, MEP_OPERAND_CDISP10A8, (long *) (& fields->f_cdisp10)); in mep_cgen_parse_operand()
881 … errmsg = cgen_parse_signed_integer (cd, strp, MEP_OPERAND_CDISP12, (long *) (& fields->f_12s20)); in mep_cgen_parse_operand()
884 …errmsg = cgen_parse_unsigned_integer (cd, strp, MEP_OPERAND_CIMM4, (unsigned long *) (& fields->f_… in mep_cgen_parse_operand()
887 …errmsg = cgen_parse_unsigned_integer (cd, strp, MEP_OPERAND_CIMM5, (unsigned long *) (& fields->f_… in mep_cgen_parse_operand()
890 …errmsg = cgen_parse_unsigned_integer (cd, strp, MEP_OPERAND_CODE16, (unsigned long *) (& fields->f… in mep_cgen_parse_operand()
893 …errmsg = cgen_parse_unsigned_integer (cd, strp, MEP_OPERAND_CODE24, (unsigned long *) (& fields->f… in mep_cgen_parse_operand()
896 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_ccr, & junk); in mep_cgen_parse_operand()
899 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_cr, & fields->f_crn); in mep_cgen_parse_operand()
902 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_cr64, & fields->f_crn); in mep_cgen_parse_operand()
905 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_cr, & fields->f_crnx); in mep_cgen_parse_operand()
908 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_cr64, & fields->f_crnx); in mep_cgen_parse_operand()
911 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_cr64, & fields->f_ivc2_5u7); in mep_cgen_parse_operand()
914 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_cr64, & fields->f_ivc2_5u23); in mep_cgen_parse_operand()
917 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_cr64, & fields->f_ivc2_5u26); in mep_cgen_parse_operand()
920 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_cr64, & fields->f_ivc2_5u18); in mep_cgen_parse_operand()
923 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_cr64, & fields->f_ivc2_5u21); in mep_cgen_parse_operand()
926 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_cr64, & fields->f_ivc2_5u13); in mep_cgen_parse_operand()
929 errmsg = parse_csrn (cd, strp, & mep_cgen_opval_h_csr, & fields->f_csrn); in mep_cgen_parse_operand()
932 …errmsg = cgen_parse_unsigned_integer (cd, strp, MEP_OPERAND_CSRN_IDX, (unsigned long *) (& fields-… in mep_cgen_parse_operand()
935 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_csr, & junk); in mep_cgen_parse_operand()
938 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_csr, & junk); in mep_cgen_parse_operand()
941 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_csr, & junk); in mep_cgen_parse_operand()
944 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_csr, & junk); in mep_cgen_parse_operand()
947 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_csr, & junk); in mep_cgen_parse_operand()
950 …errmsg = parse_unsigned16_range (cd, strp, MEP_OPERAND_IMM16P0, (unsigned long *) (& fields->f_ivc… in mep_cgen_parse_operand()
953 …errmsg = cgen_parse_unsigned_integer (cd, strp, MEP_OPERAND_IMM3P12, (unsigned long *) (& fields->… in mep_cgen_parse_operand()
956 …errmsg = cgen_parse_unsigned_integer (cd, strp, MEP_OPERAND_IMM3P25, (unsigned long *) (& fields->… in mep_cgen_parse_operand()
959 …errmsg = cgen_parse_unsigned_integer (cd, strp, MEP_OPERAND_IMM3P4, (unsigned long *) (& fields->f… in mep_cgen_parse_operand()
962 …errmsg = cgen_parse_unsigned_integer (cd, strp, MEP_OPERAND_IMM3P5, (unsigned long *) (& fields->f… in mep_cgen_parse_operand()
965 …errmsg = cgen_parse_unsigned_integer (cd, strp, MEP_OPERAND_IMM3P9, (unsigned long *) (& fields->f… in mep_cgen_parse_operand()
968 …errmsg = cgen_parse_unsigned_integer (cd, strp, MEP_OPERAND_IMM4P10, (unsigned long *) (& fields->… in mep_cgen_parse_operand()
971 …errmsg = cgen_parse_unsigned_integer (cd, strp, MEP_OPERAND_IMM4P4, (unsigned long *) (& fields->f… in mep_cgen_parse_operand()
974 …errmsg = cgen_parse_unsigned_integer (cd, strp, MEP_OPERAND_IMM4P8, (unsigned long *) (& fields->f… in mep_cgen_parse_operand()
977 …errmsg = cgen_parse_unsigned_integer (cd, strp, MEP_OPERAND_IMM5P23, (unsigned long *) (& fields->… in mep_cgen_parse_operand()
980 …errmsg = cgen_parse_unsigned_integer (cd, strp, MEP_OPERAND_IMM5P3, (unsigned long *) (& fields->f… in mep_cgen_parse_operand()
983 …errmsg = cgen_parse_unsigned_integer (cd, strp, MEP_OPERAND_IMM5P7, (unsigned long *) (& fields->f… in mep_cgen_parse_operand()
986 …errmsg = cgen_parse_unsigned_integer (cd, strp, MEP_OPERAND_IMM5P8, (unsigned long *) (& fields->f… in mep_cgen_parse_operand()
989 …errmsg = cgen_parse_unsigned_integer (cd, strp, MEP_OPERAND_IMM6P2, (unsigned long *) (& fields->f… in mep_cgen_parse_operand()
992 …errmsg = cgen_parse_unsigned_integer (cd, strp, MEP_OPERAND_IMM6P6, (unsigned long *) (& fields->f… in mep_cgen_parse_operand()
995 …errmsg = cgen_parse_unsigned_integer (cd, strp, MEP_OPERAND_IMM8P0, (unsigned long *) (& fields->f… in mep_cgen_parse_operand()
998 …errmsg = cgen_parse_unsigned_integer (cd, strp, MEP_OPERAND_IMM8P20, (unsigned long *) (& fields->… in mep_cgen_parse_operand()
1001 …errmsg = cgen_parse_unsigned_integer (cd, strp, MEP_OPERAND_IMM8P4, (unsigned long *) (& fields->f… in mep_cgen_parse_operand()
1004 …errmsg = cgen_parse_unsigned_integer (cd, strp, MEP_OPERAND_IVC_X_0_2, (unsigned long *) (& fields… in mep_cgen_parse_operand()
1007 …errmsg = cgen_parse_unsigned_integer (cd, strp, MEP_OPERAND_IVC_X_0_3, (unsigned long *) (& fields… in mep_cgen_parse_operand()
1010 …errmsg = cgen_parse_unsigned_integer (cd, strp, MEP_OPERAND_IVC_X_0_4, (unsigned long *) (& fields… in mep_cgen_parse_operand()
1013 …errmsg = cgen_parse_unsigned_integer (cd, strp, MEP_OPERAND_IVC_X_0_5, (unsigned long *) (& fields… in mep_cgen_parse_operand()
1016 …errmsg = cgen_parse_unsigned_integer (cd, strp, MEP_OPERAND_IVC_X_6_1, (unsigned long *) (& fields… in mep_cgen_parse_operand()
1019 …errmsg = cgen_parse_unsigned_integer (cd, strp, MEP_OPERAND_IVC_X_6_2, (unsigned long *) (& fields… in mep_cgen_parse_operand()
1022 …errmsg = cgen_parse_unsigned_integer (cd, strp, MEP_OPERAND_IVC_X_6_3, (unsigned long *) (& fields… in mep_cgen_parse_operand()
1025 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_ccr_ivc2, & junk); in mep_cgen_parse_operand()
1028 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_ccr_ivc2, & junk); in mep_cgen_parse_operand()
1031 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_ccr_ivc2, & junk); in mep_cgen_parse_operand()
1034 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_ccr_ivc2, & junk); in mep_cgen_parse_operand()
1037 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_ccr_ivc2, & junk); in mep_cgen_parse_operand()
1040 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_ccr_ivc2, & junk); in mep_cgen_parse_operand()
1043 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_ccr_ivc2, & junk); in mep_cgen_parse_operand()
1046 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_ccr_ivc2, & junk); in mep_cgen_parse_operand()
1049 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_ccr_ivc2, & junk); in mep_cgen_parse_operand()
1052 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_ccr_ivc2, & junk); in mep_cgen_parse_operand()
1055 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_ccr_ivc2, & junk); in mep_cgen_parse_operand()
1058 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_ccr_ivc2, & junk); in mep_cgen_parse_operand()
1061 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_ccr_ivc2, & junk); in mep_cgen_parse_operand()
1064 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_ccr_ivc2, & junk); in mep_cgen_parse_operand()
1067 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_ccr_ivc2, & junk); in mep_cgen_parse_operand()
1070 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_ccr_ivc2, & junk); in mep_cgen_parse_operand()
1073 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_ccr_ivc2, & junk); in mep_cgen_parse_operand()
1076 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_ccr_ivc2, & junk); in mep_cgen_parse_operand()
1079 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_ccr_ivc2, & junk); in mep_cgen_parse_operand()
1082 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_ccr_ivc2, & junk); in mep_cgen_parse_operand()
1085 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_ccr_ivc2, & junk); in mep_cgen_parse_operand()
1088 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_ccr_ivc2, & junk); in mep_cgen_parse_operand()
1091 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_ccr_ivc2, & junk); in mep_cgen_parse_operand()
1094 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_ccr_ivc2, & fields->f_ivc2_ccrn_c3); in mep_cgen_parse_operand()
1097 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_ccr_ivc2, & fields->f_ivc2_ccrn); in mep_cgen_parse_operand()
1100 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_cr64, & fields->f_ivc2_crnx); in mep_cgen_parse_operand()
1103 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_gpr, & fields->f_ivc2_crm); in mep_cgen_parse_operand()
1106 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_csr, & junk); in mep_cgen_parse_operand()
1109 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_csr, & junk); in mep_cgen_parse_operand()
1112 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_csr, & junk); in mep_cgen_parse_operand()
1115 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_csr, & junk); in mep_cgen_parse_operand()
1118 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_csr, & junk); in mep_cgen_parse_operand()
1121 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_csr, & junk); in mep_cgen_parse_operand()
1124 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_csr, & junk); in mep_cgen_parse_operand()
1127 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_csr, & junk); in mep_cgen_parse_operand()
1130 …errmsg = parse_mep_alignu (cd, strp, MEP_OPERAND_PCABS24A2, (unsigned long *) (& fields->f_24u5a2n… in mep_cgen_parse_operand()
1133 errmsg = parse_mep_align (cd, strp, MEP_OPERAND_PCREL12A2, (long *) (& fields->f_12s4a2)); in mep_cgen_parse_operand()
1136 errmsg = parse_mep_align (cd, strp, MEP_OPERAND_PCREL17A2, (long *) (& fields->f_17s16a2)); in mep_cgen_parse_operand()
1139 errmsg = parse_mep_align (cd, strp, MEP_OPERAND_PCREL24A2, (long *) (& fields->f_24s5a2n)); in mep_cgen_parse_operand()
1142 errmsg = parse_mep_align (cd, strp, MEP_OPERAND_PCREL8A2, (long *) (& fields->f_8s8a2)); in mep_cgen_parse_operand()
1145 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_csr, & junk); in mep_cgen_parse_operand()
1148 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_gpr, & junk); in mep_cgen_parse_operand()
1151 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_gpr, & junk); in mep_cgen_parse_operand()
1154 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_gpr, & fields->f_rl); in mep_cgen_parse_operand()
1157 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_gpr, & fields->f_rl5); in mep_cgen_parse_operand()
1160 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_gpr, & fields->f_rm); in mep_cgen_parse_operand()
1163 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_gpr, & fields->f_rm); in mep_cgen_parse_operand()
1166 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_gpr, & fields->f_rn); in mep_cgen_parse_operand()
1169 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_gpr, & fields->f_rn3); in mep_cgen_parse_operand()
1172 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_gpr, & fields->f_rn3); in mep_cgen_parse_operand()
1175 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_gpr, & fields->f_rn3); in mep_cgen_parse_operand()
1178 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_gpr, & fields->f_rn3); in mep_cgen_parse_operand()
1181 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_gpr, & fields->f_rn3); in mep_cgen_parse_operand()
1184 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_gpr, & fields->f_rn3); in mep_cgen_parse_operand()
1187 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_gpr, & fields->f_rn3); in mep_cgen_parse_operand()
1190 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_gpr, & fields->f_rn); in mep_cgen_parse_operand()
1193 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_gpr, & fields->f_rn); in mep_cgen_parse_operand()
1196 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_gpr, & fields->f_rn); in mep_cgen_parse_operand()
1199 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_gpr, & fields->f_rn); in mep_cgen_parse_operand()
1202 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_gpr, & fields->f_rn); in mep_cgen_parse_operand()
1205 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_gpr, & fields->f_rn); in mep_cgen_parse_operand()
1208 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_csr, & junk); in mep_cgen_parse_operand()
1211 errmsg = parse_signed16 (cd, strp, MEP_OPERAND_SDISP16, (long *) (& fields->f_16s16)); in mep_cgen_parse_operand()
1214 errmsg = parse_signed16 (cd, strp, MEP_OPERAND_SIMM16, (long *) (& fields->f_16s16)); in mep_cgen_parse_operand()
1217 …errmsg = parse_signed16_range (cd, strp, MEP_OPERAND_SIMM16P0, (long *) (& fields->f_ivc2_simm16p0… in mep_cgen_parse_operand()
1220 errmsg = cgen_parse_signed_integer (cd, strp, MEP_OPERAND_SIMM6, (long *) (& fields->f_6s8)); in mep_cgen_parse_operand()
1223 errmsg = cgen_parse_signed_integer (cd, strp, MEP_OPERAND_SIMM8, (long *) (& fields->f_8s8)); in mep_cgen_parse_operand()
1226 …errmsg = cgen_parse_signed_integer (cd, strp, MEP_OPERAND_SIMM8P0, (long *) (& fields->f_ivc2_8s0)… in mep_cgen_parse_operand()
1229 …errmsg = cgen_parse_signed_integer (cd, strp, MEP_OPERAND_SIMM8P20, (long *) (& fields->f_ivc2_8s2… in mep_cgen_parse_operand()
1232 …errmsg = cgen_parse_signed_integer (cd, strp, MEP_OPERAND_SIMM8P4, (long *) (& fields->f_ivc2_8s4)… in mep_cgen_parse_operand()
1235 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_gpr, & junk); in mep_cgen_parse_operand()
1238 errmsg = parse_spreg (cd, strp, & mep_cgen_opval_h_gpr, & junk); in mep_cgen_parse_operand()
1241 errmsg = cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_gpr, & junk); in mep_cgen_parse_operand()
1244 errmsg = parse_tpreg (cd, strp, & mep_cgen_opval_h_gpr, & junk); in mep_cgen_parse_operand()
1247 errmsg = cgen_parse_signed_integer (cd, strp, MEP_OPERAND_UDISP2, (long *) (& fields->f_2u6)); in mep_cgen_parse_operand()
1250 errmsg = parse_unsigned7 (cd, strp, MEP_OPERAND_UDISP7, (unsigned long *) (& fields->f_7u9)); in mep_cgen_parse_operand()
1253 … errmsg = parse_unsigned7 (cd, strp, MEP_OPERAND_UDISP7A2, (unsigned long *) (& fields->f_7u9a2)); in mep_cgen_parse_operand()
1256 … errmsg = parse_unsigned7 (cd, strp, MEP_OPERAND_UDISP7A4, (unsigned long *) (& fields->f_7u9a4)); in mep_cgen_parse_operand()
1259 … errmsg = parse_unsigned16 (cd, strp, MEP_OPERAND_UIMM16, (unsigned long *) (& fields->f_16u16)); in mep_cgen_parse_operand()
1262 …errmsg = cgen_parse_unsigned_integer (cd, strp, MEP_OPERAND_UIMM2, (unsigned long *) (& fields->f_… in mep_cgen_parse_operand()
1265 …errmsg = cgen_parse_unsigned_integer (cd, strp, MEP_OPERAND_UIMM24, (unsigned long *) (& fields->f… in mep_cgen_parse_operand()
1268 …errmsg = cgen_parse_unsigned_integer (cd, strp, MEP_OPERAND_UIMM3, (unsigned long *) (& fields->f_… in mep_cgen_parse_operand()
1271 …errmsg = cgen_parse_unsigned_integer (cd, strp, MEP_OPERAND_UIMM4, (unsigned long *) (& fields->f_… in mep_cgen_parse_operand()
1274 …errmsg = cgen_parse_unsigned_integer (cd, strp, MEP_OPERAND_UIMM5, (unsigned long *) (& fields->f_… in mep_cgen_parse_operand()
1277 … errmsg = parse_mep_alignu (cd, strp, MEP_OPERAND_UIMM7A4, (unsigned long *) (& fields->f_7u9a4)); in mep_cgen_parse_operand()
1280 errmsg = parse_zero (cd, strp, MEP_OPERAND_ZERO, (long *) (& junk)); in mep_cgen_parse_operand()
1298 mep_cgen_init_asm (CGEN_CPU_DESC cd) in mep_cgen_init_asm() argument
1300 mep_cgen_init_opcode_table (cd); in mep_cgen_init_asm()
1301 mep_cgen_init_ibld_table (cd); in mep_cgen_init_asm()
1302 cd->parse_handlers = & mep_cgen_parse_handlers[0]; in mep_cgen_init_asm()
1303 cd->parse_operand = mep_cgen_parse_operand; in mep_cgen_init_asm()
1446 parse_insn_normal (CGEN_CPU_DESC cd, in parse_insn_normal() argument
1478 CGEN_INIT_PARSE (cd); in parse_insn_normal()
1479 cgen_init_parse_operand (cd); in parse_insn_normal()
1539 errmsg = cd->parse_operand (cd, CGEN_SYNTAX_FIELD (*syn), &str, fields); in parse_insn_normal()
1589 mep_cgen_assemble_insn (CGEN_CPU_DESC cd, in mep_cgen_assemble_insn() argument
1607 ilist = CGEN_ASM_LOOKUP_INSN (cd, str); in mep_cgen_assemble_insn()
1620 if (! mep_cgen_insn_supported (cd, insn)) in mep_cgen_assemble_insn()
1639 parse_errmsg = CGEN_PARSE_FN (cd, insn) (cd, insn, & str, fields); in mep_cgen_assemble_insn()
1644 insert_errmsg = CGEN_INSERT_FN (cd, insn) (cd, insn, fields, buf, in mep_cgen_assemble_insn()