On 17/10/13 13:46, Sebastian Huber wrote: > On 2013-10-17 14:24, Richard Earnshaw wrote: >> On 17/10/13 08:56, Joey Ye wrote: >>>> There is no macro to indicate VFP variances. Probably you can check >>>> CPU variance instead. As I know Cortex-R only support D16. >>>> >> Checking __ARM_ARCH_PROFILE == 'R' would tell you that it's R profile >> and therefore only 16 regs. > > Thanks for this information. I was not aware that no existing Cortex-R > variant > has a D32 VFP unit. > > Is the converse true for Cortex-A variants or are there Cortex-A cores with > VFP-D16 and VFP-D32 units? >
No, the converse is not true. In general (though I don't think there's a guarantee that this will be the case) if you don't have Neon you won't have D32. However, if you have Neon you must have D32. Not all Cortex-A cores have Neon; though many do these days. R.