[vlc-devel] commit: Avoid SSE2-specifics in generic code ( Rémi Denis-Courmont )

git version control git at videolan.org
Fri Sep 19 15:50:25 CEST 2008


vlc | branch: 0.9-bugfix | Rémi Denis-Courmont <rdenis at simphalempin.com> | Fri Sep 19 16:43:15 2008 +0300| [770f87c85b3a6bee05981a2bba4f81ea910058b2] | committer: Rémi Denis-Courmont 

Avoid SSE2-specifics in generic code
(cherry picked from commit 562544090e906051aff6b3bdddabf5ae78177081)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=770f87c85b3a6bee05981a2bba4f81ea910058b2
---

 include/vlc_threads.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/vlc_threads.h b/include/vlc_threads.h
index 8627333..e2810e9 100644
--- a/include/vlc_threads.h
+++ b/include/vlc_threads.h
@@ -569,7 +569,7 @@ static inline void barrier (void)
     OSMemoryBarrier ();
 #elif defined(__powerpc__)
     asm volatile ("sync":::"memory");
-#elif defined(__i386__)
+#elif 0 // defined(__i386__) /*  Requires SSE2 support */
     asm volatile ("mfence":::"memory");
 #else
     vlc_spinlock_t spin;




More information about the vlc-devel mailing list