[vlc-commits] gradfun: define the clobber list

Rémi Duraffort git at videolan.org
Fri Nov 11 15:31:32 CET 2011


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Fri Nov 11 15:28:56 2011 +0100| [07df00dc7275687577038e84cb42d31f1df4567e] | committer: Rémi Duraffort

gradfun: define the clobber list

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

 modules/video_filter/gradfun.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/video_filter/gradfun.h b/modules/video_filter/gradfun.h
index 4b30748..fc4a3d9 100644
--- a/modules/video_filter/gradfun.h
+++ b/modules/video_filter/gradfun.h
@@ -121,7 +121,7 @@ static void filter_line_mmx2(uint8_t *dst, uint8_t *src, uint16_t *dc,
         :"+r"(x)
         :"r"(dst+width), "r"(src+width), "r"(dc+width/2),
          "rm"(thresh), "m"(*dithers), "m"(*pw_7f)
-        :"memory"
+        :"mm0", "mm1", "mm2", "mm4", "mm5", "mm6", "memory"
     );
 }
 #endif
@@ -169,7 +169,7 @@ static void filter_line_ssse3(uint8_t *dst, uint8_t *src, uint16_t *dc,
         :"+&r"(x)
         :"r"(dst+width), "r"(src+width), "r"(dc+width/2),
          "rm"(thresh), "m"(*dithers), "m"(*pw_7f)
-        :"memory"
+        :"xmm0", "xmm1", "xmm2", "xmm4", "xmm5", "xmm6", "xmm7", "memory"
     );
 }
 #endif // HAVE_SSSE3
@@ -205,7 +205,7 @@ static void filter_line_ssse3(uint8_t *dst, uint8_t *src, uint16_t *dc,
          "r"(src+width*2),\
          "r"(src+width*2+sstride),\
          "m"(*pw_ff)\
-        :"memory"\
+        :"xmm0", "xmm1", "xmm2", "xmm3", "xmm7", "memory"\
     );
 
 static void blur_line_sse2(uint16_t *dc, uint16_t *buf, uint16_t *buf1,



More information about the vlc-commits mailing list