Allow bit-patterns in the immediate field of ARM neon mov instructions.
authorNick Clifton <nickc@redhat.com>
Fri, 13 Jul 2018 10:46:44 +0000 (11:46 +0100)
committerNick Clifton <nickc@redhat.com>
Fri, 13 Jul 2018 10:50:16 +0000 (11:50 +0100)
commit4ef4710f5c3e417dc43057e10d7675699bb38431
tree39086752fcfe401a2762d7392ea6d547ff1f6475
parent5c1eda30f55e9c543de26fec0246f4d7655c81e4
Allow bit-patterns in the immediate field of ARM neon mov instructions.

* config/tc-arm.c (do_neon_mov): When converting an integer
immediate into a floating point value, check that the conversion
is valid.  Also warn if the immediate is valid as both a floating
point value and a bit pattern.
* testsuite/gas/arm/vfp-mov-enc.s: Add instructions that use
floating point bit patterns.
* testsuite/gas/arm/vfp-mov-enc.d: Add regexps for the disassembly
of the new insns.
gas/ChangeLog
gas/config/tc-arm.c
gas/testsuite/gas/arm/vfp-mov-enc.d
gas/testsuite/gas/arm/vfp-mov-enc.s