[GCC, Arm] Fix availability of FP16-FP64 conversion instructions
authorAndre Vieira <andre.simoesdiasvieira@arm.com>
Fri, 8 Mar 2019 17:29:02 +0000 (17:29 +0000)
committerAndre Vieira <avieira@gcc.gnu.org>
Fri, 8 Mar 2019 17:29:02 +0000 (17:29 +0000)
commitf65112f61661d4a62b8952eda126e4cbca4195b1
tree886eb00f3274962305c3c1290189a45c573d4a67
parent9a53d503a433b3ca0c4e312e9ebea5f1b344efed
[GCC, Arm] Fix availability of FP16-FP64 conversion instructions

vcvtb.f16.f64 and vcvtb.f64.f16 were being made available even for FPUs that do
not support double precision.  This patch fixes that.

gcc/ChangeLog:
2019-03-08  Andre Vieira  <andre.simoesdiasvieira@arm.com>

* config/arm/arm.h (TARGET_FP16_TO_DOUBLE): Add TARGET_VFP_DOUBLE
requirement.

gcc/testsuite/ChangeLog:
2019-03-08  Andre Vieira  <andre.simoesdiasvieira@arm.com>

* gcc.target/arm/f16_f64_conv_no_dp.c: New test.

From-SVN: r269499
gcc/ChangeLog
gcc/config/arm/arm.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/f16_f64_conv_no_dp.c [new file with mode: 0644]