Lines Matching refs:strp

55 	  const char **strp,  in parse_fr()  argument
67 old_strp = *strp; in parse_fr()
72 if ((strncmp (*strp, "w", 1) == 0) || (strncmp (*strp, "W", 1) == 0)) in parse_fr()
74 (*strp)++; in parse_fr()
76 if ((strncmp (*strp, ",", 1) == 0) || ISSPACE (**strp)) in parse_fr()
83 *strp = old_strp; in parse_fr()
87 errmsg = cgen_parse_keyword (cd, strp, & ip2k_cgen_opval_register_names, in parse_fr()
89 if (*strp != NULL in parse_fr()
94 afteroffset = strstr (*strp, "(IP)"); in parse_fr()
98 afteroffset = strstr (*strp, "(ip)"); in parse_fr()
102 if (afteroffset != *strp) in parse_fr()
110 *strp += 4; in parse_fr()
121 afteroffset = strstr (*strp, "(DP)"); in parse_fr()
125 afteroffset = strstr (*strp, "(dp)"); in parse_fr()
129 if (afteroffset == *strp) in parse_fr()
136 errmsg = cgen_parse_address (cd, strp, opindex, in parse_fr()
146 *strp += 4; /* Skip over the (DP) in *strp. */ in parse_fr()
162 afteroffset = strstr (*strp, "(SP)"); in parse_fr()
166 afteroffset = strstr (*strp, "(sp)"); in parse_fr()
170 if (afteroffset == *strp) in parse_fr()
177 errmsg = cgen_parse_address (cd, strp, opindex, in parse_fr()
187 *strp += 4; /* Skip over the (SP) in *strp. */ in parse_fr()
201 *strp = old_strp; in parse_fr()
202 errmsg = cgen_parse_address (cd, strp, opindex, BFD_RELOC_IP2K_FR9, in parse_fr()
209 if (**strp == '(') in parse_fr()
225 const char **strp, in parse_addr16() argument
245 errmsg = cgen_parse_address (cd, strp, opindex, code, in parse_addr16()
267 const char **strp, in parse_addr16_cjp() argument
281 errmsg = cgen_parse_address (cd, strp, opindex, code, in parse_addr16_cjp()
311 const char **strp, in parse_lit8() argument
321 if (strncmp (*strp, "%bank", 5) == 0) in parse_lit8()
323 *strp += 5; in parse_lit8()
326 else if (strncmp (*strp, "%lo8data", 8) == 0) in parse_lit8()
328 *strp += 8; in parse_lit8()
331 else if (strncmp (*strp, "%hi8data", 8) == 0) in parse_lit8()
333 *strp += 8; in parse_lit8()
336 else if (strncmp (*strp, "%ex8data", 8) == 0) in parse_lit8()
338 *strp += 8; in parse_lit8()
341 else if (strncmp (*strp, "%lo8insn", 8) == 0) in parse_lit8()
343 *strp += 8; in parse_lit8()
346 else if (strncmp (*strp, "%hi8insn", 8) == 0) in parse_lit8()
348 *strp += 8; in parse_lit8()
355 errmsg = cgen_parse_address (cd, strp, opindex, code, in parse_lit8()
366 errmsg = cgen_parse_signed_integer (cd, strp, opindex, valuep); in parse_lit8()
378 const char **strp, in parse_bit3() argument
387 if (strncmp (*strp, "%bit", 4) == 0) in parse_bit3()
389 *strp += 4; in parse_bit3()
392 else if (strncmp (*strp, "%msbbit", 7) == 0) in parse_bit3()
394 *strp += 7; in parse_bit3()
397 else if (strncmp (*strp, "%lsbbit", 7) == 0) in parse_bit3()
399 *strp += 7; in parse_bit3()
403 errmsg = cgen_parse_unsigned_integer (cd, strp, opindex, valuep); in parse_bit3()
462 const char ** strp, in ip2k_cgen_parse_operand() argument
472 …errmsg = parse_addr16_cjp (cd, strp, IP2K_OPERAND_ADDR16CJP, (unsigned long *) (& fields->f_addr16… in ip2k_cgen_parse_operand()
475 errmsg = parse_addr16 (cd, strp, IP2K_OPERAND_ADDR16H, (unsigned long *) (& fields->f_imm8)); in ip2k_cgen_parse_operand()
478 errmsg = parse_addr16 (cd, strp, IP2K_OPERAND_ADDR16L, (unsigned long *) (& fields->f_imm8)); in ip2k_cgen_parse_operand()
481 … errmsg = parse_addr16_cjp (cd, strp, IP2K_OPERAND_ADDR16P, (unsigned long *) (& fields->f_page3)); in ip2k_cgen_parse_operand()
484 errmsg = parse_bit3 (cd, strp, IP2K_OPERAND_BITNO, (unsigned long *) (& fields->f_bitno)); in ip2k_cgen_parse_operand()
487 … errmsg = cgen_parse_unsigned_integer (cd, strp, IP2K_OPERAND_CBIT, (unsigned long *) (& junk)); in ip2k_cgen_parse_operand()
490 … errmsg = cgen_parse_unsigned_integer (cd, strp, IP2K_OPERAND_DCBIT, (unsigned long *) (& junk)); in ip2k_cgen_parse_operand()
493 errmsg = parse_fr (cd, strp, IP2K_OPERAND_FR, (unsigned long *) (& fields->f_reg)); in ip2k_cgen_parse_operand()
496 errmsg = parse_lit8 (cd, strp, IP2K_OPERAND_LIT8, (long *) (& fields->f_imm8)); in ip2k_cgen_parse_operand()
499 … errmsg = cgen_parse_unsigned_integer (cd, strp, IP2K_OPERAND_PABITS, (unsigned long *) (& junk)); in ip2k_cgen_parse_operand()
502 …errmsg = cgen_parse_unsigned_integer (cd, strp, IP2K_OPERAND_RETI3, (unsigned long *) (& fields->f… in ip2k_cgen_parse_operand()
505 … errmsg = cgen_parse_unsigned_integer (cd, strp, IP2K_OPERAND_ZBIT, (unsigned long *) (& junk)); in ip2k_cgen_parse_operand()
673 const char **strp, in parse_insn_normal() argument
678 const char *str = *strp; in parse_insn_normal()