Lines Matching refs:strp
57 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()
136 errmsg = cgen_parse_address (cd, strp, opindex, BFD_RELOC_8, in parse_unsigned8()
138 if (**strp != ')') in parse_unsigned8()
140 (*strp) ++; in parse_unsigned8()
151 if (strncmp (*strp, "0x0", 3) == 0 in parse_unsigned8()
152 || (**strp == '0' && *(*strp + 1) != 'x')) in parse_unsigned8()
169 parse_signed4 (CGEN_CPU_DESC cd, const char **strp, in parse_signed4() argument
176 if (strncmp (*strp, "0x0", 3) == 0 in parse_signed4()
177 || (**strp == '0' && *(*strp + 1) != 'x')) in parse_signed4()
194 parse_signed4n (CGEN_CPU_DESC cd, const char **strp, in parse_signed4n() argument
201 if (strncmp (*strp, "0x0", 3) == 0 in parse_signed4n()
202 || (**strp == '0' && *(*strp + 1) != 'x')) in parse_signed4n()
219 parse_signed8 (CGEN_CPU_DESC cd, const char **strp, in parse_signed8() argument
225 if (strncasecmp (*strp, "%hi8(", 5) == 0) in parse_signed8()
230 *strp += 5; in parse_signed8()
231 errmsg = cgen_parse_address (cd, strp, opindex, BFD_RELOC_M32C_HI8, in parse_signed8()
233 if (**strp != ')') in parse_signed8()
235 (*strp) ++; in parse_signed8()
259 parse_unsigned16 (CGEN_CPU_DESC cd, const char **strp, in parse_unsigned16() argument
266 if (strncasecmp (*strp, "%dsp16(", 7) == 0) in parse_unsigned16()
271 *strp += 7; in parse_unsigned16()
272 errmsg = cgen_parse_address (cd, strp, opindex, BFD_RELOC_16, in parse_unsigned16()
274 if (**strp != ')') in parse_unsigned16()
276 (*strp) ++; in parse_unsigned16()
288 if (**strp == '[') in parse_unsigned16()
292 if (m32c_cgen_isa_register (strp)) in parse_unsigned16()
295 if (strncmp (*strp, "0x0", 3) == 0 in parse_unsigned16()
296 || (**strp == '0' && *(*strp + 1) != 'x')) in parse_unsigned16()
299 errmsg = cgen_parse_unsigned_integer (cd, strp, opindex, & value); in parse_unsigned16()
308 && (strncmp (*strp, "[a", 2) == 0 in parse_unsigned16()
309 || **strp == ',' in parse_unsigned16()
310 || **strp == 0)) in parse_unsigned16()
318 parse_signed16 (CGEN_CPU_DESC cd, const char **strp, in parse_signed16() argument
324 if (strncasecmp (*strp, "%lo16(", 6) == 0) in parse_signed16()
329 *strp += 6; in parse_signed16()
330 errmsg = cgen_parse_address (cd, strp, opindex, BFD_RELOC_LO16, in parse_signed16()
332 if (**strp != ')') in parse_signed16()
334 (*strp) ++; in parse_signed16()
345 if (strncasecmp (*strp, "%hi16(", 6) == 0) in parse_signed16()
350 *strp += 6; in parse_signed16()
351 errmsg = cgen_parse_address (cd, strp, opindex, BFD_RELOC_HI16, in parse_signed16()
353 if (**strp != ')') in parse_signed16()
355 (*strp) ++; in parse_signed16()
379 parse_unsigned20 (CGEN_CPU_DESC cd, const char **strp, in parse_unsigned20() argument
386 if (**strp == '[') in parse_unsigned20()
390 if (m32c_cgen_isa_register (strp)) in parse_unsigned20()
393 errmsg = cgen_parse_unsigned_integer (cd, strp, opindex, & value); in parse_unsigned20()
405 parse_unsigned24 (CGEN_CPU_DESC cd, const char **strp, in parse_unsigned24() argument
412 if (**strp == '[') in parse_unsigned24()
416 if (m32c_cgen_isa_register (strp)) in parse_unsigned24()
419 errmsg = cgen_parse_unsigned_integer (cd, strp, opindex, & value); in parse_unsigned24()
432 parse_signed24 (CGEN_CPU_DESC cd, const char **strp, in parse_signed24() argument
451 parse_signed32 (CGEN_CPU_DESC cd, const char **strp, in parse_signed32() argument
457 errmsg = cgen_parse_signed_integer (cd, strp, opindex, & value); in parse_signed32()
466 parse_imm1_S (CGEN_CPU_DESC cd, const char **strp, in parse_imm1_S() argument
472 errmsg = cgen_parse_signed_integer (cd, strp, opindex, & value); in parse_imm1_S()
484 parse_imm3_S (CGEN_CPU_DESC cd, const char **strp, in parse_imm3_S() argument
490 errmsg = cgen_parse_signed_integer (cd, strp, opindex, & value); in parse_imm3_S()
502 parse_bit3_S (CGEN_CPU_DESC cd, const char **strp, in parse_bit3_S() argument
508 errmsg = cgen_parse_signed_integer (cd, strp, opindex, & value); in parse_bit3_S()
521 const char **strp, in parse_lab_5_3() argument
531 errmsg = cgen_parse_address (cd, strp, M32C_OPERAND_LAB_5_3, in parse_lab_5_3()
556 parse_Bitno16R (CGEN_CPU_DESC cd, const char **strp, in parse_Bitno16R() argument
562 errmsg = cgen_parse_unsigned_integer (cd, strp, opindex, & value); in parse_Bitno16R()
574 parse_unsigned_bitbase (CGEN_CPU_DESC cd, const char **strp, in parse_unsigned_bitbase() argument
581 const char *newp = *strp; in parse_unsigned_bitbase()
623 *strp = newp; in parse_unsigned_bitbase()
628 parse_signed_bitbase (CGEN_CPU_DESC cd, const char **strp, in parse_signed_bitbase() argument
635 const char *newp = *strp; in parse_signed_bitbase()
668 *strp = newp; in parse_signed_bitbase()
673 parse_unsigned_bitbase8 (CGEN_CPU_DESC cd, const char **strp, in parse_unsigned_bitbase8() argument
676 return parse_unsigned_bitbase (cd, strp, opindex, valuep, 8, 0); in parse_unsigned_bitbase8()
680 parse_unsigned_bitbase11 (CGEN_CPU_DESC cd, const char **strp, in parse_unsigned_bitbase11() argument
683 return parse_unsigned_bitbase (cd, strp, opindex, valuep, 11, 0); in parse_unsigned_bitbase11()
687 parse_unsigned_bitbase16 (CGEN_CPU_DESC cd, const char **strp, in parse_unsigned_bitbase16() argument
690 return parse_unsigned_bitbase (cd, strp, opindex, valuep, 16, 1); in parse_unsigned_bitbase16()
694 parse_unsigned_bitbase19 (CGEN_CPU_DESC cd, const char **strp, in parse_unsigned_bitbase19() argument
697 return parse_unsigned_bitbase (cd, strp, opindex, valuep, 19, 2); in parse_unsigned_bitbase19()
701 parse_unsigned_bitbase27 (CGEN_CPU_DESC cd, const char **strp, in parse_unsigned_bitbase27() argument
704 return parse_unsigned_bitbase (cd, strp, opindex, valuep, 27, 1); in parse_unsigned_bitbase27()
708 parse_signed_bitbase8 (CGEN_CPU_DESC cd, const char **strp, in parse_signed_bitbase8() argument
711 return parse_signed_bitbase (cd, strp, opindex, valuep, 8, 1); in parse_signed_bitbase8()
715 parse_signed_bitbase11 (CGEN_CPU_DESC cd, const char **strp, in parse_signed_bitbase11() argument
718 return parse_signed_bitbase (cd, strp, opindex, valuep, 11, 0); in parse_signed_bitbase11()
722 parse_signed_bitbase19 (CGEN_CPU_DESC cd, const char **strp, in parse_signed_bitbase19() argument
725 return parse_signed_bitbase (cd, strp, opindex, valuep, 19, 1); in parse_signed_bitbase19()
731 parse_suffix (const char **strp, char suffix) in parse_suffix() argument
733 const char *newp = *strp; in parse_suffix()
735 if (**strp == ':' && TOLOWER (*(*strp + 1)) == suffix) in parse_suffix()
736 newp = *strp + 2; in parse_suffix()
740 *strp = newp; in parse_suffix()
748 parse_S (CGEN_CPU_DESC cd ATTRIBUTE_UNUSED, const char **strp, in parse_S() argument
751 return parse_suffix (strp, 's'); in parse_S()
755 parse_G (CGEN_CPU_DESC cd ATTRIBUTE_UNUSED, const char **strp, in parse_G() argument
758 return parse_suffix (strp, 'g'); in parse_G()
762 parse_Q (CGEN_CPU_DESC cd ATTRIBUTE_UNUSED, const char **strp, in parse_Q() argument
765 return parse_suffix (strp, 'q'); in parse_Q()
769 parse_Z (CGEN_CPU_DESC cd ATTRIBUTE_UNUSED, const char **strp, in parse_Z() argument
772 return parse_suffix (strp, 'z'); in parse_Z()
778 parse_X (CGEN_CPU_DESC cd ATTRIBUTE_UNUSED, const char **strp, in parse_X() argument
781 if (**strp == ':') in parse_X()
787 parse_r0l_r0h (CGEN_CPU_DESC cd, const char **strp, in parse_r0l_r0h() argument
793 const char *newp = *strp; in parse_r0l_r0h()
812 *strp = newp; in parse_r0l_r0h()
820 parse_size (CGEN_CPU_DESC cd ATTRIBUTE_UNUSED, const char **strp, in parse_size() argument
823 if (**strp == '.' in parse_size()
824 && (*(*strp + 1) == 'b' || *(*strp + 1) == 'B' in parse_size()
825 || *(*strp + 1) == 'w' || *(*strp + 1) == 'W')) in parse_size()
827 *strp += 2; in parse_size()
855 const char **strp, in parse_regset() argument
864 while (**strp && **strp != ')') in parse_regset()
866 if (**strp == 'r' || **strp == 'R') in parse_regset()
868 ++*strp; in parse_regset()
869 regno = **strp - '0'; in parse_regset()
873 else if (**strp == 'a' || **strp == 'A') in parse_regset()
875 ++*strp; in parse_regset()
876 regno = **strp - '0'; in parse_regset()
879 regno = **strp - '0' + 4; in parse_regset()
882 else if (strncasecmp (*strp, "sb", 2) == 0 || strncasecmp (*strp, "SB", 2) == 0) in parse_regset()
885 ++*strp; in parse_regset()
888 else if (strncasecmp (*strp, "fb", 2) == 0 || strncasecmp (*strp, "FB", 2) == 0) in parse_regset()
891 ++*strp; in parse_regset()
899 ++*strp; in parse_regset()
900 if (**strp == ',') in parse_regset()
902 if (*(*strp + 1) == ')') in parse_regset()
904 ++*strp; in parse_regset()
908 if (!*strp) in parse_regset()
919 const char **strp, in parse_pop_regset() argument
923 return parse_regset (cd, strp, opindex, valuep, POP); in parse_pop_regset()
928 const char **strp, in parse_push_regset() argument
932 return parse_regset (cd, strp, opindex, valuep, PUSH); in parse_push_regset()
956 const char ** strp, in m32c_cgen_parse_operand() argument
966 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_a0, & junk); in m32c_cgen_parse_operand()
969 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_a1, & junk); in m32c_cgen_parse_operand()
972 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_ar_HI, & fields->f_4_1); in m32c_cgen_parse_operand()
975 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_ar, & fields->f_dst16_an); in m32c_cgen_parse_operand()
978 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_gr_HI, & fields->f_dst16_rn); in m32c_cgen_parse_operand()
981 errmsg = parse_bit3_S (cd, strp, M32C_OPERAND_BIT3_S, (long *) (& fields->f_imm3_S)); in m32c_cgen_parse_operand()
984 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_ar, & fields->f_dst32_an_prefixed); in m32c_cgen_parse_operand()
987 … errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_ar, & fields->f_dst32_an_unprefixed); in m32c_cgen_parse_operand()
990 …errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_gr_QI, & fields->f_dst32_rn_prefixed_QI… in m32c_cgen_parse_operand()
993 …errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_gr_QI, & fields->f_dst32_rn_unprefixed_… in m32c_cgen_parse_operand()
996 …errmsg = parse_signed_bitbase8 (cd, strp, M32C_OPERAND_BITBASE16_16_S8, (long *) (& fields->f_dsp_… in m32c_cgen_parse_operand()
999 …errmsg = parse_unsigned_bitbase16 (cd, strp, M32C_OPERAND_BITBASE16_16_U16, (unsigned long *) (& f… in m32c_cgen_parse_operand()
1002 …errmsg = parse_unsigned_bitbase8 (cd, strp, M32C_OPERAND_BITBASE16_16_U8, (unsigned long *) (& fie… in m32c_cgen_parse_operand()
1005 …errmsg = parse_unsigned_bitbase11 (cd, strp, M32C_OPERAND_BITBASE16_8_U11_S, (unsigned long *) (& … in m32c_cgen_parse_operand()
1008 …errmsg = parse_signed_bitbase11 (cd, strp, M32C_OPERAND_BITBASE32_16_S11_UNPREFIXED, (long *) (& f… in m32c_cgen_parse_operand()
1011 …errmsg = parse_signed_bitbase19 (cd, strp, M32C_OPERAND_BITBASE32_16_S19_UNPREFIXED, (long *) (& f… in m32c_cgen_parse_operand()
1014 …errmsg = parse_unsigned_bitbase11 (cd, strp, M32C_OPERAND_BITBASE32_16_U11_UNPREFIXED, (unsigned l… in m32c_cgen_parse_operand()
1017 …errmsg = parse_unsigned_bitbase19 (cd, strp, M32C_OPERAND_BITBASE32_16_U19_UNPREFIXED, (unsigned l… in m32c_cgen_parse_operand()
1020 …errmsg = parse_unsigned_bitbase27 (cd, strp, M32C_OPERAND_BITBASE32_16_U27_UNPREFIXED, (unsigned l… in m32c_cgen_parse_operand()
1023 …errmsg = parse_signed_bitbase11 (cd, strp, M32C_OPERAND_BITBASE32_24_S11_PREFIXED, (long *) (& fie… in m32c_cgen_parse_operand()
1026 …errmsg = parse_signed_bitbase19 (cd, strp, M32C_OPERAND_BITBASE32_24_S19_PREFIXED, (long *) (& fie… in m32c_cgen_parse_operand()
1029 …errmsg = parse_unsigned_bitbase11 (cd, strp, M32C_OPERAND_BITBASE32_24_U11_PREFIXED, (unsigned lon… in m32c_cgen_parse_operand()
1032 …errmsg = parse_unsigned_bitbase19 (cd, strp, M32C_OPERAND_BITBASE32_24_U19_PREFIXED, (unsigned lon… in m32c_cgen_parse_operand()
1035 …errmsg = parse_unsigned_bitbase27 (cd, strp, M32C_OPERAND_BITBASE32_24_U27_PREFIXED, (unsigned lon… in m32c_cgen_parse_operand()
1038 …errmsg = parse_Bitno16R (cd, strp, M32C_OPERAND_BITNO16R, (unsigned long *) (& fields->f_dsp_16_u8… in m32c_cgen_parse_operand()
1041 …errmsg = cgen_parse_unsigned_integer (cd, strp, M32C_OPERAND_BITNO32PREFIXED, (unsigned long *) (&… in m32c_cgen_parse_operand()
1044 …errmsg = cgen_parse_unsigned_integer (cd, strp, M32C_OPERAND_BITNO32UNPREFIXED, (unsigned long *) … in m32c_cgen_parse_operand()
1047 …errmsg = parse_unsigned6 (cd, strp, M32C_OPERAND_DSP_10_U6, (unsigned long *) (& fields->f_dsp_10_… in m32c_cgen_parse_operand()
1050 … errmsg = parse_signed16 (cd, strp, M32C_OPERAND_DSP_16_S16, (long *) (& fields->f_dsp_16_s16)); in m32c_cgen_parse_operand()
1053 errmsg = parse_signed8 (cd, strp, M32C_OPERAND_DSP_16_S8, (long *) (& fields->f_dsp_16_s8)); in m32c_cgen_parse_operand()
1056 …errmsg = parse_unsigned16 (cd, strp, M32C_OPERAND_DSP_16_U16, (unsigned long *) (& fields->f_dsp_1… in m32c_cgen_parse_operand()
1059 …errmsg = parse_unsigned20 (cd, strp, M32C_OPERAND_DSP_16_U20, (unsigned long *) (& fields->f_dsp_1… in m32c_cgen_parse_operand()
1062 …errmsg = parse_unsigned24 (cd, strp, M32C_OPERAND_DSP_16_U24, (unsigned long *) (& fields->f_dsp_1… in m32c_cgen_parse_operand()
1065 …errmsg = parse_unsigned8 (cd, strp, M32C_OPERAND_DSP_16_U8, (unsigned long *) (& fields->f_dsp_16_… in m32c_cgen_parse_operand()
1068 … errmsg = parse_signed16 (cd, strp, M32C_OPERAND_DSP_24_S16, (long *) (& fields->f_dsp_24_s16)); in m32c_cgen_parse_operand()
1071 errmsg = parse_signed8 (cd, strp, M32C_OPERAND_DSP_24_S8, (long *) (& fields->f_dsp_24_s8)); in m32c_cgen_parse_operand()
1074 …errmsg = parse_unsigned16 (cd, strp, M32C_OPERAND_DSP_24_U16, (unsigned long *) (& fields->f_dsp_2… in m32c_cgen_parse_operand()
1077 …errmsg = parse_unsigned20 (cd, strp, M32C_OPERAND_DSP_24_U20, (unsigned long *) (& fields->f_dsp_2… in m32c_cgen_parse_operand()
1080 …errmsg = parse_unsigned24 (cd, strp, M32C_OPERAND_DSP_24_U24, (unsigned long *) (& fields->f_dsp_2… in m32c_cgen_parse_operand()
1083 …errmsg = parse_unsigned8 (cd, strp, M32C_OPERAND_DSP_24_U8, (unsigned long *) (& fields->f_dsp_24_… in m32c_cgen_parse_operand()
1086 … errmsg = parse_signed16 (cd, strp, M32C_OPERAND_DSP_32_S16, (long *) (& fields->f_dsp_32_s16)); in m32c_cgen_parse_operand()
1089 errmsg = parse_signed8 (cd, strp, M32C_OPERAND_DSP_32_S8, (long *) (& fields->f_dsp_32_s8)); in m32c_cgen_parse_operand()
1092 …errmsg = parse_unsigned16 (cd, strp, M32C_OPERAND_DSP_32_U16, (unsigned long *) (& fields->f_dsp_3… in m32c_cgen_parse_operand()
1095 …errmsg = parse_unsigned20 (cd, strp, M32C_OPERAND_DSP_32_U20, (unsigned long *) (& fields->f_dsp_3… in m32c_cgen_parse_operand()
1098 …errmsg = parse_unsigned24 (cd, strp, M32C_OPERAND_DSP_32_U24, (unsigned long *) (& fields->f_dsp_3… in m32c_cgen_parse_operand()
1101 …errmsg = parse_unsigned8 (cd, strp, M32C_OPERAND_DSP_32_U8, (unsigned long *) (& fields->f_dsp_32_… in m32c_cgen_parse_operand()
1104 … errmsg = parse_signed16 (cd, strp, M32C_OPERAND_DSP_40_S16, (long *) (& fields->f_dsp_40_s16)); in m32c_cgen_parse_operand()
1107 errmsg = parse_signed8 (cd, strp, M32C_OPERAND_DSP_40_S8, (long *) (& fields->f_dsp_40_s8)); in m32c_cgen_parse_operand()
1110 …errmsg = parse_unsigned16 (cd, strp, M32C_OPERAND_DSP_40_U16, (unsigned long *) (& fields->f_dsp_4… in m32c_cgen_parse_operand()
1113 …errmsg = parse_unsigned20 (cd, strp, M32C_OPERAND_DSP_40_U20, (unsigned long *) (& fields->f_dsp_4… in m32c_cgen_parse_operand()
1116 …errmsg = parse_unsigned24 (cd, strp, M32C_OPERAND_DSP_40_U24, (unsigned long *) (& fields->f_dsp_4… in m32c_cgen_parse_operand()
1119 …errmsg = parse_unsigned8 (cd, strp, M32C_OPERAND_DSP_40_U8, (unsigned long *) (& fields->f_dsp_40_… in m32c_cgen_parse_operand()
1122 … errmsg = parse_signed16 (cd, strp, M32C_OPERAND_DSP_48_S16, (long *) (& fields->f_dsp_48_s16)); in m32c_cgen_parse_operand()
1125 errmsg = parse_signed8 (cd, strp, M32C_OPERAND_DSP_48_S8, (long *) (& fields->f_dsp_48_s8)); in m32c_cgen_parse_operand()
1128 …errmsg = parse_unsigned16 (cd, strp, M32C_OPERAND_DSP_48_U16, (unsigned long *) (& fields->f_dsp_4… in m32c_cgen_parse_operand()
1131 …errmsg = parse_unsigned24 (cd, strp, M32C_OPERAND_DSP_48_U20, (unsigned long *) (& fields->f_dsp_4… in m32c_cgen_parse_operand()
1134 …errmsg = parse_unsigned24 (cd, strp, M32C_OPERAND_DSP_48_U24, (unsigned long *) (& fields->f_dsp_4… in m32c_cgen_parse_operand()
1137 …errmsg = parse_unsigned8 (cd, strp, M32C_OPERAND_DSP_48_U8, (unsigned long *) (& fields->f_dsp_48_… in m32c_cgen_parse_operand()
1140 errmsg = parse_signed24 (cd, strp, M32C_OPERAND_DSP_8_S24, (long *) (& fields->f_dsp_8_s24)); in m32c_cgen_parse_operand()
1143 errmsg = parse_signed8 (cd, strp, M32C_OPERAND_DSP_8_S8, (long *) (& fields->f_dsp_8_s8)); in m32c_cgen_parse_operand()
1146 …errmsg = parse_unsigned16 (cd, strp, M32C_OPERAND_DSP_8_U16, (unsigned long *) (& fields->f_dsp_8_… in m32c_cgen_parse_operand()
1149 …errmsg = parse_unsigned24 (cd, strp, M32C_OPERAND_DSP_8_U24, (unsigned long *) (& fields->f_dsp_8_… in m32c_cgen_parse_operand()
1152 …errmsg = parse_unsigned6 (cd, strp, M32C_OPERAND_DSP_8_U6, (unsigned long *) (& fields->f_dsp_8_u6… in m32c_cgen_parse_operand()
1155 …errmsg = parse_unsigned8 (cd, strp, M32C_OPERAND_DSP_8_U8, (unsigned long *) (& fields->f_dsp_8_u8… in m32c_cgen_parse_operand()
1158 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_ar, & fields->f_dst16_an); in m32c_cgen_parse_operand()
1161 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_ar_HI, & fields->f_dst16_an_s); in m32c_cgen_parse_operand()
1164 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_ar_HI, & fields->f_dst16_an); in m32c_cgen_parse_operand()
1167 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_ar_QI, & fields->f_dst16_an); in m32c_cgen_parse_operand()
1170 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_ar_QI, & fields->f_dst16_rn_QI_s); in m32c_cgen_parse_operand()
1173 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_ar_SI, & fields->f_dst16_an); in m32c_cgen_parse_operand()
1176 … errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_gr_ext_QI, & fields->f_dst16_rn_ext); in m32c_cgen_parse_operand()
1179 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_gr_HI, & fields->f_dst16_rn); in m32c_cgen_parse_operand()
1182 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_gr_QI, & fields->f_dst16_rn); in m32c_cgen_parse_operand()
1185 … errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_r0l_r0h, & fields->f_dst16_rn_QI_s); in m32c_cgen_parse_operand()
1188 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_gr_SI, & fields->f_dst16_rn); in m32c_cgen_parse_operand()
1191 … errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_ar, & fields->f_dst32_an_unprefixed); in m32c_cgen_parse_operand()
1194 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_ar, & fields->f_dst32_an_prefixed); in m32c_cgen_parse_operand()
1197 … errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_ar_HI, & fields->f_dst32_an_prefixed); in m32c_cgen_parse_operand()
1200 … errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_ar_QI, & fields->f_dst32_an_prefixed); in m32c_cgen_parse_operand()
1203 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_ar, & fields->f_dst32_an_prefixed); in m32c_cgen_parse_operand()
1206 … errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_ar, & fields->f_dst32_an_unprefixed); in m32c_cgen_parse_operand()
1209 …errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_ar_HI, & fields->f_dst32_an_unprefixed); in m32c_cgen_parse_operand()
1212 …errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_ar_QI, & fields->f_dst32_an_unprefixed); in m32c_cgen_parse_operand()
1215 … errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_ar, & fields->f_dst32_an_unprefixed); in m32c_cgen_parse_operand()
1218 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_r0, & junk); in m32c_cgen_parse_operand()
1221 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_r0l, & junk); in m32c_cgen_parse_operand()
1224 …errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_gr_ext_HI, & fields->f_dst32_rn_ext_unp… in m32c_cgen_parse_operand()
1227 …errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_gr_ext_QI, & fields->f_dst32_rn_ext_unp… in m32c_cgen_parse_operand()
1230 …errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_gr_HI, & fields->f_dst32_rn_prefixed_HI… in m32c_cgen_parse_operand()
1233 …errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_gr_QI, & fields->f_dst32_rn_prefixed_QI… in m32c_cgen_parse_operand()
1236 …errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_gr_SI, & fields->f_dst32_rn_prefixed_SI… in m32c_cgen_parse_operand()
1239 …errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_gr_HI, & fields->f_dst32_rn_unprefixed_… in m32c_cgen_parse_operand()
1242 …errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_gr_QI, & fields->f_dst32_rn_unprefixed_… in m32c_cgen_parse_operand()
1245 …errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_gr_SI, & fields->f_dst32_rn_unprefixed_… in m32c_cgen_parse_operand()
1248 errmsg = parse_G (cd, strp, M32C_OPERAND_G, (long *) (& junk)); in m32c_cgen_parse_operand()
1251 errmsg = parse_signed4 (cd, strp, M32C_OPERAND_IMM_12_S4, (long *) (& fields->f_imm_12_s4)); in m32c_cgen_parse_operand()
1254 errmsg = parse_signed4n (cd, strp, M32C_OPERAND_IMM_12_S4N, (long *) (& fields->f_imm_12_s4)); in m32c_cgen_parse_operand()
1257 errmsg = parse_signed4 (cd, strp, M32C_OPERAND_IMM_13_U3, (long *) (& fields->f_imm_13_u3)); in m32c_cgen_parse_operand()
1260 errmsg = parse_signed16 (cd, strp, M32C_OPERAND_IMM_16_HI, (long *) (& fields->f_dsp_16_s16)); in m32c_cgen_parse_operand()
1263 errmsg = parse_signed8 (cd, strp, M32C_OPERAND_IMM_16_QI, (long *) (& fields->f_dsp_16_s8)); in m32c_cgen_parse_operand()
1266 errmsg = parse_signed32 (cd, strp, M32C_OPERAND_IMM_16_SI, (long *) (& fields->f_dsp_16_s32)); in m32c_cgen_parse_operand()
1269 errmsg = parse_signed4 (cd, strp, M32C_OPERAND_IMM_20_S4, (long *) (& fields->f_imm_20_s4)); in m32c_cgen_parse_operand()
1272 errmsg = parse_signed16 (cd, strp, M32C_OPERAND_IMM_24_HI, (long *) (& fields->f_dsp_24_s16)); in m32c_cgen_parse_operand()
1275 errmsg = parse_signed8 (cd, strp, M32C_OPERAND_IMM_24_QI, (long *) (& fields->f_dsp_24_s8)); in m32c_cgen_parse_operand()
1278 errmsg = parse_signed32 (cd, strp, M32C_OPERAND_IMM_24_SI, (long *) (& fields->f_dsp_24_s32)); in m32c_cgen_parse_operand()
1281 errmsg = parse_signed16 (cd, strp, M32C_OPERAND_IMM_32_HI, (long *) (& fields->f_dsp_32_s16)); in m32c_cgen_parse_operand()
1284 errmsg = parse_signed8 (cd, strp, M32C_OPERAND_IMM_32_QI, (long *) (& fields->f_dsp_32_s8)); in m32c_cgen_parse_operand()
1287 errmsg = parse_signed32 (cd, strp, M32C_OPERAND_IMM_32_SI, (long *) (& fields->f_dsp_32_s32)); in m32c_cgen_parse_operand()
1290 errmsg = parse_signed16 (cd, strp, M32C_OPERAND_IMM_40_HI, (long *) (& fields->f_dsp_40_s16)); in m32c_cgen_parse_operand()
1293 errmsg = parse_signed8 (cd, strp, M32C_OPERAND_IMM_40_QI, (long *) (& fields->f_dsp_40_s8)); in m32c_cgen_parse_operand()
1296 errmsg = parse_signed32 (cd, strp, M32C_OPERAND_IMM_40_SI, (long *) (& fields->f_dsp_40_s32)); in m32c_cgen_parse_operand()
1299 errmsg = parse_signed16 (cd, strp, M32C_OPERAND_IMM_48_HI, (long *) (& fields->f_dsp_48_s16)); in m32c_cgen_parse_operand()
1302 errmsg = parse_signed8 (cd, strp, M32C_OPERAND_IMM_48_QI, (long *) (& fields->f_dsp_48_s8)); in m32c_cgen_parse_operand()
1305 errmsg = parse_signed32 (cd, strp, M32C_OPERAND_IMM_48_SI, (long *) (& fields->f_dsp_48_s32)); in m32c_cgen_parse_operand()
1308 errmsg = parse_signed16 (cd, strp, M32C_OPERAND_IMM_56_HI, (long *) (& fields->f_dsp_56_s16)); in m32c_cgen_parse_operand()
1311 errmsg = parse_signed8 (cd, strp, M32C_OPERAND_IMM_56_QI, (long *) (& fields->f_dsp_56_s8)); in m32c_cgen_parse_operand()
1314 errmsg = parse_signed16 (cd, strp, M32C_OPERAND_IMM_64_HI, (long *) (& fields->f_dsp_64_s16)); in m32c_cgen_parse_operand()
1317 errmsg = parse_signed16 (cd, strp, M32C_OPERAND_IMM_8_HI, (long *) (& fields->f_dsp_8_s16)); in m32c_cgen_parse_operand()
1320 errmsg = parse_signed8 (cd, strp, M32C_OPERAND_IMM_8_QI, (long *) (& fields->f_dsp_8_s8)); in m32c_cgen_parse_operand()
1323 errmsg = parse_signed4 (cd, strp, M32C_OPERAND_IMM_8_S4, (long *) (& fields->f_imm_8_s4)); in m32c_cgen_parse_operand()
1326 errmsg = parse_signed4n (cd, strp, M32C_OPERAND_IMM_8_S4N, (long *) (& fields->f_imm_8_s4)); in m32c_cgen_parse_operand()
1329 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_shimm, & fields->f_imm_12_s4); in m32c_cgen_parse_operand()
1332 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_shimm, & fields->f_imm_20_s4); in m32c_cgen_parse_operand()
1335 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_shimm, & fields->f_imm_8_s4); in m32c_cgen_parse_operand()
1338 errmsg = parse_imm1_S (cd, strp, M32C_OPERAND_IMM1_S, (long *) (& fields->f_imm1_S)); in m32c_cgen_parse_operand()
1341 errmsg = parse_imm3_S (cd, strp, M32C_OPERAND_IMM3_S, (long *) (& fields->f_imm3_S)); in m32c_cgen_parse_operand()
1346 errmsg = cgen_parse_address (cd, strp, M32C_OPERAND_LAB_16_8, 0, NULL, & value); in m32c_cgen_parse_operand()
1353 errmsg = cgen_parse_address (cd, strp, M32C_OPERAND_LAB_24_8, 0, NULL, & value); in m32c_cgen_parse_operand()
1360 errmsg = cgen_parse_address (cd, strp, M32C_OPERAND_LAB_32_8, 0, NULL, & value); in m32c_cgen_parse_operand()
1367 errmsg = cgen_parse_address (cd, strp, M32C_OPERAND_LAB_40_8, 0, NULL, & value); in m32c_cgen_parse_operand()
1374 errmsg = parse_lab_5_3 (cd, strp, M32C_OPERAND_LAB_5_3, 0, NULL, & value); in m32c_cgen_parse_operand()
1381 errmsg = cgen_parse_address (cd, strp, M32C_OPERAND_LAB_8_16, 0, NULL, & value); in m32c_cgen_parse_operand()
1388 errmsg = cgen_parse_address (cd, strp, M32C_OPERAND_LAB_8_24, 0, NULL, & value); in m32c_cgen_parse_operand()
1395 errmsg = cgen_parse_address (cd, strp, M32C_OPERAND_LAB_8_8, 0, NULL, & value); in m32c_cgen_parse_operand()
1402 errmsg = parse_lab_5_3 (cd, strp, M32C_OPERAND_LAB32_JMP_S, 0, NULL, & value); in m32c_cgen_parse_operand()
1407 errmsg = parse_Q (cd, strp, M32C_OPERAND_Q, (long *) (& junk)); in m32c_cgen_parse_operand()
1410 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_r0, & junk); in m32c_cgen_parse_operand()
1413 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_r0h, & junk); in m32c_cgen_parse_operand()
1416 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_r0l, & junk); in m32c_cgen_parse_operand()
1419 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_r1, & junk); in m32c_cgen_parse_operand()
1422 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_r1r2r0, & junk); in m32c_cgen_parse_operand()
1425 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_r2, & junk); in m32c_cgen_parse_operand()
1428 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_r2r0, & junk); in m32c_cgen_parse_operand()
1431 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_r3, & junk); in m32c_cgen_parse_operand()
1434 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_r3r1, & junk); in m32c_cgen_parse_operand()
1437 … errmsg = parse_pop_regset (cd, strp, M32C_OPERAND_REGSETPOP, (unsigned long *) (& fields->f_8_8)); in m32c_cgen_parse_operand()
1440 …errmsg = parse_push_regset (cd, strp, M32C_OPERAND_REGSETPUSH, (unsigned long *) (& fields->f_8_8)… in m32c_cgen_parse_operand()
1443 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_gr_QI, & fields->f_4_1); in m32c_cgen_parse_operand()
1446 errmsg = parse_S (cd, strp, M32C_OPERAND_S, (long *) (& junk)); in m32c_cgen_parse_operand()
1449 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_ar, & fields->f_src16_an); in m32c_cgen_parse_operand()
1452 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_ar_HI, & fields->f_src16_an); in m32c_cgen_parse_operand()
1455 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_ar_QI, & fields->f_src16_an); in m32c_cgen_parse_operand()
1458 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_gr_HI, & fields->f_src16_rn); in m32c_cgen_parse_operand()
1461 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_gr_QI, & fields->f_src16_rn); in m32c_cgen_parse_operand()
1464 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_ar, & fields->f_src32_an_prefixed); in m32c_cgen_parse_operand()
1467 … errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_ar_HI, & fields->f_src32_an_prefixed); in m32c_cgen_parse_operand()
1470 … errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_ar_QI, & fields->f_src32_an_prefixed); in m32c_cgen_parse_operand()
1473 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_ar, & fields->f_src32_an_prefixed); in m32c_cgen_parse_operand()
1476 … errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_ar, & fields->f_src32_an_unprefixed); in m32c_cgen_parse_operand()
1479 …errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_ar_HI, & fields->f_src32_an_unprefixed); in m32c_cgen_parse_operand()
1482 …errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_ar_QI, & fields->f_src32_an_unprefixed); in m32c_cgen_parse_operand()
1485 … errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_ar, & fields->f_src32_an_unprefixed); in m32c_cgen_parse_operand()
1488 …errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_gr_HI, & fields->f_src32_rn_prefixed_HI… in m32c_cgen_parse_operand()
1491 …errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_gr_QI, & fields->f_src32_rn_prefixed_QI… in m32c_cgen_parse_operand()
1494 …errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_gr_SI, & fields->f_src32_rn_prefixed_SI… in m32c_cgen_parse_operand()
1497 …errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_gr_HI, & fields->f_src32_rn_unprefixed_… in m32c_cgen_parse_operand()
1500 …errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_gr_QI, & fields->f_src32_rn_unprefixed_… in m32c_cgen_parse_operand()
1503 …errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_gr_SI, & fields->f_src32_rn_unprefixed_… in m32c_cgen_parse_operand()
1506 …errmsg = parse_r0l_r0h (cd, strp, M32C_OPERAND_SRCDST16_R0L_R0H_S_NORMAL, (long *) (& fields->f_5_… in m32c_cgen_parse_operand()
1509 errmsg = parse_X (cd, strp, M32C_OPERAND_X, (long *) (& junk)); in m32c_cgen_parse_operand()
1512 errmsg = parse_Z (cd, strp, M32C_OPERAND_Z, (long *) (& junk)); in m32c_cgen_parse_operand()
1515 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_cond16, & fields->f_dsp_16_u8); in m32c_cgen_parse_operand()
1518 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_cond16, & fields->f_dsp_24_u8); in m32c_cgen_parse_operand()
1521 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_cond16, & fields->f_dsp_32_u8); in m32c_cgen_parse_operand()
1524 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_cond16c, & fields->f_cond16); in m32c_cgen_parse_operand()
1527 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_cond16j, & fields->f_cond16); in m32c_cgen_parse_operand()
1530 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_cond16j_5, & fields->f_cond16j_5); in m32c_cgen_parse_operand()
1533 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_cond32, & fields->f_cond32); in m32c_cgen_parse_operand()
1536 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_cond32, & fields->f_dsp_16_u8); in m32c_cgen_parse_operand()
1539 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_cond32, & fields->f_dsp_24_u8); in m32c_cgen_parse_operand()
1542 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_cond32, & fields->f_dsp_32_u8); in m32c_cgen_parse_operand()
1545 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_cond32, & fields->f_dsp_40_u8); in m32c_cgen_parse_operand()
1548 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_cond32, & fields->f_cond32j); in m32c_cgen_parse_operand()
1551 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_cr1_32, & fields->f_21_3); in m32c_cgen_parse_operand()
1554 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_cr1_32, & fields->f_13_3); in m32c_cgen_parse_operand()
1557 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_cr_16, & fields->f_9_3); in m32c_cgen_parse_operand()
1560 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_cr2_32, & fields->f_13_3); in m32c_cgen_parse_operand()
1563 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_cr3_32, & fields->f_21_3); in m32c_cgen_parse_operand()
1566 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_cr3_32, & fields->f_13_3); in m32c_cgen_parse_operand()
1569 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_flags, & fields->f_9_3); in m32c_cgen_parse_operand()
1572 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_flags, & fields->f_13_3); in m32c_cgen_parse_operand()
1575 errmsg = cgen_parse_keyword (cd, strp, & m32c_cgen_opval_h_cond32, & fields->f_cond16); in m32c_cgen_parse_operand()
1578 errmsg = parse_size (cd, strp, M32C_OPERAND_SIZE, (long *) (& junk)); in m32c_cgen_parse_operand()
1746 const char **strp, in parse_insn_normal() argument
1751 const char *str = *strp; in parse_insn_normal()