diff options
author | David Schleef <ds@schleef.org> | 2005-12-26 22:00:20 +0000 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2005-12-26 22:00:20 +0000 |
commit | b96ee82c47c1d440ac289aaca333d8e6fa880d4f (patch) | |
tree | adf351116ba93928743ade19bf6fbcc69950a6f1 /liboil/ref | |
parent | 0d87d683bc0a6ebcf664e46d7e144a06b71e8365 (diff) | |
download | liboil-b96ee82c47c1d440ac289aaca333d8e6fa880d4f.tar.gz |
* liboil/c/Makefile.am:
* liboil/c/ag_clamp.c:
* liboil/c/generate_clamp.pl:
Some autogenerated C implementations for clamp.
* liboil/i386/Makefile.am:
* liboil/i386/clamp.c:
Some implementations.
* liboil/i386/conv_3dnow.c:
Disable a slightly broken impl.
* liboil/ref/clamp.c:
Fix some silliness in the prototypes for the clamp functions.
I'm surprised it even worked at all.
Diffstat (limited to 'liboil/ref')
-rw-r--r-- | liboil/ref/clamp.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/liboil/ref/clamp.c b/liboil/ref/clamp.c index 4bcd718..87464af 100644 --- a/liboil/ref/clamp.c +++ b/liboil/ref/clamp.c @@ -68,9 +68,9 @@ static void clamp_ ## type ## _test (OilTest *test) \ OIL_DEFINE_CLASS_FULL(clamp_ ## type, \ "oil_type_" #type " *dest, " \ "oil_type_" #type " *src, " \ - "int n " \ + "int n, " \ "oil_type_" #type " *s2_1, " \ - "oil_type_" #type " *s3_1, ", \ + "oil_type_" #type " *s3_1", \ clamp_ ## type ## _test); \ OIL_DEFINE_IMPL_REF(clamp_ ## type ## _ref, clamp_ ## type) @@ -198,8 +198,8 @@ static void clamplow_ ## type ## _ref ( \ OIL_DEFINE_CLASS(clamplow_ ## type, \ "oil_type_" #type " *dest, " \ "oil_type_" #type " *src, " \ - "int n " \ - "oil_type_" #type " *s2_1, "); \ + "int n, " \ + "oil_type_" #type " *s2_1"); \ OIL_DEFINE_IMPL_REF(clamplow_ ## type ## _ref, clamplow_ ## type) CLAMPLOW_DEFINE_REF (s8); @@ -322,8 +322,8 @@ static void clamphigh_ ## type ## _ref ( \ OIL_DEFINE_CLASS(clamphigh_ ## type, \ "oil_type_" #type " *dest, " \ "oil_type_" #type " *src, " \ - "int n " \ - "oil_type_" #type " *s2_1, "); \ + "int n, " \ + "oil_type_" #type " *s2_1"); \ OIL_DEFINE_IMPL_REF(clamphigh_ ## type ## _ref, clamphigh_ ## type) CLAMPHIGH_DEFINE_REF (s8); |