Only generate VMOV.I64 instructions for loading constant floating point values if...
authorChua Zheng Leong <chuazl@comp.nus.edu.sg>
Wed, 25 May 2016 12:09:51 +0000 (13:09 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 25 May 2016 12:09:51 +0000 (13:09 +0100)
commit934c26326909f953aaa15edb423dd4af6f33c448
treed8b0fece63410f56a53b6e5a6b0a82ea206c07df
parent2bbad2ea1102733a2a4143be4afe195caf730cd0
Only generate VMOV.I64 instructions for loading constant floating point values if this instruction is supported by the currently selected fpu.

PR target/2006764
* config/tc-arm.c (move_or_literal_pool): Only generate a VMOV.I64
instruction if supported by the currently selected fpu variant.
* testsuite/gas/arm/vfpv3-ldr_immediate.s: Add test of this PR.
* testsuite/gas/arm/vfpv3-ldr_immediate.d: Update expected disassembly.
gas/ChangeLog
gas/config/tc-arm.c
gas/testsuite/gas/arm/vfpv3-ldr_immediate.d
gas/testsuite/gas/arm/vfpv3-ldr_immediate.s