This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH, AArch64] Accept negative immediates in MOVI <imm8>
- From: Marcus Shawcroft <marcus dot shawcroft at gmail dot com>
- To: Yufeng Zhang <Yufeng dot Zhang at arm dot com>
- Cc: "binutils at sourceware dot org" <binutils at sourceware dot org>, Marcus Shawcroft <Marcus dot Shawcroft at arm dot com>
- Date: Mon, 13 May 2013 16:29:04 +0100
- Subject: Re: [PATCH, AArch64] Accept negative immediates in MOVI <imm8>
- References: <5190FEED dot 203 at arm dot com>
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