|
|
@ -777,9 +777,12 @@ static int stbi__sse2_available(void) |
|
|
|
|
|
|
|
|
|
|
|
#ifdef STBI_NEON |
|
|
|
#ifdef STBI_NEON |
|
|
|
#include <arm_neon.h> |
|
|
|
#include <arm_neon.h> |
|
|
|
// assume GCC or Clang on ARM targets
|
|
|
|
#ifdef _MSC_VER |
|
|
|
|
|
|
|
#define STBI_SIMD_ALIGN(type, name) __declspec(align(16)) type name |
|
|
|
|
|
|
|
#else |
|
|
|
#define STBI_SIMD_ALIGN(type, name) type name __attribute__((aligned(16))) |
|
|
|
#define STBI_SIMD_ALIGN(type, name) type name __attribute__((aligned(16))) |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#ifndef STBI_SIMD_ALIGN |
|
|
|
#ifndef STBI_SIMD_ALIGN |
|
|
|
#define STBI_SIMD_ALIGN(type, name) type name |
|
|
|
#define STBI_SIMD_ALIGN(type, name) type name |
|
|
|