[GCC, Arm, committed] Fix availability of FP16-FP64 conversion instructions

Andre Vieira (lists) andre.simoesdiasvieira@arm.com
Mon Mar 11 11:17:00 GMT 2019


Hi,

Any objections to me backporting this to GCC 8 and 7?

Cheers,
Andre

On 08/03/2019 17:30, Andre Vieira (lists) wrote:
> Hi,
> 
> vcvtb.f16.f64 and vcvtb.f64.f16 were being made available even for FPUs 
> that do not support double precision.  This patch fixes that.
> 
> Regression tested for arm-none-eabi.
> 
> Committed in r269499.
> 
> Cheers,
> Andre
> 
> 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.



More information about the Gcc-patches mailing list