gas: ARM: Fix encoding of VCVTr.s32.f64 instructions
authorWill Newton <will.newton@linaro.org>
Thu, 16 Jan 2014 10:08:45 +0000 (10:08 +0000)
committerWill Newton <will.newton@linaro.org>
Fri, 17 Jan 2014 15:34:56 +0000 (15:34 +0000)
commit827f64ffb56038b080f630c6487bd4c5dbf83985
tree5e0cd04130466b0865430625a1b07321348806b7
parentc7faa97a858bc4eedfca029176fd54c6196c3248
gas: ARM: Fix encoding of VCVTr.s32.f64 instructions

The direct rounding floating-point VCVT instructions introduced in
ARMv8 encode the s32.f64 variant incorrectly. The op bit should be
set to 1 for all signed conversions.

gas/ChangeLog:

2014-01-17  Will Newton  <will.newton@linaro.org>

* config/tc-arm.c (do_vfp_nsyn_cvt_fpv8): Set OP to 1
for the s32.f64 flavours of VCVT.

gas/testsuite/ChangeLog:

2014-01-17  Will Newton  <will.newton@linaro.org>

* gas/arm/armv8-a+fp.d: Correct encoding of vcvta.s32.f64.
gas/ChangeLog
gas/config/tc-arm.c
gas/testsuite/ChangeLog
gas/testsuite/gas/arm/armv8-a+fp.d