This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: ARM: VFPv3-D16 vs. VFPv3-D32
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: Joey Ye <joey dot ye dot cc at gmail dot com>
- Cc: Sebastian Huber <sebastian dot huber at embedded-brains dot de>, "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Thu, 17 Oct 2013 13:24:18 +0100
- Subject: Re: ARM: VFPv3-D16 vs. VFPv3-D32
- Authentication-results: sourceware.org; auth=none
- References: <525F8DFE dot 7050406 at embedded-brains dot de> <CAL0py25cb8Bi0X0QK+g1e4dY-B4orWVodpS1k9-dM5CacYPvOA at mail dot gmail dot com> <525F962E dot 30309 at embedded-brains dot de> <CAL0py26RM_tD2hGv3+6pu_kSizFkbdG=mcfM7wh-0B_y5v5pnQ at mail dot gmail dot com>
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.huber@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.huber@embedded-brains.de
>> PGP : Public key available on request.
>>
>> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
>
>
>