[PATCH, AArch64] Fix float const0 parsing glitch

Jiong Wang jiong.wang@arm.com
Tue Feb 25 16:34:00 GMT 2014


Hi,

This patch fixes a glitch in AARCH64 assembler.

When parsing float immediate zero, both #0 and #0.0 are expected.

The patch passes regression test on aarch64-none-elf.

OK for trunk and 2.24 branch?

Thanks,
Jiong

opcodes/

       * aarch64-tbl.h (aarch64_opcode_table): Replace IMM0 with
       FPIMM0 for fcmeq, fcmgt, fcmge, fcmlt and fcmle.

gas/testsuite/

       * gas/aarch64/fp-const0-parsing.s: New test.
       * gas/aarch64/fp-const0-parsing.d: Likewise.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: fp-const0.patch
Type: text/x-patch
Size: 8405 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20140225/ec89f5f3/attachment.bin>


More information about the Binutils mailing list