mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-08 23:42:28 +00:00
gst/goom/plugin_info.c: Disable altivec optimisations for 32-bit PPC as well to make things build properly on all PPC...
Original commit message from CVS: * gst/goom/plugin_info.c: (setOptimizedMethods): Disable altivec optimisations for 32-bit PPC as well to make things build properly on all PPC systems. Fixes #528143
This commit is contained in:
parent
c731549a5a
commit
edf6625c91
2 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2008-04-15 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
|
* gst/goom/plugin_info.c: (setOptimizedMethods):
|
||||||
|
Disable altivec optimisations for 32-bit PPC as well to make
|
||||||
|
things build properly on all PPC systems. Fixes #528143
|
||||||
|
|
||||||
2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
|
2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
* gst-plugins-good.spec.in:
|
* gst-plugins-good.spec.in:
|
||||||
|
|
|
@ -64,7 +64,8 @@ setOptimizedMethods (PluginInfo * p)
|
||||||
#endif
|
#endif
|
||||||
#endif /* HAVE_CPU_I386 */
|
#endif /* HAVE_CPU_I386 */
|
||||||
|
|
||||||
/* disable until someone finds out what to use here instead of CPU_OPTION_64_BITS */
|
/* disable all PPC stuff until someone finds out what to use here instead of
|
||||||
|
* CPU_OPTION_64_BITS, and until someone fixes the assembly build for ppc */
|
||||||
#if 0
|
#if 0
|
||||||
#ifdef HAVE_CPU_PPC64
|
#ifdef HAVE_CPU_PPC64
|
||||||
if ((cpuFlavour & CPU_OPTION_64_BITS) != 0) {
|
if ((cpuFlavour & CPU_OPTION_64_BITS) != 0) {
|
||||||
|
@ -72,7 +73,6 @@ setOptimizedMethods (PluginInfo * p)
|
||||||
p->methods.zoom_filter = ppc_zoom_generic;
|
p->methods.zoom_filter = ppc_zoom_generic;
|
||||||
}
|
}
|
||||||
#endif /* HAVE_CPU_PPC64 */
|
#endif /* HAVE_CPU_PPC64 */
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef HAVE_CPU_PPC
|
#ifdef HAVE_CPU_PPC
|
||||||
if ((cpuFlavour & OIL_IMPL_FLAG_ALTIVEC) != 0) {
|
if ((cpuFlavour & OIL_IMPL_FLAG_ALTIVEC) != 0) {
|
||||||
|
@ -83,6 +83,7 @@ setOptimizedMethods (PluginInfo * p)
|
||||||
p->methods.zoom_filter = ppc_zoom_generic;
|
p->methods.zoom_filter = ppc_zoom_generic;
|
||||||
}
|
}
|
||||||
#endif /* HAVE_CPU_PPC */
|
#endif /* HAVE_CPU_PPC */
|
||||||
|
#endif
|
||||||
|
|
||||||
cpuFlavour = 0; /* trick compiler into thinking variable is used */
|
cpuFlavour = 0; /* trick compiler into thinking variable is used */
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue