Lines Matching refs:errmsg
70 const char *errmsg; in parse_loopsize() local
79 errmsg = cgen_parse_address (cd, strp, opindex, code, in parse_loopsize()
82 return errmsg; in parse_loopsize()
95 const char *errmsg; in parse_imm16() local
104 errmsg = cgen_parse_address (cd, strp, opindex, code, in parse_imm16()
106 if (errmsg == NULL) in parse_imm16()
109 errmsg = _("Operand out of range. Must be between -32768 and 32767."); in parse_imm16()
112 return errmsg; in parse_imm16()
136 errmsg = cgen_parse_address (cd, strp, opindex, code, in parse_imm16()
138 if (errmsg == NULL) in parse_imm16()
148 errmsg = _("Biiiig Trouble in parse_imm16!"); in parse_imm16()
156 errmsg = _("The percent-operator's operand is not a symbol"); in parse_imm16()
177 errmsg = cgen_parse_signed_integer (cd, strp, opindex, valuep); in parse_imm16()
179 if (errmsg == NULL) in parse_imm16()
189 errmsg = _("Operand out of range. Must be between -32768 and 32767."); in parse_imm16()
199 errmsg = cgen_parse_unsigned_integer (cd, strp, opindex, (unsigned long *) valuep); in parse_imm16()
208 return errmsg; in parse_imm16()
218 const char *errmsg = NULL; in parse_dup() local
231 errmsg = cgen_parse_unsigned_integer (cd, strp, opindex, valuep); in parse_dup()
233 return errmsg; in parse_dup()
243 const char *errmsg = NULL; in parse_ball() local
256 errmsg = cgen_parse_unsigned_integer (cd, strp, opindex, valuep); in parse_ball()
258 return errmsg; in parse_ball()
267 const char *errmsg = NULL; in parse_xmode() local
280 errmsg = cgen_parse_unsigned_integer (cd, strp, opindex, valuep); in parse_xmode()
282 return errmsg; in parse_xmode()
291 const char *errmsg = NULL; in parse_rc() local
304 errmsg = cgen_parse_unsigned_integer (cd, strp, opindex, valuep); in parse_rc()
306 return errmsg; in parse_rc()
315 const char *errmsg = NULL; in parse_cbrb() local
328 errmsg = cgen_parse_unsigned_integer (cd, strp, opindex, valuep); in parse_cbrb()
330 return errmsg; in parse_cbrb()
339 const char *errmsg = NULL; in parse_rbbc() local
362 errmsg = cgen_parse_unsigned_integer (cd, strp, opindex, valuep); in parse_rbbc()
364 return errmsg; in parse_rbbc()
373 const char *errmsg = NULL; in parse_type() local
391 errmsg = cgen_parse_unsigned_integer (cd, strp, opindex, valuep); in parse_type()
393 if ((errmsg == NULL) && (*valuep == 3)) in parse_type()
394 errmsg = _("invalid operand. type may have values 0,1,2 only."); in parse_type()
396 return errmsg; in parse_type()
423 const char * errmsg = NULL; in mt_cgen_parse_operand() local
430 …errmsg = cgen_parse_unsigned_integer (cd, strp, MT_OPERAND_A23, (unsigned long *) (& fields->f_a23… in mt_cgen_parse_operand()
433 errmsg = parse_ball (cd, strp, MT_OPERAND_BALL, (unsigned long *) (& fields->f_ball)); in mt_cgen_parse_operand()
436 errmsg = parse_ball (cd, strp, MT_OPERAND_BALL2, (unsigned long *) (& fields->f_ball2)); in mt_cgen_parse_operand()
439 …errmsg = cgen_parse_unsigned_integer (cd, strp, MT_OPERAND_BANKADDR, (unsigned long *) (& fields->… in mt_cgen_parse_operand()
442 …errmsg = cgen_parse_unsigned_integer (cd, strp, MT_OPERAND_BRC, (unsigned long *) (& fields->f_brc… in mt_cgen_parse_operand()
445 …errmsg = cgen_parse_unsigned_integer (cd, strp, MT_OPERAND_BRC2, (unsigned long *) (& fields->f_br… in mt_cgen_parse_operand()
448 … errmsg = cgen_parse_signed_integer (cd, strp, MT_OPERAND_CB1INCR, (long *) (& fields->f_cb1incr)); in mt_cgen_parse_operand()
451 …errmsg = cgen_parse_unsigned_integer (cd, strp, MT_OPERAND_CB1SEL, (unsigned long *) (& fields->f_… in mt_cgen_parse_operand()
454 … errmsg = cgen_parse_signed_integer (cd, strp, MT_OPERAND_CB2INCR, (long *) (& fields->f_cb2incr)); in mt_cgen_parse_operand()
457 …errmsg = cgen_parse_unsigned_integer (cd, strp, MT_OPERAND_CB2SEL, (unsigned long *) (& fields->f_… in mt_cgen_parse_operand()
460 errmsg = parse_cbrb (cd, strp, MT_OPERAND_CBRB, (unsigned long *) (& fields->f_cbrb)); in mt_cgen_parse_operand()
463 …errmsg = cgen_parse_unsigned_integer (cd, strp, MT_OPERAND_CBS, (unsigned long *) (& fields->f_cbs… in mt_cgen_parse_operand()
466 …errmsg = cgen_parse_unsigned_integer (cd, strp, MT_OPERAND_CBX, (unsigned long *) (& fields->f_cbx… in mt_cgen_parse_operand()
469 …errmsg = cgen_parse_unsigned_integer (cd, strp, MT_OPERAND_CCB, (unsigned long *) (& fields->f_ccb… in mt_cgen_parse_operand()
472 …errmsg = cgen_parse_unsigned_integer (cd, strp, MT_OPERAND_CDB, (unsigned long *) (& fields->f_cdb… in mt_cgen_parse_operand()
475 …errmsg = cgen_parse_unsigned_integer (cd, strp, MT_OPERAND_CELL, (unsigned long *) (& fields->f_ce… in mt_cgen_parse_operand()
478 …errmsg = cgen_parse_unsigned_integer (cd, strp, MT_OPERAND_COLNUM, (unsigned long *) (& fields->f_… in mt_cgen_parse_operand()
481 …errmsg = cgen_parse_unsigned_integer (cd, strp, MT_OPERAND_CONTNUM, (unsigned long *) (& fields->f… in mt_cgen_parse_operand()
484 …errmsg = cgen_parse_unsigned_integer (cd, strp, MT_OPERAND_CR, (unsigned long *) (& fields->f_cr)); in mt_cgen_parse_operand()
487 …errmsg = cgen_parse_unsigned_integer (cd, strp, MT_OPERAND_CTXDISP, (unsigned long *) (& fields->f… in mt_cgen_parse_operand()
490 errmsg = parse_dup (cd, strp, MT_OPERAND_DUP, (unsigned long *) (& fields->f_dup)); in mt_cgen_parse_operand()
493 …errmsg = cgen_parse_unsigned_integer (cd, strp, MT_OPERAND_FBDISP, (unsigned long *) (& fields->f_… in mt_cgen_parse_operand()
496 …errmsg = cgen_parse_unsigned_integer (cd, strp, MT_OPERAND_FBINCR, (unsigned long *) (& fields->f_… in mt_cgen_parse_operand()
499 errmsg = cgen_parse_keyword (cd, strp, & mt_cgen_opval_h_spr, & fields->f_dr); in mt_cgen_parse_operand()
502 errmsg = cgen_parse_keyword (cd, strp, & mt_cgen_opval_h_spr, & fields->f_drrr); in mt_cgen_parse_operand()
505 errmsg = cgen_parse_keyword (cd, strp, & mt_cgen_opval_h_spr, & fields->f_sr1); in mt_cgen_parse_operand()
508 errmsg = cgen_parse_keyword (cd, strp, & mt_cgen_opval_h_spr, & fields->f_sr2); in mt_cgen_parse_operand()
511 …errmsg = cgen_parse_unsigned_integer (cd, strp, MT_OPERAND_ID, (unsigned long *) (& fields->f_id)); in mt_cgen_parse_operand()
514 errmsg = parse_imm16 (cd, strp, MT_OPERAND_IMM16, (long *) (& fields->f_imm16s)); in mt_cgen_parse_operand()
517 …errmsg = cgen_parse_unsigned_integer (cd, strp, MT_OPERAND_IMM16L, (unsigned long *) (& fields->f_… in mt_cgen_parse_operand()
520 errmsg = parse_imm16 (cd, strp, MT_OPERAND_IMM16O, (unsigned long *) (& fields->f_imm16s)); in mt_cgen_parse_operand()
523 errmsg = parse_imm16 (cd, strp, MT_OPERAND_IMM16Z, (unsigned long *) (& fields->f_imm16u)); in mt_cgen_parse_operand()
526 …errmsg = cgen_parse_unsigned_integer (cd, strp, MT_OPERAND_INCAMT, (unsigned long *) (& fields->f_… in mt_cgen_parse_operand()
529 …errmsg = cgen_parse_unsigned_integer (cd, strp, MT_OPERAND_INCR, (unsigned long *) (& fields->f_in… in mt_cgen_parse_operand()
532 …errmsg = cgen_parse_unsigned_integer (cd, strp, MT_OPERAND_LENGTH, (unsigned long *) (& fields->f_… in mt_cgen_parse_operand()
535 … errmsg = parse_loopsize (cd, strp, MT_OPERAND_LOOPSIZE, (unsigned long *) (& fields->f_loopo)); in mt_cgen_parse_operand()
538 …errmsg = cgen_parse_unsigned_integer (cd, strp, MT_OPERAND_MASK, (unsigned long *) (& fields->f_ma… in mt_cgen_parse_operand()
541 …errmsg = cgen_parse_unsigned_integer (cd, strp, MT_OPERAND_MASK1, (unsigned long *) (& fields->f_m… in mt_cgen_parse_operand()
544 …errmsg = cgen_parse_unsigned_integer (cd, strp, MT_OPERAND_MODE, (unsigned long *) (& fields->f_mo… in mt_cgen_parse_operand()
547 …errmsg = cgen_parse_unsigned_integer (cd, strp, MT_OPERAND_PERM, (unsigned long *) (& fields->f_pe… in mt_cgen_parse_operand()
550 errmsg = parse_rbbc (cd, strp, MT_OPERAND_RBBC, (unsigned long *) (& fields->f_rbbc)); in mt_cgen_parse_operand()
553 errmsg = parse_rc (cd, strp, MT_OPERAND_RC, (unsigned long *) (& fields->f_rc)); in mt_cgen_parse_operand()
556 errmsg = parse_rc (cd, strp, MT_OPERAND_RC1, (unsigned long *) (& fields->f_rc1)); in mt_cgen_parse_operand()
559 errmsg = parse_rc (cd, strp, MT_OPERAND_RC2, (unsigned long *) (& fields->f_rc2)); in mt_cgen_parse_operand()
562 errmsg = parse_rc (cd, strp, MT_OPERAND_RC3, (unsigned long *) (& fields->f_rc3)); in mt_cgen_parse_operand()
565 …errmsg = cgen_parse_unsigned_integer (cd, strp, MT_OPERAND_RCNUM, (unsigned long *) (& fields->f_r… in mt_cgen_parse_operand()
568 …errmsg = cgen_parse_unsigned_integer (cd, strp, MT_OPERAND_RDA, (unsigned long *) (& fields->f_rda… in mt_cgen_parse_operand()
571 …errmsg = cgen_parse_unsigned_integer (cd, strp, MT_OPERAND_ROWNUM, (unsigned long *) (& fields->f_… in mt_cgen_parse_operand()
574 …errmsg = cgen_parse_unsigned_integer (cd, strp, MT_OPERAND_ROWNUM1, (unsigned long *) (& fields->f… in mt_cgen_parse_operand()
577 …errmsg = cgen_parse_unsigned_integer (cd, strp, MT_OPERAND_ROWNUM2, (unsigned long *) (& fields->f… in mt_cgen_parse_operand()
580 …errmsg = cgen_parse_unsigned_integer (cd, strp, MT_OPERAND_SIZE, (unsigned long *) (& fields->f_si… in mt_cgen_parse_operand()
583 errmsg = parse_type (cd, strp, MT_OPERAND_TYPE, (unsigned long *) (& fields->f_type)); in mt_cgen_parse_operand()
586 …errmsg = cgen_parse_unsigned_integer (cd, strp, MT_OPERAND_WR, (unsigned long *) (& fields->f_wr)); in mt_cgen_parse_operand()
589 errmsg = parse_xmode (cd, strp, MT_OPERAND_XMODE, (unsigned long *) (& fields->f_xmode)); in mt_cgen_parse_operand()
598 return errmsg; in mt_cgen_parse_operand()
763 const char *errmsg; in parse_insn_normal() local
848 errmsg = cd->parse_operand (cd, CGEN_SYNTAX_FIELD (*syn), &str, fields); in parse_insn_normal()
849 if (errmsg) in parse_insn_normal()
850 return errmsg; in parse_insn_normal()
902 char **errmsg) in mt_cgen_assemble_insn() argument
999 *errmsg = errbuf; in mt_cgen_assemble_insn()