aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorWill Newton <will.newton@linaro.org>2014-01-16 10:08:45 +0000
committerWill Newton <will.newton@linaro.org>2014-01-17 15:34:56 +0000
commit827f64ffb56038b080f630c6487bd4c5dbf83985 (patch)
tree5e0cd04130466b0865430625a1b07321348806b7 /gas/config
parentc7faa97a858bc4eedfca029176fd54c6196c3248 (diff)
downloadgdb-827f64ffb56038b080f630c6487bd4c5dbf83985.zip
gdb-827f64ffb56038b080f630c6487bd4c5dbf83985.tar.gz
gdb-827f64ffb56038b080f630c6487bd4c5dbf83985.tar.bz2
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.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-arm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index 08b5ea2..e596217 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -14671,7 +14671,7 @@ do_vfp_nsyn_cvt_fpv8 (enum neon_cvt_flavour flavour,
{
case neon_cvt_flavour_s32_f64:
sz = 1;
- op = 0;
+ op = 1;
break;
case neon_cvt_flavour_s32_f32:
sz = 0;