diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-09-22 21:29:41 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-09-22 21:29:41 +0000 |
commit | a2c28b80f1bc424f2b8858118634ea8428ffe985 (patch) | |
tree | db448f98f25acdf4a16584706bc9fa20174dd07c /gas/config/bfin-parse.y | |
parent | a01eda858f5dc30309e79650b4cc9775416665af (diff) | |
download | binutils-a2c28b80f1bc424f2b8858118634ea8428ffe985.zip binutils-a2c28b80f1bc424f2b8858118634ea8428ffe985.tar.gz binutils-a2c28b80f1bc424f2b8858118634ea8428ffe985.tar.bz2 |
gas: blackfin: clarify some errors with register usage in insns
Using "Register mismatch" everywhere can be a bit vague, so clarify
why exactly we're barfing on these unsupported insns.
Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'gas/config/bfin-parse.y')
-rw-r--r-- | gas/config/bfin-parse.y | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gas/config/bfin-parse.y b/gas/config/bfin-parse.y index a520226..4549b53 100644 --- a/gas/config/bfin-parse.y +++ b/gas/config/bfin-parse.y @@ -1737,7 +1737,7 @@ asm_1: $$ = bfin_gen_regmv (&$3, &$1); } else - return yyerror ("Register mismatch"); + return yyerror ("Unsupported register move"); } | CCREG ASSIGN REG @@ -1748,7 +1748,7 @@ asm_1: $$ = bfin_gen_cc2dreg (1, &$3); } else - return yyerror ("Register mismatch"); + return yyerror ("Only 'CC = Dreg' supported"); } | REG ASSIGN CCREG @@ -1759,7 +1759,7 @@ asm_1: $$ = bfin_gen_cc2dreg (0, &$1); } else - return yyerror ("Register mismatch"); + return yyerror ("Only 'Dreg = CC' supported"); } | CCREG _ASSIGN_BANG CCREG |