[cfe-dev] ARM assembler regression?
oliver.stannard at arm.com
Fri Nov 7 07:33:59 PST 2014
This was caused by using “-mfpu=vfpv3-d16”, which only has 16 D registers. Switching to –mfpu=vfpv3 (with 32 D registers) is safe for Cortex-A targets, as all Cortex-A CPUs have 32 D registers (or no FPU).
From: İsmail Dönmez [mailto:ismail at donmez.ws]
Sent: 07 November 2014 13:58
To: Oliver Stannard
Cc: cfe-dev at cs.uiuc.edu; Renato Golin
Subject: Re: [cfe-dev] ARM assembler regression?
On Fri, Nov 7, 2014 at 3:51 PM, Oliver Stannard <oliver.stannard at arm.com> wrote:
I committed a patch (r221341) a few days ago to prevent the assembler and disassembler form accepting D16-D31 for the FPUs of Cortex-M cores, which only have 16 D registers. I’m assuming you were originally compiling for v7M? It looks like that file will need some additional conditionalization before it can be used for Cortex-M targets.
Actually no. My compile flags are:
-mfloat-abi=hard -march=armv7-a -mtune=cortex-a8 -mfpu=vfpv3-d16
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev