diff options
Diffstat (limited to 'src/post/goom')
-rw-r--r-- | src/post/goom/Makefile.am | 7 | ||||
-rwxr-xr-x[-rw-r--r--] | src/post/goom/gfontlib.c | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | src/post/goom/gfontlib.h | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | src/post/goom/gfontrle.c | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | src/post/goom/mathtools.h | 0 | ||||
-rw-r--r-- | src/post/goom/mmx.h | 4 | ||||
-rwxr-xr-x[-rw-r--r--] | src/post/goom/surf3d.c | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | src/post/goom/surf3d.h | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | src/post/goom/tentacle3d.c | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | src/post/goom/tentacle3d.h | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | src/post/goom/v3d.h | 0 |
11 files changed, 8 insertions, 3 deletions
diff --git a/src/post/goom/Makefile.am b/src/post/goom/Makefile.am index e6bae3374..481b66b41 100644 --- a/src/post/goom/Makefile.am +++ b/src/post/goom/Makefile.am @@ -8,6 +8,9 @@ EXTRA_DIST = mmx.c xmmx.c ppc_drawings.s ppc_zoom_ultimate.s diff_against_releas #CFLAGS = `echo @CFLAGS@ | sed -e 's/-fomit-frame-pointer//g;s/-Os/-O2/g'` CFLAGS = `echo @CFLAGS@ | sed -e 's/-Os/-O2/g'` +# Avoid errors with -O0 +xineplug_post_goom_la-xmmx.o xineplug_post_goom_la-xmmx.lo: CFLAGS=`echo @CFLAGS@ | sed -e 's/-O0\?\s/-Os /g'` + xinepost_LTLIBRARIES = xineplug_post_goom.la ## doesn't work @@ -16,9 +19,9 @@ xinepost_LTLIBRARIES = xineplug_post_goom.la #AM_CPPFLAGS = -DCPU_POWERPC #endif -if HAVE_MMX +#if HAVE_MMX extra_files = mmx.c xmmx.c -endif +#endif xineplug_post_goom_la_SOURCES = $(extra_files) xine_goom.c \ config_param.c convolve_fx.c cpu_info.c drawmethods.c filters.c flying_stars_fx.c \ diff --git a/src/post/goom/gfontlib.c b/src/post/goom/gfontlib.c index 2bc366305..2bc366305 100644..100755 --- a/src/post/goom/gfontlib.c +++ b/src/post/goom/gfontlib.c diff --git a/src/post/goom/gfontlib.h b/src/post/goom/gfontlib.h index 0520b7da9..0520b7da9 100644..100755 --- a/src/post/goom/gfontlib.h +++ b/src/post/goom/gfontlib.h diff --git a/src/post/goom/gfontrle.c b/src/post/goom/gfontrle.c index a22545a1e..a22545a1e 100644..100755 --- a/src/post/goom/gfontrle.c +++ b/src/post/goom/gfontrle.c diff --git a/src/post/goom/mathtools.h b/src/post/goom/mathtools.h index 165fc66b0..165fc66b0 100644..100755 --- a/src/post/goom/mathtools.h +++ b/src/post/goom/mathtools.h diff --git a/src/post/goom/mmx.h b/src/post/goom/mmx.h index b650d8b12..88789e86f 100644 --- a/src/post/goom/mmx.h +++ b/src/post/goom/mmx.h @@ -31,6 +31,8 @@ # include "config.h" #endif +#include "attributes.h" + #include "goom_graphic.h" /* Warning: at this writing, the version of GAS packaged @@ -58,7 +60,7 @@ typedef union { char b[8]; /* 8 Byte (8-bit) values */ unsigned char ub[8]; /* 8 Unsigned Byte */ float s[2]; /* Single-precision (32-bit) value */ -} __attribute__ ((aligned (8))) mmx_t; /* On an 8-byte (64-bit) boundary */ +} ATTR_ALIGN(8) mmx_t; /* On an 8-byte (64-bit) boundary */ diff --git a/src/post/goom/surf3d.c b/src/post/goom/surf3d.c index ba8c69094..ba8c69094 100644..100755 --- a/src/post/goom/surf3d.c +++ b/src/post/goom/surf3d.c diff --git a/src/post/goom/surf3d.h b/src/post/goom/surf3d.h index 482b6a090..482b6a090 100644..100755 --- a/src/post/goom/surf3d.h +++ b/src/post/goom/surf3d.h diff --git a/src/post/goom/tentacle3d.c b/src/post/goom/tentacle3d.c index e1e2157e7..e1e2157e7 100644..100755 --- a/src/post/goom/tentacle3d.c +++ b/src/post/goom/tentacle3d.c diff --git a/src/post/goom/tentacle3d.h b/src/post/goom/tentacle3d.h index ad0858fad..ad0858fad 100644..100755 --- a/src/post/goom/tentacle3d.h +++ b/src/post/goom/tentacle3d.h diff --git a/src/post/goom/v3d.h b/src/post/goom/v3d.h index 7690847f2..7690847f2 100644..100755 --- a/src/post/goom/v3d.h +++ b/src/post/goom/v3d.h |