[ARM] Fix vcmp with #0.0
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Wed, 20 Aug 2014 15:49:53 +0000 (16:49 +0100)
committerKyrylo Tkachov <kyrylo.tkachov@arm.com>
Wed, 20 Aug 2014 15:49:53 +0000 (16:49 +0100)
commitaacf0b33aa8a55f935be02a6f6a3b3b62f60d14b
tree5fcd0110a3d3287ba69953a17d7817bd490f9994
parent2d5c3743a3a223dc6467ff022124b4f2f1844c91
[ARM] Fix vcmp with #0.0

* config/tc-arm.c (parse_ifimm_zero): New function.
(enum operand_parse_code): Add OP_RSVD_FI0 value.
(parse_operands): Handle OP_RSVD_FI0.
(asm_opcode_insns): Use RSVD_FI0 for second operand of vcmp, vcmpe.

* gas/arm/ual-vcmp.s: New file.
* gas/arm/ual-vcmp.d: Likewise.
* gas/arm/vcmp-zero-bad.s: Likewise.
* gas/arm/vcmp-zero-bad.d: Likewise.
* gas/arm/vcmp-zero-bad.l: Likewise.
gas/ChangeLog
gas/config/tc-arm.c
gas/testsuite/ChangeLog
gas/testsuite/gas/arm/ual-vcmp.d [new file with mode: 0644]
gas/testsuite/gas/arm/ual-vcmp.s [new file with mode: 0644]
gas/testsuite/gas/arm/vcmp-zero-bad.d [new file with mode: 0644]
gas/testsuite/gas/arm/vcmp-zero-bad.l [new file with mode: 0644]
gas/testsuite/gas/arm/vcmp-zero-bad.s [new file with mode: 0644]