[ARC] Fix ldbit test on 32-bit systems
authorGraham Markall <graham.markall@embecosm.com>
Wed, 26 Oct 2016 16:53:21 +0000 (17:53 +0100)
committerGraham Markall <graham.markall@embecosm.com>
Thu, 3 Nov 2016 17:14:39 +0000 (17:14 +0000)
commit98d0e90ccafe18d0b6392fa891e4b3d77299ae95
treeee35fb9d7d6786ab80f9f7d23497924c44a359a0
parent5a736821eff3aa4a8da237778526f9f700759c7a
[ARC] Fix ldbit test on 32-bit systems

The long immediate operand chosen for one of the ldbit tests is
equivalent to a small negative value that would fit inside an s9
operand, leading to the assembler to choose an unexpected (but
legitimate) encoding of the instruction on 32-bit systems, and
therefore causing the test to fail. This commit fixes the test by
changing the offending limm value so that it can no longer be
interpreted as an s9 operand.

gas/ChangeLog:

    * testsuite/gas/arc/nps400-6.s: Change ldbit tests so that
    limm operands are out of the range of an s9, in order to fix
    the test.
    * testsuite/gas/arc/nps400-6.d: Updated to match new expected
    output.
gas/ChangeLog
gas/testsuite/gas/arc/nps400-6.d
gas/testsuite/gas/arc/nps400-6.s
This page took 0.025577 seconds and 4 git commands to generate.