This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, AArch64] Accept negative immediates in MOVI <imm8>


On 13 May 2013 15:55, Yufeng Zhang <Yufeng.Zhang@arm.com> wrote:
> Hi,
>
> This patch changes the assembler to accept the range between -128 and 255 in
> the MOVI <imm8> operand.
>
> OK for the trunk?
>
> Thanks,
> Yufeng
>
>
> gas/
>
> 2013-05-13  Yufeng Zhang  <yufeng.zhang@arm.com>
>
>         * testsuite/gas/aarch64/diagnostic.s: Update.
>         * testsuite/gas/aarch64/diagnostic.l: Ditto.
>         * testsuite/gas/aarch64/movi.s: Add new tests.
>         * testsuite/gas/aarch64/movi.d: Update.
>
> opcodes/
>
> 2013-05-13  Yufeng Zhang  <yufeng.zhang@arm.com>
>
>         * aarch64-asm.c (aarch64_ins_advsimd_imm_modified): Remove
> assertion.
>         * aarch64-opc.c (operand_general_constraint_met_p): Relax the range
>         check from [0, 255] to [-128, 255].


OK

This is a bug fix therefore it should be back ported to 2.23.


Cheers
/Marcus


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]