OSDN Git Service

PR 10169
authorNick Clifton <nickc@redhat.com>
Thu, 18 Jun 2009 16:36:05 +0000 (16:36 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 18 Jun 2009 16:36:05 +0000 (16:36 +0000)
commit9bbca53f2410296d07861c101f6b41477765393c
tree44cf1b3ad4329d94a4e2d8008ad83f50c73519fc
parent268703dd511249623500aa858cff5f116aed3596
    PR 10169
        * gas/tc-arm.c (do_t_ssat): Move common code from here...
        (do_t_usat): ... and here to...
        (do_t_ssat_usat): New function: ... here.  Add code to check that
        the shift value, if present, is in range.

        * gas/arm/thumb2_bad_reg.s: Add tests for SSAT and USAT with an
        out of range shift.
        * gas/arm/thumb2_bad_reg.l: Update expected error messages.
gas/ChangeLog
gas/config/tc-arm.c
gas/testsuite/ChangeLog
gas/testsuite/gas/arm/thumb2_bad_reg.l
gas/testsuite/gas/arm/thumb2_bad_reg.s