changeset 3416:fb9d94637fb2 libavcodec

#define SBUTTERFLY outside CONFIG_ENCODERS
author mru
date Wed, 05 Jul 2006 19:31:01 +0000
parents 3a728a9cbd54
children 630aebf14227
files i386/dsputil_mmx.c
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/i386/dsputil_mmx.c	Wed Jul 05 17:11:55 2006 +0000
+++ b/i386/dsputil_mmx.c	Wed Jul 05 19:31:01 2006 +0000
@@ -187,6 +187,11 @@
 #undef DEF
 #undef PAVGB
 
+#define SBUTTERFLY(a,b,t,n)\
+    "movq " #a ", " #t "              \n\t" /* abcd */\
+    "punpckl" #n " " #b ", " #a "     \n\t" /* aebf */\
+    "punpckh" #n " " #b ", " #t "     \n\t" /* cgdh */\
+
 /***********************************/
 /* standard MMX */
 
@@ -1523,11 +1528,6 @@
     "pmaxsw " #z ", " #a "            \n\t"\
     "paddusw " #a ", " #sum "         \n\t"
 
-#define SBUTTERFLY(a,b,t,n)\
-    "movq " #a ", " #t "              \n\t" /* abcd */\
-    "punpckl" #n " " #b ", " #a "     \n\t" /* aebf */\
-    "punpckh" #n " " #b ", " #t "     \n\t" /* cgdh */\
-
 #define TRANSPOSE4(a,b,c,d,t)\
     SBUTTERFLY(a,b,t,wd) /* a=aebf t=cgdh */\
     SBUTTERFLY(c,d,b,wd) /* c=imjn b=kolp */\