[RFA/ARM] Fix latent bugs in parse_neon_mov

Matthew Gretton-Dann matthew.gretton-dann@arm.com
Wed Dec 7 13:55:00 GMT 2011


This time with a non-empty patch :-).

Matt

On 07/12/11 13:39, Matthew Gretton-Dann wrote:
> This patch fixes some latent bugs in parse_neon_mov in gas/config/tc-arm.c.
>
> On exit from parse_neon_mov *which_operand should reflect the index of
> the last operand parsed, and not the next operand to parse.  This was
> not done in all cases, and the attached patch fixes this.
>
> This issue was identified whilst preparing a patch (forthcoming) to stop
> gas mis-accepting: vcvt.f64.s32 d0, s0, #11.
>
> Tested on arm-none-eabi.
>
> OK?
>
> gas/ChangeLog:
>
> 2011-12-06  Matthew Gretton-Dann<matthew.gretton-dann@arm.com>
>
> 	* config/tc-arm.c (parse_neon_mov): Update which_operand
> 	correctly.
>

-- 
Matthew Gretton-Dann
Principal Engineer, PD Software - Tools, ARM Ltd
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 1-PATCH-ARM-Fix-latent-bugs-in-parse_neon_mov.txt
URL: <https://sourceware.org/pipermail/binutils/attachments/20111207/464192fc/attachment.txt>


More information about the Binutils mailing list