Lines Matching refs:strp

68 iq2000_cgen_isa_register (const char **strp)  in iq2000_cgen_isa_register()  argument
73 if (**strp == 'r' || **strp == 'R') in iq2000_cgen_isa_register()
75 len = strlen (*strp); in iq2000_cgen_isa_register()
78 ch1 = (*strp)[1]; in iq2000_cgen_isa_register()
84 ch1 = (*strp)[1]; in iq2000_cgen_isa_register()
85 ch2 = (*strp)[2]; in iq2000_cgen_isa_register()
92 if (**strp == '%' in iq2000_cgen_isa_register()
93 && TOLOWER ((*strp)[1]) != 'l' in iq2000_cgen_isa_register()
94 && TOLOWER ((*strp)[1]) != 'h') in iq2000_cgen_isa_register()
103 const char **strp, in parse_mimm() argument
110 if (iq2000_cgen_isa_register (strp)) in parse_mimm()
116 errmsg = cgen_parse_signed_integer (cd, strp, opindex, & value); in parse_mimm()
134 const char **strp, in parse_imm() argument
140 if (iq2000_cgen_isa_register (strp)) in parse_imm()
146 errmsg = cgen_parse_signed_integer (cd, strp, opindex, & value); in parse_imm()
164 const char **strp, in parse_jtargq10() argument
174 errmsg = cgen_parse_address (cd, strp, opindex, BFD_RELOC_IQ2000_OFFSET_21, in parse_jtargq10()
191 const char **strp, in parse_hi16() argument
195 if (strncasecmp (*strp, "%hi(", 4) == 0) in parse_hi16()
201 *strp += 4; in parse_hi16()
202 errmsg = cgen_parse_address (cd, strp, opindex, BFD_RELOC_HI16, in parse_hi16()
204 if (**strp != ')') in parse_hi16()
207 ++*strp; in parse_hi16()
226 if (strncasecmp (*strp, "%uhi(", 5) == 0) in parse_hi16()
232 *strp += 5; in parse_hi16()
233 errmsg = cgen_parse_address (cd, strp, opindex, BFD_RELOC_IQ2000_UHI16, in parse_hi16()
235 if (**strp != ')') in parse_hi16()
238 ++*strp; in parse_hi16()
249 return parse_imm (cd, strp, opindex, valuep); in parse_hi16()
258 const char **strp, in parse_lo16() argument
262 if (strncasecmp (*strp, "%lo(", 4) == 0) in parse_lo16()
268 *strp += 4; in parse_lo16()
269 errmsg = cgen_parse_address (cd, strp, opindex, BFD_RELOC_LO16, in parse_lo16()
271 if (**strp != ')') in parse_lo16()
273 ++*strp; in parse_lo16()
281 return parse_imm (cd, strp, opindex, valuep); in parse_lo16()
290 const char **strp, in parse_mlo16() argument
294 if (strncasecmp (*strp, "%lo(", 4) == 0) in parse_mlo16()
300 *strp += 4; in parse_mlo16()
301 errmsg = cgen_parse_address (cd, strp, opindex, BFD_RELOC_LO16, in parse_mlo16()
303 if (**strp != ')') in parse_mlo16()
305 ++*strp; in parse_mlo16()
313 return parse_mimm (cd, strp, opindex, valuep); in parse_mlo16()
337 const char ** strp, in iq2000_cgen_parse_operand() argument
347 …errmsg = cgen_parse_unsigned_integer (cd, strp, IQ2000_OPERAND__INDEX, (unsigned long *) (& fields… in iq2000_cgen_parse_operand()
350 errmsg = cgen_parse_keyword (cd, strp, & iq2000_cgen_opval_gr_names, & fields->f_rs); in iq2000_cgen_parse_operand()
355 errmsg = cgen_parse_address (cd, strp, IQ2000_OPERAND_BASEOFF, 0, NULL, & value); in iq2000_cgen_parse_operand()
360 …errmsg = cgen_parse_unsigned_integer (cd, strp, IQ2000_OPERAND_BITNUM, (unsigned long *) (& fields… in iq2000_cgen_parse_operand()
363 …errmsg = cgen_parse_unsigned_integer (cd, strp, IQ2000_OPERAND_BYTECOUNT, (unsigned long *) (& fie… in iq2000_cgen_parse_operand()
366 …errmsg = cgen_parse_unsigned_integer (cd, strp, IQ2000_OPERAND_CAM_Y, (unsigned long *) (& fields-… in iq2000_cgen_parse_operand()
369 …errmsg = cgen_parse_unsigned_integer (cd, strp, IQ2000_OPERAND_CAM_Z, (unsigned long *) (& fields-… in iq2000_cgen_parse_operand()
372 …errmsg = cgen_parse_unsigned_integer (cd, strp, IQ2000_OPERAND_CM_3FUNC, (unsigned long *) (& fiel… in iq2000_cgen_parse_operand()
375 …errmsg = cgen_parse_unsigned_integer (cd, strp, IQ2000_OPERAND_CM_3Z, (unsigned long *) (& fields-… in iq2000_cgen_parse_operand()
378 …errmsg = cgen_parse_unsigned_integer (cd, strp, IQ2000_OPERAND_CM_4FUNC, (unsigned long *) (& fiel… in iq2000_cgen_parse_operand()
381 …errmsg = cgen_parse_unsigned_integer (cd, strp, IQ2000_OPERAND_CM_4Z, (unsigned long *) (& fields-… in iq2000_cgen_parse_operand()
384 …errmsg = cgen_parse_unsigned_integer (cd, strp, IQ2000_OPERAND_COUNT, (unsigned long *) (& fields-… in iq2000_cgen_parse_operand()
387 …errmsg = cgen_parse_unsigned_integer (cd, strp, IQ2000_OPERAND_EXECODE, (unsigned long *) (& field… in iq2000_cgen_parse_operand()
390 errmsg = parse_hi16 (cd, strp, IQ2000_OPERAND_HI16, (unsigned long *) (& fields->f_imm)); in iq2000_cgen_parse_operand()
393 errmsg = parse_imm (cd, strp, IQ2000_OPERAND_IMM, (unsigned long *) (& fields->f_imm)); in iq2000_cgen_parse_operand()
398 errmsg = cgen_parse_address (cd, strp, IQ2000_OPERAND_JMPTARG, 0, NULL, & value); in iq2000_cgen_parse_operand()
405 errmsg = parse_jtargq10 (cd, strp, IQ2000_OPERAND_JMPTARGQ10, 0, NULL, & value); in iq2000_cgen_parse_operand()
410 errmsg = parse_lo16 (cd, strp, IQ2000_OPERAND_LO16, (unsigned long *) (& fields->f_imm)); in iq2000_cgen_parse_operand()
413 …errmsg = cgen_parse_unsigned_integer (cd, strp, IQ2000_OPERAND_MASK, (unsigned long *) (& fields->… in iq2000_cgen_parse_operand()
416 …errmsg = cgen_parse_unsigned_integer (cd, strp, IQ2000_OPERAND_MASKL, (unsigned long *) (& fields-… in iq2000_cgen_parse_operand()
419 …errmsg = cgen_parse_unsigned_integer (cd, strp, IQ2000_OPERAND_MASKQ10, (unsigned long *) (& field… in iq2000_cgen_parse_operand()
422 …errmsg = cgen_parse_unsigned_integer (cd, strp, IQ2000_OPERAND_MASKR, (unsigned long *) (& fields-… in iq2000_cgen_parse_operand()
425 errmsg = parse_mlo16 (cd, strp, IQ2000_OPERAND_MLO16, (unsigned long *) (& fields->f_imm)); in iq2000_cgen_parse_operand()
430 errmsg = cgen_parse_address (cd, strp, IQ2000_OPERAND_OFFSET, 0, NULL, & value); in iq2000_cgen_parse_operand()
435 errmsg = cgen_parse_keyword (cd, strp, & iq2000_cgen_opval_gr_names, & fields->f_rd); in iq2000_cgen_parse_operand()
438 errmsg = cgen_parse_keyword (cd, strp, & iq2000_cgen_opval_gr_names, & fields->f_rd_rs); in iq2000_cgen_parse_operand()
441 errmsg = cgen_parse_keyword (cd, strp, & iq2000_cgen_opval_gr_names, & fields->f_rd_rt); in iq2000_cgen_parse_operand()
444 errmsg = cgen_parse_keyword (cd, strp, & iq2000_cgen_opval_gr_names, & fields->f_rs); in iq2000_cgen_parse_operand()
447 errmsg = cgen_parse_keyword (cd, strp, & iq2000_cgen_opval_gr_names, & fields->f_rt); in iq2000_cgen_parse_operand()
450 errmsg = cgen_parse_keyword (cd, strp, & iq2000_cgen_opval_gr_names, & fields->f_rt_rs); in iq2000_cgen_parse_operand()
453 …errmsg = cgen_parse_unsigned_integer (cd, strp, IQ2000_OPERAND_SHAMT, (unsigned long *) (& fields-… in iq2000_cgen_parse_operand()
621 const char **strp, in parse_insn_normal() argument
626 const char *str = *strp; in parse_insn_normal()