Home
last modified time | relevance | path

Searched refs:strp (Results 1 – 25 of 35) sorted by relevance

12

/toolchain/binutils/binutils-2.25/opcodes/
Dfrv-asm.c54 const char **strp, in parse_symbolic_address() argument
62 (cd, CGEN_PARSE_OPERAND_SYMBOLIC, strp, opindex, opinfo, in parse_symbolic_address()
77 const char **strp, in parse_ldd_annotation() argument
85 if (**strp == '#' || **strp == '%') in parse_ldd_annotation()
87 if (strncasecmp (*strp + 1, "tlsdesc(", 8) == 0) in parse_ldd_annotation()
89 *strp += 9; in parse_ldd_annotation()
90 errmsg = parse_symbolic_address (cd, strp, opindex, in parse_ldd_annotation()
93 if (**strp != ')') in parse_ldd_annotation()
97 ++*strp; in parse_ldd_annotation()
103 while (**strp == ' ' || **strp == '\t') in parse_ldd_annotation()
[all …]
Dm32c-asm.c57 m32c_cgen_isa_register (const char **strp) in m32c_cgen_isa_register() argument
60 const char *s = *strp; in m32c_cgen_isa_register()
84 if (**strp == '[') \
87 errmsg = cgen_parse_unsigned_integer (cd, strp, opindex, & value);\
97 if (**strp == '[') \
100 errmsg = cgen_parse_signed_integer (cd, strp, opindex, & value); \
107 parse_unsigned6 (CGEN_CPU_DESC cd, const char **strp, in parse_unsigned6() argument
123 parse_unsigned8 (CGEN_CPU_DESC cd, const char **strp, in parse_unsigned8() argument
130 if (strncasecmp (*strp, "%dsp8(", 6) == 0) in parse_unsigned8()
135 *strp += 6; in parse_unsigned8()
[all …]
Dmep-asm.c72 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()
97 const char **strp, in parse_ivc2_cr() argument
101 return cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_cr_ivc2, field); in parse_ivc2_cr()
110 const char **strp, 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
[all …]
Dmt-asm.c65 const char **strp, in parse_loopsize() argument
79 errmsg = cgen_parse_address (cd, strp, opindex, code, in parse_loopsize()
90 const char **strp, in parse_imm16() argument
104 errmsg = cgen_parse_address (cd, strp, opindex, code, in parse_imm16()
119 else if (strncmp (*strp, "%hi16", 5) == 0) in parse_imm16()
121 *strp += 5; in parse_imm16()
124 else if (strncmp (*strp, "%lo16", 5) == 0) in parse_imm16()
126 *strp += 5; in parse_imm16()
136 errmsg = cgen_parse_address (cd, strp, opindex, code, in parse_imm16()
168 if ((*strp)[0] == '0' in parse_imm16()
[all …]
Dor1k-asm.c59 const char ** strp, in parse_disp26() argument
68 if (strncasecmp (*strp, "plt(", 4) == 0) in parse_disp26()
72 *strp += 4; in parse_disp26()
73 errmsg = cgen_parse_address (cd, strp, opindex, BFD_RELOC_OR1K_PLT26, in parse_disp26()
75 if (**strp != ')') in parse_disp26()
77 ++*strp; in parse_disp26()
84 return cgen_parse_address (cd, strp, opindex, opinfo, resultp, valuep); in parse_disp26()
88 parse_simm16 (CGEN_CPU_DESC cd, const char ** strp, int opindex, long * valuep) in parse_simm16() argument
94 if (**strp == '#') in parse_simm16()
95 ++*strp; in parse_simm16()
[all …]
Dxc16x-asm.c56 const char **strp, in parse_hash() argument
60 if (**strp == '#') in parse_hash()
62 ++*strp; in parse_hash()
72 const char **strp, in parse_dot() argument
76 if (**strp == '.') in parse_dot()
78 ++*strp; in parse_dot()
88 const char **strp, in parse_pof() argument
92 if (strncasecmp (*strp, "pof:", 4) == 0) in parse_pof()
94 *strp += 4; in parse_pof()
104 const char **strp, in parse_pag() argument
[all …]
Dm32r-asm.c58 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()
[all …]
Dfr30-asm.c55 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()
[all …]
Diq2000-asm.c68 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
[all …]
Dip2k-asm.c55 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()
[all …]
Dlm32-asm.c57 const char **strp, in parse_imm() argument
64 errmsg = cgen_parse_signed_integer (cd, strp, opindex, & value); in parse_imm()
80 const char **strp, in parse_hi16() argument
84 if (strncasecmp (*strp, "hi(", 3) == 0) in parse_hi16()
90 *strp += 3; in parse_hi16()
91 errmsg = cgen_parse_address (cd, strp, opindex, BFD_RELOC_HI16, in parse_hi16()
93 if (**strp != ')') in parse_hi16()
96 ++*strp; in parse_hi16()
105 return parse_imm (cd, strp, opindex, valuep); in parse_hi16()
112 const char **strp, in parse_lo16() argument
[all …]
Depiphany-asm.c54 const char ** strp, in parse_shortregs() argument
61 errmsg = cgen_parse_keyword (cd, strp, keywords, regno); in parse_shortregs()
77 const char ** strp, in parse_uimm_not_reg() argument
82 return parse_simm_not_reg (cd, strp, opindex, svalp); in parse_uimm_not_reg()
89 const char ** strp, in parse_simm_not_reg() argument
112 errmsg = cgen_parse_keyword (cd, strp, & epiphany_cgen_opval_gr_names,valuep); in parse_simm_not_reg()
116 errmsg = (sign ? cgen_parse_signed_integer (cd, strp, opindex, valuep) in parse_simm_not_reg()
117 : cgen_parse_unsigned_integer (cd, strp, opindex, in parse_simm_not_reg()
133 const char ** strp, in parse_postindex() argument
137 if (**strp == '#') in parse_postindex()
[all …]
Dxstormy16-asm.c61 const char **strp, in parse_mem8() argument
65 if (**strp == '(') in parse_mem8()
67 const char *s = *strp; in parse_mem8()
79 else if (cgen_parse_keyword (cd, strp, & xstormy16_cgen_opval_gr_names, in parse_mem8()
82 else if (strncasecmp (*strp, "rx,", 3) == 0 in parse_mem8()
83 || strncasecmp (*strp, "rxl,", 3) == 0 in parse_mem8()
84 || strncasecmp (*strp, "rxh,", 3) == 0) in parse_mem8()
86 else if (**strp == '#') in parse_mem8()
89 return cgen_parse_unsigned_integer (cd, strp, opindex, valuep); in parse_mem8()
99 const char **strp, in parse_small_immediate() argument
[all …]
/toolchain/binutils/binutils-2.25/cpu/
Dor1k.opc56 const char ** strp,
65 if (strncasecmp (*strp, "plt(", 4) == 0)
69 *strp += 4;
70 errmsg = cgen_parse_address (cd, strp, opindex, BFD_RELOC_OR1K_PLT26,
72 if (**strp != ')')
74 ++*strp;
81 return cgen_parse_address (cd, strp, opindex, opinfo, resultp, valuep);
85 parse_simm16 (CGEN_CPU_DESC cd, const char ** strp, int opindex, long * valuep)
91 if (**strp == '#')
92 ++*strp;
[all …]
Dfrv.opc933 const char **strp,
941 (cd, CGEN_PARSE_OPERAND_SYMBOLIC, strp, opindex, opinfo,
956 const char **strp,
964 if (**strp == '#' || **strp == '%')
966 if (strncasecmp (*strp + 1, "tlsdesc(", 8) == 0)
968 *strp += 9;
969 errmsg = parse_symbolic_address (cd, strp, opindex,
972 if (**strp != ')')
976 ++*strp;
982 while (**strp == ' ' || **strp == '\t')
[all …]
Dmt.opc102 const char **strp,
116 errmsg = cgen_parse_address (cd, strp, opindex, code,
127 const char **strp,
141 errmsg = cgen_parse_address (cd, strp, opindex, code,
156 else if (strncmp (*strp, "%hi16", 5) == 0)
158 *strp += 5;
161 else if (strncmp (*strp, "%lo16", 5) == 0)
163 *strp += 5;
173 errmsg = cgen_parse_address (cd, strp, opindex, code,
205 if ((*strp)[0] == '0'
[all …]
Dm32c.opc89 m32c_cgen_isa_register (const char **strp)
92 const char *s = *strp;
116 if (**strp == '[') \
119 errmsg = cgen_parse_unsigned_integer (cd, strp, opindex, & value);\
129 if (**strp == '[') \
132 errmsg = cgen_parse_signed_integer (cd, strp, opindex, & value); \
139 parse_unsigned6 (CGEN_CPU_DESC cd, const char **strp,
155 parse_unsigned8 (CGEN_CPU_DESC cd, const char **strp,
162 if (strncasecmp (*strp, "%dsp8(", 6) == 0)
167 *strp += 6;
[all …]
Dlm32.opc36 const char **strp,
43 errmsg = cgen_parse_signed_integer (cd, strp, opindex, & value);
59 const char **strp,
63 if (strncasecmp (*strp, "hi(", 3) == 0)
69 *strp += 3;
70 errmsg = cgen_parse_address (cd, strp, opindex, BFD_RELOC_HI16,
72 if (**strp != ')')
75 ++*strp;
84 return parse_imm (cd, strp, opindex, valuep);
91 const char **strp,
[all …]
Diq2000.opc72 iq2000_cgen_isa_register (const char **strp)
77 if (**strp == 'r' || **strp == 'R')
79 len = strlen (*strp);
82 ch1 = (*strp)[1];
88 ch1 = (*strp)[1];
89 ch2 = (*strp)[2];
96 if (**strp == '%'
97 && TOLOWER ((*strp)[1]) != 'l'
98 && TOLOWER ((*strp)[1]) != 'h')
107 const char **strp,
[all …]
Dm32r.opc93 const char **strp,
97 if (**strp == '#')
98 ++*strp;
106 const char **strp,
114 if (**strp == '#')
115 ++*strp;
117 if (strncasecmp (*strp, "high(", 5) == 0)
119 *strp += 5;
120 errmsg = cgen_parse_address (cd, strp, opindex, BFD_RELOC_M32R_HI16_ULO,
122 if (**strp != ')')
[all …]
Dip2k.opc91 const char **strp,
103 old_strp = *strp;
108 if ((strncmp (*strp, "w", 1) == 0) || (strncmp (*strp, "W", 1) == 0))
110 (*strp)++;
112 if ((strncmp (*strp, ",", 1) == 0) || ISSPACE (**strp))
119 *strp = old_strp;
123 errmsg = cgen_parse_keyword (cd, strp, & ip2k_cgen_opval_register_names,
125 if (*strp != NULL
130 afteroffset = strstr (*strp, "(IP)");
134 afteroffset = strstr (*strp, "(ip)");
[all …]
Dfr30.opc52 parse_register_number (const char **strp)
56 if (**strp < '0' || **strp > '9')
58 regno = **strp - '0';
59 ++*strp;
61 if (**strp >= '0' && **strp <= '9')
63 regno = regno * 10 + (**strp - '0');
64 ++*strp;
72 const char **strp,
79 while (**strp && **strp != ')')
83 if (**strp != 'R' && **strp != 'r')
[all …]
Depiphany.opc72 const char ** strp,
77 const char ** strp,
94 const char ** strp,
101 errmsg = cgen_parse_keyword (cd, strp, keywords, regno);
117 const char ** strp,
122 return parse_simm_not_reg (cd, strp, opindex, svalp);
129 const char ** strp,
152 errmsg = cgen_parse_keyword (cd, strp, & epiphany_cgen_opval_gr_names,valuep);
156 errmsg = (sign ? cgen_parse_signed_integer (cd, strp, opindex, valuep)
157 : cgen_parse_unsigned_integer (cd, strp, opindex,
[all …]
Dxstormy16.opc59 const char **strp,
63 if (**strp == '(')
65 const char *s = *strp;
77 else if (cgen_parse_keyword (cd, strp, & xstormy16_cgen_opval_gr_names,
80 else if (strncasecmp (*strp, "rx,", 3) == 0
81 || strncasecmp (*strp, "rxl,", 3) == 0
82 || strncasecmp (*strp, "rxh,", 3) == 0)
84 else if (**strp == '#')
87 return cgen_parse_unsigned_integer (cd, strp, opindex, valuep);
97 const char **strp,
[all …]
Dmep.opc117 parse_csrn (CGEN_CPU_DESC cd, const char **strp,
123 err = cgen_parse_keyword (cd, strp, keyword_table, field);
127 err = cgen_parse_unsigned_integer (cd, strp, MEP_OPERAND_CSRN_IDX, & value);
142 const char **strp,
146 return cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_cr_ivc2, field);
155 const char **strp,
159 return cgen_parse_keyword (cd, strp, & mep_cgen_opval_h_ccr_ivc2, field);
164 parse_tpreg (CGEN_CPU_DESC cd, const char ** strp,
169 err = cgen_parse_keyword (cd, strp, keyword_table, field);
178 parse_spreg (CGEN_CPU_DESC cd, const char ** strp,
[all …]

12