[RFA/ARM] Fix latent bugs in parse_neon_mov
Matthew Gretton-Dann
matthew.gretton-dann@arm.com
Wed Dec 7 13:39:00 GMT 2011
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/b6cebf24/attachment.txt>
More information about the Binutils
mailing list