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



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