Martin Storsjö ef7e05d47d Use the __ARM_NEON__ built-in compiler define for identifying neon capability on iOS
This avoids having to hardcode the names of devices that don't
support neon.

The devices that don't support neon don't run the armv7 variants
of iOS binaries at all - they would need to be built for the armv6
architecture. (Building for armv6 isn't supported at all in
modern iOS SDKs.)

Therefore we can simply use the __ARM_NEON__ built-in compiler
define to check if NEON code is allowed in the current build,
and have the WelsCPUFeatureDetect function return flags accordingly.

The only thing this disallows is doing an armv6 build which would
optionally enable neon code at runtime if run on an armv7 capable
device, but since Apple allows you to build the same binary for
armv7 separately in the same app bundle, and since armv6 building
isn't even possible in the current iOS SDKs, this isn't really a loss.

This is in contrast to the android builds where the armv7 baseline
does not include NEON.
2014-03-05 09:47:05 +02:00
..
2014-02-10 08:06:37 +02:00
2014-02-10 08:06:37 +02:00
2014-01-16 15:57:22 +08:00
2014-02-10 08:06:37 +02:00
2014-02-10 08:06:37 +02:00
2014-02-10 08:06:33 +02:00
2014-02-10 08:06:33 +02:00
2014-02-10 08:06:33 +02:00
2014-01-18 13:59:24 +01:00