Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
a4119701
Commit
a4119701
authored
Oct 01, 2006
by
hartman
Browse files
Ugly patch to make the mmx compile on MacIntel. This might be a GCC ASM bug in 4.0.1
parent
17c15b2e
Changes
2
Hide whitespace changes
Inline
Side-by-side
extras/contrib/src/Makefile
View file @
a4119701
...
...
@@ -145,12 +145,12 @@ ifdef HAVE_DARWIN_OS
.dvdcss .dvdnav .dvdread .dvbpsi .live .caca .mod
\
.png .gpg-error .gcrypt .gnutls .opendaap .cddb .cdio .vcdimager .SDL_image
\
.glib .libidl .gecko .mpcdec .dirac_encoder .dirac_decoder .aclocal
\
.libdca .tag
.libdca .tag
.goom2k4
# .expat .clinkcc don't work with SDK yet
# .glib .libidl .gecko are required to build the mozilla plugin
# .mozilla will build an entire mozilla. it can be used if we need to create a new .gecko package
ifneq
($(HOST),i686-apple-darwin8)
all
:
.goom2k4
.x264
all
:
.x264
endif
else
...
...
@@ -1124,6 +1124,7 @@ goom: goom$(GOOM2k4_VERSION).tar.gz
$(EXTRACT_GZ)
ifdef
HAVE_DARWIN_OS
patch
-p
0 < Patches/goom.patch
patch
-p
0 < Patches/goom2k4-0-mmx.patch
endif
ifdef
HAVE_WIN32
(
cd
$@
;
dos2unix configure.in
)
...
...
extras/contrib/src/Patches/goom2k4-0-mmx.patch
0 → 100644
View file @
a4119701
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"
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment