Lines Matching refs:strp
55 parse_register_number (const char **strp) in parse_register_number() argument
59 if (**strp < '0' || **strp > '9') in parse_register_number()
61 regno = **strp - '0'; in parse_register_number()
62 ++*strp; in parse_register_number()
64 if (**strp >= '0' && **strp <= '9') in parse_register_number()
66 regno = regno * 10 + (**strp - '0'); in parse_register_number()
67 ++*strp; in parse_register_number()
75 const char **strp, in parse_register_list() argument
82 while (**strp && **strp != ')') in parse_register_list()
86 if (**strp != 'R' && **strp != 'r') in parse_register_list()
88 ++*strp; in parse_register_list()
90 regno = parse_register_number (strp); in parse_register_list()
106 if (**strp == ',') in parse_register_list()
108 if (*(*strp + 1) == ')') in parse_register_list()
110 ++*strp; in parse_register_list()
114 if (!*strp || **strp != ')') in parse_register_list()
122 const char **strp, in parse_low_register_list_ld() argument
126 return parse_register_list (cd, strp, opindex, valuep, in parse_low_register_list_ld()
132 const char **strp, in parse_hi_register_list_ld() argument
136 return parse_register_list (cd, strp, opindex, valuep, in parse_hi_register_list_ld()
142 const char **strp, in parse_low_register_list_st() argument
146 return parse_register_list (cd, strp, opindex, valuep, in parse_low_register_list_st()
152 const char **strp, in parse_hi_register_list_st() argument
156 return parse_register_list (cd, strp, opindex, valuep, in parse_hi_register_list_st()
181 const char ** strp, in fr30_cgen_parse_operand() argument
191 errmsg = cgen_parse_keyword (cd, strp, & fr30_cgen_opval_cr_names, & fields->f_CRi); in fr30_cgen_parse_operand()
194 errmsg = cgen_parse_keyword (cd, strp, & fr30_cgen_opval_cr_names, & fields->f_CRj); in fr30_cgen_parse_operand()
197 errmsg = cgen_parse_keyword (cd, strp, & fr30_cgen_opval_h_r13, & junk); in fr30_cgen_parse_operand()
200 errmsg = cgen_parse_keyword (cd, strp, & fr30_cgen_opval_h_r14, & junk); in fr30_cgen_parse_operand()
203 errmsg = cgen_parse_keyword (cd, strp, & fr30_cgen_opval_h_r15, & junk); in fr30_cgen_parse_operand()
206 errmsg = cgen_parse_keyword (cd, strp, & fr30_cgen_opval_gr_names, & fields->f_Ri); in fr30_cgen_parse_operand()
209 errmsg = cgen_parse_keyword (cd, strp, & fr30_cgen_opval_gr_names, & fields->f_Ric); in fr30_cgen_parse_operand()
212 errmsg = cgen_parse_keyword (cd, strp, & fr30_cgen_opval_gr_names, & fields->f_Rj); in fr30_cgen_parse_operand()
215 errmsg = cgen_parse_keyword (cd, strp, & fr30_cgen_opval_gr_names, & fields->f_Rjc); in fr30_cgen_parse_operand()
218 errmsg = cgen_parse_keyword (cd, strp, & fr30_cgen_opval_dr_names, & fields->f_Rs1); in fr30_cgen_parse_operand()
221 errmsg = cgen_parse_keyword (cd, strp, & fr30_cgen_opval_dr_names, & fields->f_Rs2); in fr30_cgen_parse_operand()
224 …errmsg = cgen_parse_unsigned_integer (cd, strp, FR30_OPERAND_CC, (unsigned long *) (& fields->f_cc… in fr30_cgen_parse_operand()
227 …errmsg = cgen_parse_unsigned_integer (cd, strp, FR30_OPERAND_CCC, (unsigned long *) (& fields->f_c… in fr30_cgen_parse_operand()
230 …errmsg = cgen_parse_unsigned_integer (cd, strp, FR30_OPERAND_DIR10, (unsigned long *) (& fields->f… in fr30_cgen_parse_operand()
233 …errmsg = cgen_parse_unsigned_integer (cd, strp, FR30_OPERAND_DIR8, (unsigned long *) (& fields->f_… in fr30_cgen_parse_operand()
236 …errmsg = cgen_parse_unsigned_integer (cd, strp, FR30_OPERAND_DIR9, (unsigned long *) (& fields->f_… in fr30_cgen_parse_operand()
239 … errmsg = cgen_parse_signed_integer (cd, strp, FR30_OPERAND_DISP10, (long *) (& fields->f_disp10)); in fr30_cgen_parse_operand()
242 … errmsg = cgen_parse_signed_integer (cd, strp, FR30_OPERAND_DISP8, (long *) (& fields->f_disp8)); in fr30_cgen_parse_operand()
245 … errmsg = cgen_parse_signed_integer (cd, strp, FR30_OPERAND_DISP9, (long *) (& fields->f_disp9)); in fr30_cgen_parse_operand()
248 …errmsg = cgen_parse_unsigned_integer (cd, strp, FR30_OPERAND_I20, (unsigned long *) (& fields->f_i… in fr30_cgen_parse_operand()
251 …errmsg = cgen_parse_unsigned_integer (cd, strp, FR30_OPERAND_I32, (unsigned long *) (& fields->f_i… in fr30_cgen_parse_operand()
254 …errmsg = cgen_parse_unsigned_integer (cd, strp, FR30_OPERAND_I8, (unsigned long *) (& fields->f_i8… in fr30_cgen_parse_operand()
259 errmsg = cgen_parse_address (cd, strp, FR30_OPERAND_LABEL12, 0, NULL, & value); in fr30_cgen_parse_operand()
266 errmsg = cgen_parse_address (cd, strp, FR30_OPERAND_LABEL9, 0, NULL, & value); in fr30_cgen_parse_operand()
271 errmsg = cgen_parse_signed_integer (cd, strp, FR30_OPERAND_M4, (long *) (& fields->f_m4)); in fr30_cgen_parse_operand()
274 errmsg = cgen_parse_keyword (cd, strp, & fr30_cgen_opval_h_ps, & junk); in fr30_cgen_parse_operand()
277 …errmsg = parse_hi_register_list_ld (cd, strp, FR30_OPERAND_REGLIST_HI_LD, (unsigned long *) (& fie… in fr30_cgen_parse_operand()
280 …errmsg = parse_hi_register_list_st (cd, strp, FR30_OPERAND_REGLIST_HI_ST, (unsigned long *) (& fie… in fr30_cgen_parse_operand()
283 …errmsg = parse_low_register_list_ld (cd, strp, FR30_OPERAND_REGLIST_LOW_LD, (unsigned long *) (& f… in fr30_cgen_parse_operand()
286 …errmsg = parse_low_register_list_st (cd, strp, FR30_OPERAND_REGLIST_LOW_ST, (unsigned long *) (& f… in fr30_cgen_parse_operand()
289 errmsg = cgen_parse_signed_integer (cd, strp, FR30_OPERAND_S10, (long *) (& fields->f_s10)); in fr30_cgen_parse_operand()
292 …errmsg = cgen_parse_unsigned_integer (cd, strp, FR30_OPERAND_U10, (unsigned long *) (& fields->f_u… in fr30_cgen_parse_operand()
295 …errmsg = cgen_parse_unsigned_integer (cd, strp, FR30_OPERAND_U4, (unsigned long *) (& fields->f_u4… in fr30_cgen_parse_operand()
298 …errmsg = cgen_parse_unsigned_integer (cd, strp, FR30_OPERAND_U4C, (unsigned long *) (& fields->f_u… in fr30_cgen_parse_operand()
301 …errmsg = cgen_parse_unsigned_integer (cd, strp, FR30_OPERAND_U8, (unsigned long *) (& fields->f_u8… in fr30_cgen_parse_operand()
304 …errmsg = cgen_parse_unsigned_integer (cd, strp, FR30_OPERAND_UDISP6, (unsigned long *) (& fields->… in fr30_cgen_parse_operand()
472 const char **strp, in parse_insn_normal() argument
477 const char *str = *strp; in parse_insn_normal()