[vlc-commits] avcodec: fix SSE 4.1 check optimization

Rémi Denis-Courmont git at videolan.org
Sat Oct 13 13:34:41 CEST 2012


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Oct 13 13:57:01 2012 +0300| [7d6a8dd18cdd6d5e27802d532cca802158d0ac43] | committer: Rémi Denis-Courmont

avcodec: fix SSE 4.1 check optimization

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

 modules/codec/avcodec/copy.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/codec/avcodec/copy.c b/modules/codec/avcodec/copy.c
index c9f7174..2713d0c 100644
--- a/modules/codec/avcodec/copy.c
+++ b/modules/codec/avcodec/copy.c
@@ -47,9 +47,9 @@
         store " %%xmm4,   48(%[dst])\n" \
         : : [dst]"r"(dstp), [src]"r"(srcp) : "memory")
 
-#ifndef __SSE4A__
-# undef vlc_CPU_SSE4A
-# define vlc_CPU_SSE4A() ((cpu & VLC_CPU_SSE4A) != 0)
+#ifndef __SSE4_1__
+# undef vlc_CPU_SSE4_1
+# define vlc_CPU_SSE4_1() ((cpu & VLC_CPU_SSE4_1) != 0)
 #endif
 
 #ifndef __SSSE3__



More information about the vlc-commits mailing list