summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2008-08-02 18:13:20 +0000
committerSebastian Dröge <slomo@circular-chaos.org>2008-08-02 18:13:20 +0000
commit0783e91c546b08485f6ade2818d0628ab83357ca (patch)
tree88e502e86d233c09578135d1264b930da3c410af /gst
parentfbaea28b978c9b73a814d8fc42bfa0dd72988104 (diff)
downloadgst-plugins-bad-0783e91c546b08485f6ade2818d0628ab83357ca.tar.gz
gst-plugins-bad-0783e91c546b08485f6ade2818d0628ab83357ca.tar.bz2
gst-plugins-bad-0783e91c546b08485f6ade2818d0628ab83357ca.zip
gst/deinterlace2/tvtime/: Add the MMX registers to the clobbered registers only if __MMX__ is defined.
Original commit message from CVS: * gst/deinterlace2/tvtime/greedyh.asm: * gst/deinterlace2/tvtime/tomsmocomp/SearchLoopBottom.inc: Add the MMX registers to the clobbered registers only if __MMX__ is defined.
Diffstat (limited to 'gst')
-rw-r--r--gst/deinterlace2/tvtime/greedyh.asm5
-rw-r--r--gst/deinterlace2/tvtime/tomsmocomp/SearchLoopBottom.inc5
2 files changed, 5 insertions, 5 deletions
diff --git a/gst/deinterlace2/tvtime/greedyh.asm b/gst/deinterlace2/tvtime/greedyh.asm
index aa99e55f..86e97c58 100644
--- a/gst/deinterlace2/tvtime/greedyh.asm
+++ b/gst/deinterlace2/tvtime/greedyh.asm
@@ -243,7 +243,8 @@ FUNCT_NAME (GstDeinterlaceMethodGreedyH *self, uint8_t * L1, uint8_t * L2, uint8
[oldbx] "m" (oldbx)
: XAX, XCX, XDX, XSI, XDI,
"st", "st(1)", "st(2)", "st(3)", "st(4)", "st(5)", "st(6)", "st(7)",
- /* FIXME: breaks unless compiling with -mmmx
- "mm0", "mm1", "mm2", "mm3", "mm4", "mm5", "mm6", "mm7", */
+#ifdef __MMX__
+ "mm0", "mm1", "mm2", "mm3", "mm4", "mm5", "mm6", "mm7",
+#endif
"memory", "cc");
}
diff --git a/gst/deinterlace2/tvtime/tomsmocomp/SearchLoopBottom.inc b/gst/deinterlace2/tvtime/tomsmocomp/SearchLoopBottom.inc
index e65a2131..6b6ee4ca 100644
--- a/gst/deinterlace2/tvtime/tomsmocomp/SearchLoopBottom.inc
+++ b/gst/deinterlace2/tvtime/tomsmocomp/SearchLoopBottom.inc
@@ -98,11 +98,10 @@
"m"(oldbx)
: XAX, XCX, XDX, XSI, XDI,
-#ifdef ARCH_386
"st", "st(1)", "st(2)", "st(3)", "st(4)", "st(5)", "st(6)", "st(7)",
+#ifdef __MMX__
+ "mm0", "mm1", "mm2", "mm3", "mm4", "mm5", "mm6", "mm7",
#endif
- /* FIXME: breaks unless compiling with -mmmx
- "mm0", "mm1", "mm2", "mm3", "mm4", "mm5", "mm6", "mm7", */
"memory", "cc"
);