src/atomic/SDL_atomic.c
changeset 12916 119d21c68b62
parent 12915 e8773976e7c6
equal deleted inserted replaced
12915:e8773976e7c6 12916:119d21c68b62
   287     } while (!SDL_AtomicCASPtr(a, value, value));
   287     } while (!SDL_AtomicCASPtr(a, value, value));
   288     return value;
   288     return value;
   289 #endif
   289 #endif
   290 }
   290 }
   291 
   291 
   292 #if defined(__thumb__) && (defined(__ARM_ARCH_6__) || defined(__ARM_ARCH_6J__) || defined(__ARM_ARCH_6K__) || defined(__ARM_ARCH_6T2__) || defined(__ARM_ARCH_6Z__) || defined(__ARM_ARCH_6ZK__) || defined(__ARM_ARCH_5TE__))
   292 #ifdef SDL_MEMORY_BARRIER_USES_FUNCTION
   293 #error This file should be built in arm mode so the mcr instruction is available for memory barriers
   293 #error This file should be built in arm mode so the mcr instruction is available for memory barriers
   294 #endif
   294 #endif
   295 
   295 
   296 void
   296 void
   297 SDL_MemoryBarrierReleaseFunction(void)
   297 SDL_MemoryBarrierReleaseFunction(void)