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. R. > Joey > > On Thu, Oct 17, 2013 at 3:47 PM, Sebastian Huber > <sebastian.hu...@embedded-brains.de> wrote: >> On 2013-10-17 09:28, Joey Ye wrote: >>> >>> Which Cortex-R you are targeting that supports both D16 and D32? >> >> >> I have a Cortex-R variant which supports D16 only and now I want to add a >> multi-lib to our GCC target configuration and use a compiler built-in to >> adjust the context switch code for this multi-lib. >> >> >> -- >> Sebastian Huber, embedded brains GmbH >> >> Address : Dornierstr. 4, D-82178 Puchheim, Germany >> Phone : +49 89 189 47 41-16 >> Fax : +49 89 189 47 41-09 >> E-Mail : sebastian.hu...@embedded-brains.de >> PGP : Public key available on request. >> >> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG. > > >