2

There are so many statements in my code containing __m128i,_mm_loadu_si128,_mm_avg_epu8 and many more. This things work on Mac but fails to compile in ios. What are the replacements for these in IOS?

pradeepa
  • 4,104
  • 5
  • 31
  • 41

1 Answers1

9

SSE is an Intel technology that is not available on the iOS devices' ARM chips. Have a look at the Accelerate framework for Apple's multi-platform API for these types of calculations.

The ARM architecture also provides its own SIMD (single instruction multiple data) instruction set called NEON, which is available on armv7 devices (iPhone 3GS and above).

Ole Begemann
  • 135,006
  • 31
  • 278
  • 256