Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to enable Neon instruction in Xcode

Tags:

xcode

iphone

neon

I want to use Neon SIMD instruction for the iphone. I heard we have to put flags "-mfloat-abi=softfp -mfpu=neon" in the "Other C Flags" field of the Target inspector, but when building I get "error: unrecognized command line option "-mfpu=neon"" .

Is there anything else special that has to be done to allow this flag? (I have Xcode 3.2.1 and iphone sdk 3.1.3)

Thanks !!

like image 239
Krav Avatar asked Nov 05 '22 15:11

Krav


1 Answers

The NEON set is an extension on the Cortex-A series, therefore not supported in iPhone 3G. You probably cannot specify this directly.

like image 124
Nick Toumpelis Avatar answered Nov 12 '22 13:11

Nick Toumpelis