Hi Andre,

On 10/10/19 11:28 AM, Andre Vieira (lists) wrote:
Hi Kyrill,

On 10/10/2019 10:53, Kyrill Tkachov wrote:

>
>
> I'm a bit surprised that TARGET_FMA (which just checks isa_bit_vfpv4)
> doesn't imply TARGET_VFP_DOUBLE.
> Can one really have a VFPV4 single-precision-only configuration? Richard?
>

Armv7e-M supports single precision only FPv4, which also includes a
single precision only VFMA instruction. So I think this is correct.

See Section A.7.7.233 VFMA, VFMS in
https://static.docs.arm.com/ddi0403/ed/DDI0403E_d_armv7m_arm.pdf

You can target this variant using one of the following three(six):
'-march=armv7e-m+fp -mfpu=auto -mfloat-abi={softfp,hard}'
'-march=cortex-m4 -mfpu=auto -mfloat-abi={softfp,hard}'
'-march=cortex-m7+nofp.dp -mfpu=auto -mfloat-abi={softfp,hard}'

Ah, thanks.

Kugan, your patch is ok then with the ChangeLog fixed.

Thanks,

Kyrill

Cheers,
Andre

Reply via email to