[vlc-commits] contribs: Fix goom build in -O2

Hugo Beauzée-Luyssen git at videolan.org
Wed May 18 20:26:44 CEST 2016


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Wed May 18 20:22:11 2016 +0200| [759b7b892ad6967fc9c2a03de7c6c8e83044fd78] | committer: Hugo Beauzée-Luyssen

contribs: Fix goom build in -O2

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

 contrib/src/goom/goom2k4-0-mmx.patch |   14 --------------
 contrib/src/goom/rules.mak           |    1 -
 2 files changed, 15 deletions(-)

diff --git a/contrib/src/goom/goom2k4-0-mmx.patch b/contrib/src/goom/goom2k4-0-mmx.patch
deleted file mode 100644
index 48366d6..0000000
--- a/contrib/src/goom/goom2k4-0-mmx.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -ruN goom.orig/src/xmmx.c goom/src/xmmx.c
---- goom.orig/src/xmmx.c	2006-10-01 22:10:15.000000000 +0200
-+++ goom/src/xmmx.c	2006-10-01 23:45:59.000000000 +0200
-@@ -69,8 +69,8 @@
- 		 */
- 
- 		asm volatile
--      ("#1 \n\t movq %[brutS], %%mm0"
--       "#1 \n\t movq %[brutD], %%mm1"
-+      ("#1 \n\t movq (%[brutS]), %%mm0"
-+       "#1 \n\t movq (%[brutD]), %%mm1"
-        "#1 \n\t psubd   %%mm0, %%mm1" /* mm1 = D - S */
-        "#1 \n\t movq    %%mm1, %%mm2" /* mm2 = D - S */
-        "#1 \n\t pslld     $16, %%mm1"
diff --git a/contrib/src/goom/rules.mak b/contrib/src/goom/rules.mak
index 9b97484..930326b 100644
--- a/contrib/src/goom/rules.mak
+++ b/contrib/src/goom/rules.mak
@@ -17,7 +17,6 @@ goom: goom-$(GOOM_VERSION)-src.tar.gz .sum-goom
 	$(APPLY) $(SRC)/goom/goom2k4-autotools.patch
 	$(APPLY) $(SRC)/goom/goom2k4-noxmmx.patch
 	$(APPLY) $(SRC)/goom/goom2k4-xmmslibdir.patch
-	$(APPLY) $(SRC)/goom/goom2k4-0-mmx.patch
 ifdef HAVE_WIN32
 	$(APPLY) $(SRC)/goom/goom2k4-0-win32.patch
 endif



More information about the vlc-commits mailing list