diff options
author | David Schleef <ds@schleef.org> | 2005-03-17 05:49:50 +0000 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2005-03-17 05:49:50 +0000 |
commit | d4b73429db72ff1a68e64ee19945c4cfdb6e9a91 (patch) | |
tree | 5afdc1c87576559577f6844714dacfeb97725eb9 /examples | |
parent | f426ab2ae9cb19d7e788e0e11ab91ac0e043ed7c (diff) | |
download | liboil-d4b73429db72ff1a68e64ee19945c4cfdb6e9a91.tar.gz |
Patch from Jakub Stachowski <stachowski@hypair.net> to add a
few classes and implementations. They're not correct --
requires fixage before release.
* examples/work/Makefile.am:
* examples/work/work.c:
* liboil/simdpack/Makefile.am:
* liboil/simdpack/abs_sse.c: (abs_u8_s8_sse):
* liboil/simdpack/clip_ref.c:
* liboil/simdpack/scalaradd.c: (scalaradd_s8_mmx):
* liboil/simdpack/simdpack.h:
* liboil/simdpack/vectoradd_s.c:
Diffstat (limited to 'examples')
-rw-r--r-- | examples/work/Makefile.am | 2 | ||||
-rw-r--r-- | examples/work/work.c | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/examples/work/Makefile.am b/examples/work/Makefile.am index 4ff1f58..a0474dc 100644 --- a/examples/work/Makefile.am +++ b/examples/work/Makefile.am @@ -5,7 +5,7 @@ else noinst_PROGRAMS = endif -work_SOURCES = work.c +work_SOURCES = work.c conv.c AM_LDFLAGS = $(LIBOIL_LIBS) $(GLIB_LIBS) diff --git a/examples/work/work.c b/examples/work/work.c index 6dba338..79027e5 100644 --- a/examples/work/work.c +++ b/examples/work/work.c @@ -25,7 +25,8 @@ * POSSIBILITY OF SUCH DAMAGE. */ -#define KLASS_NAME "conv_s16_f32" +//#define KLASS_NAME "conv_s16_f32" +#define KLASS_NAME "clip_s16" #ifdef HAVE_CONFIG_H #include "config.h" @@ -40,6 +41,9 @@ #include <string.h> #include <math.h> +#define SOME_FILE <stdio.h> +#include SOME_FILE + void register_impls(void); void test(void) |