Made the explicit target "regenerate" to regenerate the source files using

* app/composite/Makefile.am:
Made the explicit target "regenerate" to regenerate the source
files using the Python meta-generator.

* app/composite/gimp-composite-mmx.c
* app/composite/gimp-composite-mmx.h
* app/composite/gimp-composite-sse.c
* app/composite/gimp-composite-sse.h:
Now bounded by the conditional "#if __GNUC__ >= 3".  This is a
coarse fix to enable app/composite to build on a wider variety of
platforms.  Ideally, this will be refined to encompass different
versions of the compiler(s) supporting inline assembly code.
This commit is contained in:
Helvetix Victorinox 2003-07-29 02:54:09 +00:00
parent 351557433b
commit 0aad627dbe
6 changed files with 32 additions and 6 deletions

View File

@ -1,3 +1,19 @@
2003-07-28 Helvetix Victorinox <helvetix@gimp.org>
* app/composite/Makefile.am:
Made the explicit target "regenerate" to regenerate the source
files using the Python meta-generator.
* app/composite/gimp-composite-mmx.c
* app/composite/gimp-composite-mmx.h
* app/composite/gimp-composite-sse.c
* app/composite/gimp-composite-sse.h:
Now bounded by the conditional "#if __GNUC__ >= 3". This is a
coarse fix to enable app/composite to build on a wider variety of
platforms. Ideally, this will be refined to encompass different
versions of the compiler(s) supporting inline assembly code.
2003-07-28 Henrik Brix Andersen <brix@gimp.org>
* app/core/core-enums.h (GimpGridType): renamed

View File

@ -35,13 +35,9 @@ libappcomposite_a_built_sources = \
libappcomposite_a_SOURCES = $(libappcomposite_a_built_sources) $(libappcomposite_a_sources)
gimp-composite-dispatch.c: make-gimp-composite-dispatch.py
regenerate:
$(srcdir)/make-gimp-composite-dispatch.py gimp-composite-generic.o
gimp-composite-dispatch.h: gimp-composite-dispatch.c
EXTRA_DIST = \
make-gimp-composite-dispatch.py \
ns.py

View File

@ -31,6 +31,7 @@
#include "config.h"
#ifdef USE_MMX
#if __GNUC__ >= 3
#include <stdio.h>
@ -2422,6 +2423,7 @@ xxxgimp_composite_valueonly_va8_va8_va8_mmx(GimpCompositeContext *_op)
}
#endif
#endif /* __GNUC__ > 3 */
#endif /* USE_MMX */
void

View File

@ -2,6 +2,9 @@
#define gimp_composite_context_h
extern void gimp_composite_mmx_init(void);
#ifdef USE_MMX
#if __GNUC__ >= 3
/*
*
*/
@ -50,4 +53,6 @@ extern void gimp_composite_softlight_va8_va8_va8_mmx(GimpCompositeContext *);
extern void gimp_composite_subtract_va8_va8_va8_mmx(GimpCompositeContext *);
extern void gimp_composite_swap_va8_va8_va8_mmx(GimpCompositeContext *);
extern void gimp_composite_valueonly_va8_va8_va8_mmx(GimpCompositeContext *);
#endif /* __GNUC__ > 3 */
#endif /* USE_MMX */
#endif

View File

@ -31,6 +31,7 @@
#include "config.h"
#ifdef USE_MMX
#if __GNUC__ >= 3
#include <stdio.h>
@ -2415,6 +2416,7 @@ xxxgimp_composite_valueonly_va8_va8_va8_sse(GimpCompositeContext *_op)
}
#endif
#endif /* __GNUC__ > 3 */
#endif /* USE_SSE */
void
@ -2422,4 +2424,3 @@ gimp_composite_sse_init(void)
{
}

View File

@ -1,6 +1,10 @@
#ifndef gimp_composite_context_h
#define gimp_composite_context_h
extern void gimp_composite_sse_init(void);
#ifdef USE_MMX
#if __GNUC__ >= 3
/*
*
*/
@ -49,4 +53,6 @@ extern void gimp_composite_softlight_va8_va8_va8_mmx(GimpCompositeContext *);
extern void gimp_composite_subtract_va8_va8_va8_mmx(GimpCompositeContext *);
extern void gimp_composite_swap_va8_va8_va8_mmx(GimpCompositeContext *);
extern void gimp_composite_valueonly_va8_va8_va8_mmx(GimpCompositeContext *);
#endif /* __GNUC__ > 3 */
#endif /* USE_MMX */
#endif