Commit 770f87c8 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Avoid SSE2-specifics in generic code

(cherry picked from commit 56254409)
parent a12ef1d0
...@@ -569,7 +569,7 @@ static inline void barrier (void) ...@@ -569,7 +569,7 @@ static inline void barrier (void)
OSMemoryBarrier (); OSMemoryBarrier ();
#elif defined(__powerpc__) #elif defined(__powerpc__)
asm volatile ("sync":::"memory"); asm volatile ("sync":::"memory");
#elif defined(__i386__) #elif 0 // defined(__i386__) /* Requires SSE2 support */
asm volatile ("mfence":::"memory"); asm volatile ("mfence":::"memory");
#else #else
vlc_spinlock_t spin; vlc_spinlock_t spin;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment