retired and removed.

* app/composite/gimp-composite-dispatch.[ch]: retired and removed.

* app/composite/Makefile.am: The 'test' target now builds and runs
  all the tests in TESTS

  Fixed typos of mismatched parenthesis in 'regenerate' target

* app/composite/Makefile.am: TESTS now include ss2 and 3dnow
  instruction sets.

* app/composite/make-gimp-composite-dispatch.py: retired and removed.

* app/composite/gimp-composite.c: call the installers of all the
  various instruction sets supplied by x86 type processors.

* app/base/base.c (base_init): Call gimp_composite_init() *before*
  paint_funcs_setup() (preparation for retiring
  app/paint-funcs/paint-funcs.c)

* app/composite/gimp-composite-sse2.[ch]
* app/composite/gimp-composite-3dnow.[ch]
* app/composite/gimp-composite-sse2-installer.c
* app/composite/gimp-composite-3dnow-installer.c:
  Added

* app/composite/make-installer.py: generate regression test
  programmes that take the command line arguments --iterations and
  --n-pixels for the number of iterations of a set of tests, and the
  number of pixels to use in each test, respectively.

  Conditionally compile tests in order to build and run tests on
  machines that can actually perform the tests.

  Failing a regression test now causes remaining tests to be
  skipped and a non-zero exit code by the programme.
This commit is contained in:
Helvetix Victorinox
2003-08-18 01:47:10 +00:00
parent cf4bfb2e35
commit 7d1f8a9686
23 changed files with 5883 additions and 4919 deletions

View File

@ -301,6 +301,7 @@ void
gimp_composite_init (void)
{
const gchar *p;
guint32 cpu;
if ((p = g_getenv ("GIMP_COMPOSITE")))
{
@ -316,50 +317,45 @@ gimp_composite_init (void)
gimp_composite_generic_install();
g_printerr ("gimp-composite:");
#ifdef ARCH_X86
#ifdef USE_MMX /* USE_MMX here means "use cpu optimisations" XXX */
if (cpu_accel() & CPU_ACCEL_X86_MMX) {
extern void gimp_composite_mmx_install(void);
g_printerr (" mmx");
gimp_composite_mmx_install();
}
if (cpu_accel() & CPU_ACCEL_X86_SSE) {
if (cpu_accel() & CPU_ACCEL_X86_SSE || cpu_accel() & CPU_ACCEL_X86_MMXEXT) {
extern void gimp_composite_sse_install(void);
g_printerr (" sse");
gimp_composite_sse_install();
}
#if 0
if (cpu_accel() & CPU_ACCEL_X86_MMXEXT) {
g_printerr (" mmxext");
gimp_composite_mmxext_install();
}
#endif
#if 0
if (cpu_accel() & CPU_ACCEL_X86_SSE2) {
extern void gimp_composite_sse2_install(void);
g_printerr (" sse2");
gimp_composite_sse2_install();
}
#endif
#if 0
if (cpu_accel() & CPU_ACCEL_X86_3DNOW) {
extern void gimp_composite_3dnow_install(void);
g_printerr (" 3dnow");
gimp_composite_3dnow_install();
}
#endif
#endif
#ifdef ARCH_PPC
#if 0
if (cpu_accel() & CPU_ACCEL_PPC_ALTIVEC) {
g_printerr (" altivec");
gimp_composite_altivec_install();
}
#endif
#endif
#ifdef ARCH_SPARC
#if 0
g_printerr (" vis");
gimp_composite_vis_install();
#endif
#endif
#endif
g_printerr ("\n");
gimp_composite_options.bits |= GIMP_COMPOSITE_OPTION_INITIALISED;