OSDN Git Service

PR 10169
authornickc <nickc>
Thu, 18 Jun 2009 16:36:02 +0000 (16:36 +0000)
committernickc <nickc>
Thu, 18 Jun 2009 16:36:02 +0000 (16:36 +0000)
commit84a8a1e1ce94b6cb27e1d5cad5004c1b1a62a810
treec9c6ac9f223615cd0351480f93d16be1da6ddc51
parentecb04a844908bba27f4799f3d6ef87e8e2a0ddd5
    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