Lines Matching refs:strp

58 	    const char **strp,  in parse_hash()  argument
62 if (**strp == '#') in parse_hash()
63 ++*strp; in parse_hash()
71 const char **strp, in parse_hi16() argument
79 if (**strp == '#') in parse_hi16()
80 ++*strp; in parse_hi16()
82 if (strncasecmp (*strp, "high(", 5) == 0) in parse_hi16()
84 *strp += 5; in parse_hi16()
85 errmsg = cgen_parse_address (cd, strp, opindex, BFD_RELOC_M32R_HI16_ULO, in parse_hi16()
87 if (**strp != ')') in parse_hi16()
89 ++*strp; in parse_hi16()
99 else if (strncasecmp (*strp, "shigh(", 6) == 0) in parse_hi16()
101 *strp += 6; in parse_hi16()
102 errmsg = cgen_parse_address (cd, strp, opindex, BFD_RELOC_M32R_HI16_SLO, in parse_hi16()
104 if (**strp != ')') in parse_hi16()
106 ++*strp; in parse_hi16()
118 return cgen_parse_unsigned_integer (cd, strp, opindex, valuep); in parse_hi16()
127 const char ** strp, in parse_slo16() argument
135 if (**strp == '#') in parse_slo16()
136 ++*strp; in parse_slo16()
138 if (strncasecmp (*strp, "low(", 4) == 0) in parse_slo16()
140 *strp += 4; in parse_slo16()
141 errmsg = cgen_parse_address (cd, strp, opindex, BFD_RELOC_M32R_LO16, in parse_slo16()
143 if (**strp != ')') in parse_slo16()
145 ++*strp; in parse_slo16()
153 if (strncasecmp (*strp, "sda(", 4) == 0) in parse_slo16()
155 *strp += 4; in parse_slo16()
156 errmsg = cgen_parse_address (cd, strp, opindex, BFD_RELOC_M32R_SDA16, in parse_slo16()
158 if (**strp != ')') in parse_slo16()
160 ++*strp; in parse_slo16()
165 return cgen_parse_signed_integer (cd, strp, opindex, valuep); in parse_slo16()
174 const char **strp, in parse_ulo16() argument
182 if (**strp == '#') in parse_ulo16()
183 ++*strp; in parse_ulo16()
185 if (strncasecmp (*strp, "low(", 4) == 0) in parse_ulo16()
187 *strp += 4; in parse_ulo16()
188 errmsg = cgen_parse_address (cd, strp, opindex, BFD_RELOC_M32R_LO16, in parse_ulo16()
190 if (**strp != ')') in parse_ulo16()
192 ++*strp; in parse_ulo16()
200 return cgen_parse_unsigned_integer (cd, strp, opindex, valuep); in parse_ulo16()
224 const char ** strp, in m32r_cgen_parse_operand() argument
234 errmsg = cgen_parse_keyword (cd, strp, & m32r_cgen_opval_h_accums, & fields->f_acc); in m32r_cgen_parse_operand()
237 errmsg = cgen_parse_keyword (cd, strp, & m32r_cgen_opval_h_accums, & fields->f_accd); in m32r_cgen_parse_operand()
240 errmsg = cgen_parse_keyword (cd, strp, & m32r_cgen_opval_h_accums, & fields->f_accs); in m32r_cgen_parse_operand()
243 errmsg = cgen_parse_keyword (cd, strp, & m32r_cgen_opval_cr_names, & fields->f_r1); in m32r_cgen_parse_operand()
248 errmsg = cgen_parse_address (cd, strp, M32R_OPERAND_DISP16, 0, NULL, & value); in m32r_cgen_parse_operand()
255 errmsg = cgen_parse_address (cd, strp, M32R_OPERAND_DISP24, 0, NULL, & value); in m32r_cgen_parse_operand()
262 errmsg = cgen_parse_address (cd, strp, M32R_OPERAND_DISP8, 0, NULL, & value); in m32r_cgen_parse_operand()
267 errmsg = cgen_parse_keyword (cd, strp, & m32r_cgen_opval_gr_names, & fields->f_r1); in m32r_cgen_parse_operand()
270 errmsg = parse_hash (cd, strp, M32R_OPERAND_HASH, (long *) (& junk)); in m32r_cgen_parse_operand()
273 errmsg = parse_hi16 (cd, strp, M32R_OPERAND_HI16, (unsigned long *) (& fields->f_hi16)); in m32r_cgen_parse_operand()
276 …errmsg = cgen_parse_unsigned_integer (cd, strp, M32R_OPERAND_IMM1, (unsigned long *) (& fields->f_… in m32r_cgen_parse_operand()
279 errmsg = cgen_parse_keyword (cd, strp, & m32r_cgen_opval_cr_names, & fields->f_r2); in m32r_cgen_parse_operand()
282 … errmsg = cgen_parse_signed_integer (cd, strp, M32R_OPERAND_SIMM16, (long *) (& fields->f_simm16)); in m32r_cgen_parse_operand()
285 … errmsg = cgen_parse_signed_integer (cd, strp, M32R_OPERAND_SIMM8, (long *) (& fields->f_simm8)); in m32r_cgen_parse_operand()
288 errmsg = parse_slo16 (cd, strp, M32R_OPERAND_SLO16, (long *) (& fields->f_simm16)); in m32r_cgen_parse_operand()
291 errmsg = cgen_parse_keyword (cd, strp, & m32r_cgen_opval_gr_names, & fields->f_r2); in m32r_cgen_parse_operand()
294 errmsg = cgen_parse_keyword (cd, strp, & m32r_cgen_opval_gr_names, & fields->f_r1); in m32r_cgen_parse_operand()
297 errmsg = cgen_parse_keyword (cd, strp, & m32r_cgen_opval_gr_names, & fields->f_r2); in m32r_cgen_parse_operand()
300 …errmsg = cgen_parse_unsigned_integer (cd, strp, M32R_OPERAND_UIMM16, (unsigned long *) (& fields->… in m32r_cgen_parse_operand()
305 errmsg = cgen_parse_address (cd, strp, M32R_OPERAND_UIMM24, 0, NULL, & value); in m32r_cgen_parse_operand()
310 …errmsg = cgen_parse_unsigned_integer (cd, strp, M32R_OPERAND_UIMM3, (unsigned long *) (& fields->f… in m32r_cgen_parse_operand()
313 …errmsg = cgen_parse_unsigned_integer (cd, strp, M32R_OPERAND_UIMM4, (unsigned long *) (& fields->f… in m32r_cgen_parse_operand()
316 …errmsg = cgen_parse_unsigned_integer (cd, strp, M32R_OPERAND_UIMM5, (unsigned long *) (& fields->f… in m32r_cgen_parse_operand()
319 …errmsg = cgen_parse_unsigned_integer (cd, strp, M32R_OPERAND_UIMM8, (unsigned long *) (& fields->f… in m32r_cgen_parse_operand()
322 errmsg = parse_ulo16 (cd, strp, M32R_OPERAND_ULO16, (unsigned long *) (& fields->f_uimm16)); in m32r_cgen_parse_operand()
490 const char **strp, in parse_insn_normal() argument
495 const char *str = *strp; in parse_insn_normal()