Re: [arm-gnu] targeting qualcomm scorpion core
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [arm-gnu] targeting qualcomm scorpion core



Thanks, Carlos!

Do you know if using -march=armv7-a with scorpion will generate code at the
same optimization level as if I used -mcpu=coretex-a8/9 with a cortex A8/9?
For purposes of competitive analysis, I'm just wondering whether my results
would be apples-to-apples.

On Tue, Aug 2, 2011 at 8:46 AM, Carlos O'Donell
<carlos_odonell@xxxxxxxxxx>wrote:

> On 7/29/2011 9:03 PM, George Yuan wrote:
> > Hello,
> >
> > I know that if I want to generate optimized code for a Cortex A8/A9
> > (e.g. OMAP3,4), I can use -mcpu=coretex-a8/9 or -mcpu=cortex-a8/9.
> >
> > What if I wanted to generate optimized code for a Qualcomm Scorpion
> > core? -mcpu/mtune=scorpion is not recognized. I've tried this on both
> > Sourcery G++ Lite 2010.09-50 and 2010q1-202. Does anybody know what
> > the equivalent switch is here?
>
> I believe the best you can do for Scorpion is the generic -march=armv7-a.
>
> Cheers,
> Carlos.
> --
> Carlos O'Donell
> Mentor Graphics / CodeSourcery
> carlos@xxxxxxxxxxxxxxxx
> +1 (613) 963 1026
>