summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* * doc/liboil-sections.txt: remove old functionsliboil_0_3_3David Schleef2005-10-012-3/+4
|
* * configure.ac: version bumpDavid Schleef2005-10-015-1/+86
| | | | | | * doc/liboil-overrides.txt: doc fixes * doc/liboil-sections.txt: * doc/tmpl/liboilrandom.sgml:
* * liboil/colorspace/rgb2bgr_powerpc.c: Fix implDavid Schleef2005-09-302-7/+13
|
* * doc/tmpl/liboil-unused.sgml:David Schleef2005-09-2820-3115/+3455
| | | | | | | | | | | | | | | | | | | | | | * doc/tmpl/liboil.sgml: * doc/tmpl/liboilcpu.sgml: * doc/tmpl/liboildebug.sgml: * doc/tmpl/liboilfuncs-conv.sgml: * doc/tmpl/liboilfuncs-copy.sgml: * doc/tmpl/liboilfuncs-dct.sgml: * doc/tmpl/liboilfuncs-doc.sgml: * doc/tmpl/liboilfuncs-math.sgml: * doc/tmpl/liboilfuncs-math8x8.sgml: * doc/tmpl/liboilfuncs-pixel.sgml: * doc/tmpl/liboilfunction.sgml: * doc/tmpl/liboilgcc.sgml: * doc/tmpl/liboilparameter.sgml: * doc/tmpl/liboilprofile.sgml: * doc/tmpl/liboilprototype.sgml: * doc/tmpl/liboilrandom.sgml: * doc/tmpl/liboiltest.sgml: * doc/tmpl/liboiltypes.sgml: documentation update.
* * examples/oil-test.c: Add 64-bit typesDavid Schleef2005-09-158-13/+66
| | | | | | | | | * liboil/liboilparameter.h: same * liboil/liboilprototype.c: same * liboil/liboilrandom.h: same * liboil/liboiltest.c: same * liboil/Makefile.am: fix windows build * liboil/simdpack/sincos_f64.c: minor change
* * liboil/simdpack/sincos_f64.c: (sincos_f64_sincos): Add implDavid Schleef2005-09-132-0/+18
| | | | using sincos()
* GCC complains on solaris when isspace() is called with aDavid Schleef2005-08-164-21/+32
| | | | | | | | | | char argument. Rather than argue about such stupidity, I'll play along. * liboil/liboilprototype.c: (oil_prototype_from_string), (parse_string), (oil_param_from_string): * testsuite/introspect.c: (parse_type), (parse_size), (parse_string), (parse_prototype): * testsuite/proto3.c: (check_param):
* * liboil/powerpc/Makefile.am: disable fdct8x8theora_altivec.c,David Schleef2005-08-155-15/+28
| | | | | | | | | | because it doesn't compile. * liboil/powerpc/recon8x8_ppc.c: (recon8x8_inter_ppc), (recon8x8_inter2_ppc): disable functions, because they cause bus errors. * liboil/simdpack/clip_fast.c: (clip_s16_fast2): Fix endpoint problem. * testsuite/Makefile.am: remove unused GLIB flags
* * liboil/i386/Makefile.am: compile empty file on non-i386David Schleef2005-08-153-3/+13
| | | | * liboil/motovec/motovec.c: get underscore conditional correctly
* * testsuite/abs.c: (test), (main): remove glib usage in testsuiteDavid Schleef2005-08-156-51/+60
| | | | | | | * testsuite/copy.c: (test), (main): * testsuite/md5.c: (test), (main): * testsuite/md5_profile.c: (test), (main): * testsuite/trans.c: (test), (main):
* * configure.ac: Add some altivec theora codeDavid Schleef2005-08-1512-62/+1835
| | | | | | | | | | | | | | | | | | * liboil/Makefile.am: * liboil/powerpc/Makefile.am: * liboil/powerpc/fdct8x8theora_altivec.c: (fdct8x8theora_altivec): * liboil/powerpc/recon8x8_altivec.c: (recon8x8_intra_altivec), (recon8x8_inter_altivec), (recon8x8_inter2_altivec): * liboil/powerpc/recon8x8_ppc.c: (recon8x8_intra_ppc), (recon8x8_inter_ppc), (recon8x8_inter2_ppc): * liboil/colorspace/composite.c: Fix bug in ADD operator. * liboil/dct/fdct8x8theora_i386.c: * liboil/simdpack/average2_u8.c: (average2_u8_trick), (average2_u8_unroll4): Fix n%4!=0 problems noticed by thomasvs. * liboil/simdpack/scalarmult_i386.c: (scalarmult_f32_sse): Fix n%4!=0 problems. * testsuite/stride.c: (main): use a random n to test possible endpoint problems.
* * liboil/liboilcpu.c: (oil_cpu_i386_getflags_cpuinfo): SSE2David Schleef2005-08-152-0/+6
| | | | implies MMXEXT in both codepaths.
* * configure.ac: use macro for gtk-doc checkingDavid Schleef2005-08-1415-4343/+3174
| | | | | | | | | | | | | | | | * doc/tmpl/liboil-unused.sgml: update * doc/tmpl/liboilfuncs-conv.sgml: * doc/tmpl/liboilfuncs-copy.sgml: * doc/tmpl/liboilfuncs-dct.sgml: * doc/tmpl/liboilfuncs-doc.sgml: * doc/tmpl/liboilfuncs-math.sgml: * doc/tmpl/liboilfuncs-math8x8.sgml: * doc/tmpl/liboilfuncs-pixel.sgml: * liboil/simdpack/Makefile.am: AMD64 fix * m4/gtk-doc.m4: enable gtk-doc by default * patches/patch-remove-indirection: update * testsuite/instruction/Makefile.am: don't run by default * testsuite/stride.c: (main): add some random striding
* * liboil/null.c: MMX isn't really portableDavid Schleef2005-08-092-12/+26
|
* * liboil/colorspace/Makefile.am: Disable some code on amd64.David Schleef2005-08-044-9/+9
| | | | | * liboil/copy/Makefile.am: * liboil/dct/Makefile.am:
* * doc/Makefile.am: updatesDavid Schleef2005-08-0310-26/+305
| | | | | | | | | | | * doc/liboil-docs.sgml: * doc/liboil-sections.txt: * doc/tmpl/liboil-unused.sgml: * doc/tmpl/liboilcpu.sgml: * doc/tmpl/liboilfuncs-doc.sgml: * doc/tmpl/liboilfunction.sgml: * doc/tmpl/liboiltest.sgml: * testsuite/instruction/check-instructions.pl: minor opcode fixes
* * liboil/fb/fbpict.h: oops, need thisDavid Schleef2005-08-032-0/+614
|
* * liboil/simdpack/scalarmult.c: Readd some implementations,David Schleef2005-08-032-0/+35
| | | | since they're unbroken now. (They still suck.)
* * HACKING: some notesDavid Schleef2005-08-0315-7/+643
| | | | | | | | | | | | | | | | * configure.ac: readd _GNU_SOURCE * liboil/Makefile.am: add new dirs, create decls header * liboil/build_class_decls.c: create decls header * liboil/liboilclasses.h: new decls header * liboil/liboilinternal.h: general internal header * liboil/fb/.cvsignore: cvsignore * liboil/i386/.cvsignore: * liboil/math/.cvsignore: * liboil/motovec/.cvsignore: * liboil/ref/.cvsignore: * liboil/sse/.cvsignore: * liboil/utf8/.cvsignore: * testsuite/instruction/check-instructions.pl: minor opcode fixes
* Patch from Wim Taymans adding a bunch of classes and MMXDavid Schleef2005-08-0323-3/+2684
| | | | | | | | | | | | | | | | | | | | | | | | | | implementations for libtheora. Heavily modified by ds. * Makefile.am: * liboil-uninstalled.pc.in: * liboil/copy/Makefile.am: * liboil/copy/copy.c: * liboil/copy/copy8x8.c: * liboil/copy/copy8x8_i386.c: * liboil/dct/Makefile.am: * liboil/dct/fdct8x8theora.c: * liboil/dct/fdct8x8theora_i386.c: * liboil/i386/Makefile.am: * liboil/i386/diff8x8_i386.c: * liboil/i386/error8x8_i386.c: * liboil/i386/recon8x8_i386.c: * liboil/i386/rowcolsad8x8_i386.c: * liboil/i386/sad8x8_i386.c: * liboil/i386/sad8x8avg_i386.c: * liboil/ref/Makefile.am: * liboil/ref/diff8x8.c: * liboil/ref/error8x8.c: * liboil/ref/recon8x8.c: * liboil/ref/rowcolsad8x8.c: * liboil/ref/sad8x8avg.c:
* * liboil/Makefile.am: add libcolorspace.hDavid Schleef2005-08-0317-333/+414
| | | | | | | | | | | | | | | | | | | | * liboil/build_marshal.c: (main): use oil_init_no_optimize() to save us from horrible build problems (like what happened today) * liboil/build_prototypes.c: (main): same * liboil/build_prototypes_doc.c: (main): same * liboil/liboilfunction.h: same * liboil/liboilfunction.c: (oil_init_no_optimize): same * liboil/liboilmarshal.c: (_oil_test_marshal_function): some new marshal cases needed by wim's code. * liboil/null.c: (null_mmx): add mmx impl * liboil/colorspace/argb_paint.c: prototype fixes * liboil/colorspace/ayuv2argb.c: * liboil/colorspace/composite.c: * liboil/colorspace/rgb2bgr.c: * liboil/colorspace/rgb2rgba.c: * liboil/fb/Makefile.am: add headers * liboil/fb/fbmmx.c: hacking * liboil/liboilfuncs.h: update
* * configure.ac: Define HAVE_LD_UNDERSCORE to indicate whetherDavid Schleef2005-08-023-0/+19
| | | | | or not an underscore is prepended to C symbols. * liboil/motovec/motovec.c:
* * configure.ac: use BSD_SOURCE instead of POSIX_C_SOURCE, becauseDavid Schleef2005-08-012-1/+6
| | | | POSIX_C_SOURCE causes symbols that we'd like to use to be hidden.
* * configure.ac: Changes to make amd64 not suckDavid Schleef2005-08-0113-32/+98
| | | | | | | | | | | | | | * liboil/colorspace/Makefile.am: * liboil/conv/Makefile.am: * liboil/copy/Makefile.am: * liboil/dct/Makefile.am: * liboil/fb/Makefile.am: * liboil/liboilprofile.h: * liboil/md5/Makefile.am: * liboil/simdpack/Makefile.am: * liboil/simdpack/scalarmult.c: * liboil/sse/Makefile.am: * liboil/utf8/Makefile.am:
* * m4/gtk-doc.m4: this is usefulDavid Schleef2005-08-012-0/+57
|
* * configure.ac: add -D_BSD_SOURCEDavid Schleef2005-08-012-1/+5
|
* * liboil/colorspace/composite_i386.c: (composite_over_argb_sse2_3):David Schleef2005-08-012-6/+11
| | | | minor improvement
* * Makefile.am: add 'foreign' to automake flagsDavid Schleef2005-08-0116-17/+2711
| | | | | | | | | | | | | | | | | | | * configure.ac: add some dirs * examples/Makefile.am: same * examples/memcpy-speed.c: (main): change back to gromit's cpu * examples/oil-inspect.c: (oil_print_impl): Don't run non-runnable implementations. * examples/oil-test.c: (dump_array), (main): minor fixes * examples/taylor/Makefile.am: new * examples/taylor/example1.c: new * liboil/Makefile.am: add dirs * liboil/colorspace/composite.c: (composite_over_argb_noclamp_2): alternate clamping version * liboil/simdpack/scalarmult.c: add unrolled impls * testsuite/instruction/check-instructions.pl: fixes * liboil/fb/Makefile.am: new * liboil/fb/fbmmx.h: new * liboil/fb/fbmmx.c: new
* * liboil/colorspace/composite_i386.c: (composite_over_argb_sse2_2),David Schleef2005-08-013-0/+276
| | | | | | (composite_over_argb_sse2_3): hacking * liboil/liboilcpu.c: (oil_cpu_i386_getflags_cpuid): Intel's SSE2 implies MMXEXT
* * liboil/colorspace/composite_i386.c: (composite_over_argb_mmx_4),David Schleef2005-08-012-5/+61
| | | | (composite_over_argb_mmx_5), (composite_over_argb_sse2): hacking
* * liboil/colorspace/composite_i386.c: (composite_over_argb_mmx),David Schleef2005-07-312-25/+233
| | | | | | (composite_over_argb_mmx_2), (composite_over_argb_mmx_3), (composite_over_argb_mmx_4), (composite_over_argb_sse2): some new implementations
* * examples/report.c: (oil_print_class): Fix printingDavid Schleef2005-07-3011-123/+592
| | | | | | | | | | | | | * liboil/colorspace/Makefile.am: * liboil/colorspace/composite.c: use colorspace header * liboil/colorspace/composite_i386.c: new * liboil/liboil.h: remove prefetch, it was a bad idea * liboil/liboilcolorspace.h: new header * liboil/liboilcpu.c: (oil_cpu_get_ticks_per_second): * liboil/liboilcpu.h: * liboil/liboiltest.c: (oil_test_init), (oil_test_check_function): add oil_test_init() and reshuffle code * liboil/liboiltest.h: ditto
* * configure.ac: oops, compile fixDavid Schleef2005-07-272-0/+5
|
* * doc/liboil-sections.txt: Add some recent new prototypes.David Schleef2005-07-2711-60/+820
| | | | | | | | | | | | | | | | | | | | * doc/tmpl/liboilfuncs-math.sgml: * doc/tmpl/liboilfuncs-pixel.sgml: * examples/report.c: (get_n_impls), (oil_print_class): * liboil/Makefile.am: add math subdir * liboil/colorspace/composite.c: (composite_in_argb_ref), (composite_in_argb_const_src_ref), (composite_in_argb_const_mask_ref), (composite_over_argb_ref), (composite_over_argb_const_src_ref), (composite_add_argb_ref), (composite_add_argb_const_src_ref), (composite_in_over_argb_ref), (composite_in_over_argb_const_src_ref), (composite_in_over_argb_const_mask_ref): Fix OVER operator, and rename compose to composite everywhere. * liboil/liboilfuncs.h: new math functions * liboil/liboiltest.c: (oil_test_new): change size of test array back to 100, because 1000 is wrong and slow * liboil/math/Makefile.am: new math code * liboil/math/math.c:
* * CVS_HAS_MOVED: Revert last change in new repositoryDavid Schleef2005-07-265-56/+7
| | | | | | * autogen.sh: * configure.ac: * cvs-changeroot:
* * CVS_HAS_MOVED: disable CVS, pointing to new locationDavid Schleef2005-07-265-0/+64
| | | | | | * autogen.sh: * configure.ac: * cvs-changeroot:
* * liboil/liboilprototype.c: (oil_arg_type_name): Implement.David Schleef2005-07-204-2/+57
| | | | | | | * liboil/liboilfunction.c: (oil_class_optimize): Log what implementation we chose. * liboil/liboildebug.h: (OIL_FUNCTION): Make sure we get PRETTY_FUNCTION with gcc.
* * configure.ac: add compiler flag for powerpcDavid Schleef2005-06-199-20/+216
| | | | | | | | | | | | | | * examples/memcpy-speed.c: (main): only run runnable functions * liboil/colorspace/Makefile.am: add yuv.c * liboil/colorspace/yuv.c: (yuyv2ayuv_ref), (yvyu2ayuv_ref), (uyvy2ayuv_ref), (ayuv2yuyv_ref), (ayuv2yvyu_ref), (ayuv2uyvy_ref): New classes * liboil/liboilfunction.c: include stdlib for malloc * liboil/motovec/vec_memcpy.S: change .global to .globl, add initial underscore * liboil/motovec/vec_memset.S: same * liboil/sse/Makefile.am: compile empty.c if nothing else is available
* * liboil/Makefile.am: create a tmpfile for liboilarray.c toDavid Schleef2005-06-188-26/+296
| | | | | | | | | | | | | | avoid unnecessary building of liboil-0.3.la * liboil/colorspace/Makefile.am: add resample_powerpc.c * liboil/colorspace/resample.c: (merge_linear_argb_test): add test function, since one parameter needs to be in the range [0,256] * liboil/colorspace/resample_powerpc.c: (merge_linear_argb_powerpc): altivec impl * liboil/colorspace/rgb2rgba_powerpc.c: (rgb2rgba_powerpcasm): Improve the asm * liboil/copy/Makefile.am: new file * liboil/copy/splat_powerpc.c: (splat_u8_ns_altivec), (splat_u8_ns_altivec2), (splat_u32_ns_altivec): some altivec impls
* * liboil/copy/copy_powerpc.c: (copy_u8_altivec),David Schleef2005-06-184-84/+128
| | | | | | | (copy_u8_altivec2): Rewrite so that they actually work. * liboil/motovec/Makefile.am: Fix up motovec stuff * liboil/motovec/motovec.c: (copy_u8_motovec), (splat_u8_ns_motovec): same
* * configure.ac: snarf LIBMOTOVEC because it has a compatibleDavid Schleef2005-06-1713-22/+5206
| | | | | | | | | | | | | | | license. * COPYING: * liboil/Makefile.am: * liboil/motovec/Makefile.am: * liboil/motovec/README: * liboil/motovec/checksum_vec.S: * liboil/motovec/string_vec.S: * liboil/motovec/vec_csum.S: * liboil/motovec/vec_memcmp.S: * liboil/motovec/vec_memcpy.S: * liboil/motovec/vec_memset.S: * liboil/motovec/vec_strcpy.S:
* * liboil/colorspace/Makefile.am: new filesDavid Schleef2005-06-177-76/+441
| | | | | | | | * liboil/colorspace/argb_paint.c: remove temporary classes * liboil/colorspace/composite.c: new * liboil/colorspace/resample.c: new * liboil/liboilfuncs.h: update * liboil/liboilmarshal.c: (_oil_test_marshal_function): update
* * liboil/conv/conv_sse.c:David Schleef2005-06-166-58/+94
| | | | | | | | | | * liboil/sse/Makefile.am: Fix flags * liboil/sse/conv_sse.c: (conv_f32_s32_sse): Remove emms, since it's not MMX code, and remove MMX flag. * testsuite/instruction/Makefile.am: convert to check program * testsuite/instruction/check-instructions.pl: add list of instructions that are both mmx and sse2, and differentiate based on usage of %xmm registers.
* * testsuite/instruction/Makefile.am:David Schleef2005-06-163-3/+71
| | | | * testsuite/instruction/check-instructions.pl: Add sse2 instructions
* * configure.ac: Add instruction checkerDavid Schleef2005-06-1623-55/+817
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * testsuite/Makefile.am: * testsuite/instruction/Makefile.am: * testsuite/instruction/check-instructions.pl: * testsuite/instruction/list-impls.c: (main): * liboil/colorspace/argb_paint_i386.c: Fix flags based on advice of the instruction checker * liboil/colorspace/ayuv2argb_i386.c: * liboil/conv/conv_3dnow.c: * liboil/conv/conv_sse.c: * liboil/copy/trans8x8_i386.c: * liboil/dct/idct8x8_i386.c: * liboil/sse/conv_sse.c: * liboil/liboilfuncs.h: update * liboil/liboilmarshal.c: (_oil_test_marshal_function): update * liboil/liboiltest.c: (oil_test_new), (oil_test_check_function): regenerate inplace data for every test iteration. Bump default n to 1000 to force memcpy to choose a good function. (lame hack) * liboil/copy/copy_i386.c: (copy_u8_mmx3), (copy_u8_mmx4), (copy_u8_mmx5): new implementation, fix others * liboil/copy/splat_i386.c: (splat_u32_ns_mmx): make faster * liboil/copy/splat_ref.c: (splat_u8_ns_int): fix bug * liboil/colorspace/argb_paint.c: (argb_splat_u8_ref), (rgba_splat_u8_ref): New functions * liboil/simdpack/average2_u8.c: (average2_u8_ref), (average2_u8_trick), (average2_u8_fast), (average2_u8_unroll4): Implementations really need to follow stride rules. * liboil/Makefile.am: Don't use SSE flags, because people on powerpc don't appreciate it. * examples/memcpy-speed.c: (main): only go to 1<<24 bytes
* * examples/Makefile.am:David Schleef2005-06-027-7/+194
| | | | | | | | | | | | * examples/memcpy-speed.c: (main): New memory speed test program * examples/oil-test.c: (main): Use n=100 for test. * liboil/copy/Makefile.am: * liboil/copy/copy_i386.c: (copy_u8_mmx3): movntq based copy * liboil/copy/splat_i386.c: (splat_u32_ns_mmx): movntq based splat
* * liboil/liboil.h:David Schleef2005-05-273-0/+34
| | | | | * liboil/liboilcpu.c: (oil_memory_prefetch_local), (oil_memory_prefetch_transient): Add prefetch functions.
* * liboil/colorspace/argb_paint_i386.c: (argb_paint_u8_mmx):David Schleef2005-05-279-10/+173
| | | | | | | | | | | | | | | fix asm contraints that gcc-4.0 doesn't like * liboil/conv/conv_3dnow.c: (conv_f32_s16_3dnow), (conv_s32_f32_3dnow): remove mm0 constraint, it's irrelevant * liboil/conv/conv_sse.c: (conv_f32_s32_sse), (conv_s32_f64_sse): * liboil/copy/splat_ref.c: (splat_u32_ns_unroll4): add another unroll * liboil/liboilfunction.h: parentheses are good * liboil/sse/Makefile.am: add a separate directory for SSE intrinsics, since they need to be compiled with special flags. * liboil/sse/conv_sse.c: (conv_f32_s32_sse): * liboil/Makefile.am: add sse directory * configure.ac: cleanup
* * patches/patch-remove-indirection: Some patches that might getDavid Schleef2005-05-093-0/+1029
| | | | | applied in 0.4 transition. * patches/patch-small-lib:
* * configure.ac: version bumpDavid Schleef2005-05-0917-8456/+26
| | | | | | | | | | | | | | | | | | | * liboil/liboilprofile.h: disable broken MIPS code These are autogenerated. * doc/xml/liboil-doc.bottom: * doc/xml/liboil.xml: * doc/xml/liboilcpu.xml: * doc/xml/liboildebug.xml: * doc/xml/liboilfuncs-doc.xml: * doc/xml/liboilfunction.xml: * doc/xml/liboilparameter.xml: * doc/xml/liboilprofile.xml: * doc/xml/liboilprototype.xml: * doc/xml/liboilrandom.xml: * doc/xml/liboiltest.xml: * doc/xml/liboiltypes.xml: * doc/xml/object_index.sgml: * doc/xml/tree_index.sgml: