diff options
author | Tamar Christina <tamar.christina@arm.com> | 2018-05-10 16:22:32 +0100 |
---|---|---|
committer | Tamar Christina <tamar.christina@arm.com> | 2018-05-10 16:43:28 +0100 |
commit | 58ed5c38f52511e73c9748b86c319320177fb0ca (patch) | |
tree | d6a80c5b465e846aba3589a55b27503e4cdded35 /gdb/ada-tasks.c | |
parent | 190852c8ac75cb62a737c58edfadfb0e1fcef78a (diff) | |
download | gdb-58ed5c38f52511e73c9748b86c319320177fb0ca.zip gdb-58ed5c38f52511e73c9748b86c319320177fb0ca.tar.gz gdb-58ed5c38f52511e73c9748b86c319320177fb0ca.tar.bz2 |
Allow integer immediate for VFP vmov instructions.
This patch fixes the case where you want to use an integer value the
floating point immediate to a VFP vmov instruction such as
vmovmi.f32 s27, #11.
If the immediate is not a float we convert it and copy it's representation
into the imm field and then carry on validating as if we originally entered
a floating point immediate.
The is considered a QoL improvement for hand assembly writers and allows more
code portability between assembler.
gas/
* gas/config/tc-arm.c (do_neon_mov): Allow integer literal for float
immediate.
* testsuite/gas/arm/vfp-mov-enc.s: New.
* testsuite/gas/arm/vfp-mov-enc.d: New.
Diffstat (limited to 'gdb/ada-tasks.c')
0 files changed, 0 insertions, 0 deletions