diff options
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 4 | ||||
-rw-r--r-- | gas/config/bfin-parse.y | 2 | ||||
-rw-r--r-- | gas/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gas/testsuite/gas/bfin/expected_comparison_errors.l | 1 |
4 files changed, 10 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 30d4c62..204d8bf 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,9 @@ 2009-09-03 Jie Zhang <jie.zhang@analog.com> + * config/bfin-parse.y (asm_1): Fix a typo. + +2009-09-03 Jie Zhang <jie.zhang@analog.com> + * config/bfin-parse.y (asm_1): Add LOOP_BEGIN and LOOP_END. * config/tc-bfin.c (bfin_start_line_hook): Remove. (bfin_loop_beginend): New. diff --git a/gas/config/bfin-parse.y b/gas/config/bfin-parse.y index 719edaf..81bfef8 100644 --- a/gas/config/bfin-parse.y +++ b/gas/config/bfin-parse.y @@ -1643,7 +1643,7 @@ asm_1: | CCREG ASSIGN REG _ASSIGN_ASSIGN REG { if ((IS_DREG ($3) && IS_DREG ($5)) - || (IS_PREG ($3) && IS_PREG ($3))) + || (IS_PREG ($3) && IS_PREG ($5))) { notethat ("CCflag: CC = dpregs == dpregs\n"); $$ = CCFLAG (&$3, $5.regno & CODE_MASK, 0, 0, IS_PREG ($3) ? 1 : 0); diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index f75cb12..13c8333 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,5 +1,9 @@ 2009-09-03 Jie Zhang <jie.zhang@analog.com> + * gas/bfin/expected_comparison_errors.l: Expect error on Line 13. + +2009-09-03 Jie Zhang <jie.zhang@analog.com> + * gas/bfin/loop.s, gas/bfin/loop.d: New test. * gas/bfin/loop2.s, gas/bfin/loop2.d: New test. * gas/bfin/loop3.s, gas/bfin/loop3.d: New test. diff --git a/gas/testsuite/gas/bfin/expected_comparison_errors.l b/gas/testsuite/gas/bfin/expected_comparison_errors.l index 0582ecd..1653d64 100644 --- a/gas/testsuite/gas/bfin/expected_comparison_errors.l +++ b/gas/testsuite/gas/bfin/expected_comparison_errors.l @@ -11,6 +11,7 @@ .*:10: Error: Bad register in comparison. Input text was P0. .*:11: Error: Bad register in comparison. .*:12: Error: Bad register in comparison. +.*:13: Error: Bad register in comparison. Input text was R0. .*:14: Error: Bad register in comparison. .*:15: Error: Bad register in comparison. .*:16: Error: Bad register in comparison. |