summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* * configure.ac: version bumpliboil_0_3_2David Schleef2005-05-082-2/+6
|
* Rearrangement of docsDavid Schleef2005-05-0815-2937/+4710
| | | | | | | | | | | | | | | | | * doc/liboil-docs.sgml: * doc/liboil-sections.txt: * doc/tmpl/convert.sgml: * doc/tmpl/liboil-unused.sgml: * doc/tmpl/liboil.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/liboilgcc.sgml: * doc/tmpl/utf8.sgml:
* * README: cleanupDavid Schleef2005-05-085-31/+929
| | | | | | * doc/liboil-sections.txt: add new functions for 0.3.2 * doc/tmpl/liboilfuncs-doc.sgml: updates, plus more words * doc/tmpl/liboilfunction.sgml: updates
* * liboil/copy/splat_ref.c: (splat_u8_ns_int): Stupid monkey! makeDavid Schleef2005-05-084-3/+13
| | | | | | | | the function actually do what it's supposed to do. * liboil/copy/trans8x8_i386.c: (trans8x8_u16_asm2): Remove ebx clobbering * liboil/dct/idct8x8theora_ref.c: remove _REF flag for non-ref function.
* * examples/jpeg/jpeg.c: (jpeg_decoder_decode_entropy_segment):David Schleef2005-05-078-97/+180
| | | | | | | | | | | Fix gcc-4.0 warning. * examples/report.c: (oil_print_class): print the chosen impl name * liboil/conv/conv_ref.c: remove some cruft, add scaleconv classes * liboil/dct/idct8x8_i386.c: (idct8x8_s16_mmx): Fix usage of ebx * liboil/liboil.h: add macro for trans8x8_s16 * liboil/liboilfuncs.h: update * liboil/md5/md5_i386.c: disable some stuff that gcc-4.0 doesn't like.
* * doc/xml/liboilfunction.xml: updateDavid Schleef2005-05-069-23/+116
| | | | | | | | | | | | | | | | * examples/report.c: (oil_print_class): print whether fastest implementation is due to alternate optimization flags * liboil/copy/splat_ref.c: (splat_u8_ns_ref), (splat_u32_ns_ref), (splat_u32_ns_unroll2), (splat_u8_ns_memset), (splat_u8_ns_int): Add new splat classes * liboil/copy/trans8x8_c.c: make static * liboil/copy/trans8x8_i386.c: make functions static * liboil/utf8/utf8_fast.c: make functions static * liboil/liboilcpu.c: (oil_cpu_i386_getflags_cpuid), (oil_cpu_fault_check_enable), (oil_cpu_fault_check_disable): fix up signal() fallback. Allow nested calls to check_enable(). * liboil/liboilfunction.c: (oil_optimize_all): wrap in fault check
* * examples/Makefile.am: add reportDavid Schleef2005-05-024-45/+228
| | | | | | * examples/report.c: Create report of classes and speedups. * liboil/conv/conv_3dnow.c: (conv_f32_s16_3dnow), (conv_s32_f32_3dnow): reindent
* * liboil/utf8/Makefile.am:David Schleef2005-05-023-1/+193
| | | | * liboil/utf8/utf8_fast.c: Some implementations.
* * configure.ac: Check for gettimeofday and sigaction. DefineDavid Schleef2005-05-029-12/+80
| | | | | | | | | | | | | | LIBM for linking with libm. * liboil/Makefile.am: Fixes for win32 building * liboil/conv/Makefile.am: same * liboil/dct/idct8x8_i386.c: (fdct8x8s_s16_mmx): save ebx properly * liboil/liboilcpu.c: (oil_cpu_fault_check_enable), (oil_cpu_fault_check_disable): conditionally use sigaction * liboil/liboilfunction.c: (oil_class_register_impl), (oil_class_register_impl_full): Add function * liboil/liboilfunction.h: same * liboil/liboilprofile.c: (oil_profile_stamp_gtod): make use of gettimeofday conditional.
* * liboil/copy/Makefile.am: Some cool new implementations.David Schleef2005-04-304-1/+226
| | | | | | | * liboil/copy/trans8x8_c.c: (trans8x8_u16_c1), (trans8x8_u16_c2), (trans8x8_u16_c3), (trans8x8_u16_c4): * liboil/copy/trans8x8_i386.c: (trans8x8_u16_asm1), (trans8x8_u16_asm2):
* * examples/uberopt/uberopt.c: Select 100 random sequences insteadDavid Schleef2005-04-303-78/+408
| | | | | of generating all possible. * examples/uberopt/it.c: Example code
* * examples/Makefile.am: add oil-testDavid Schleef2005-04-307-15/+769
| | | | | | | | | | | * examples/oil-test.c: A copy of work.c modified for displaying test results for any class. * liboil/dct/Makefile.am: * liboil/dct/idct8x8_i386.c: (idct8x8_s16_mmx), (fdct8x8s_s16_mmx): Add mmx code for idct * liboil/dct/idct8x8theora_ref.c: Add some classes for idct8x8 to the theora spec. * liboil/liboilfuncs.h: update
* Add an example huffman (variable code length) decoderDavid Schleef2005-04-287-1/+173
| | | | | | | | | | * configure.ac: * examples/Makefile.am: * examples/huffman/Makefile.am: * examples/huffman/huffman.c: (huffman_new), (huffman_add_code), (huffman_decode_iterate), (huffman_decode_ref): * examples/huffman/huffman.h: * examples/huffman/huffman_test.c: (main):
* * configure.ac: version bumpDavid Schleef2005-04-2618-47/+314
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/xml/liboilfunction.xml: update * liboil/Makefile.am: install a few more headers * liboil/build_prototypes.c: (main): Make sure we print "void" for oil_null() function prototype. * liboil/dct/fdct8x8_f64.c: (fdct8x8_f64_1d): * liboil/dct/fdct8x8s_s16.c: * liboil/dct/idct8x8_c.c: (idct8x8_f64_ref), (idct8x8lim10_f64_ref), (idct8x8_s16_ref), (idct8x8lim10_s16_ref): * liboil/liboilcpu.c: (test_cpuid), (oil_cpu_i386_getflags_cpuid): remember to disable fault checking. * liboil/liboilfuncs.h: update * liboil/liboilfunction.c: (oil_class_optimize), (oil_class_register_impl_by_name), (oil_class_register_impl): Better error checking. Allow registration by class, since we allow unregistered classes. * liboil/liboilfunction.h: same * liboil/liboilmarshal.c: (_oil_test_marshal_function): update * liboil/liboiltest.c: (oil_test_check_ref): better error checking * liboil/simdpack/Makefile.am: add sad8x8_broken.c * liboil/simdpack/clip_ref.c: Add a test function to make sure low < high. * liboil/simdpack/sad8x8.c: (sad8x8_f64_2_ref), (sad8x8_s16_2_ref), (sad8x8_u8_ref): Deprecate old classes, because the prototypes are strangely wrong. Replace with new, correct class definitions. Add a new u8 class. * liboil/simdpack/sad8x8_broken.c: (sad8x8_f64_ref), (sad8x8_s16_ref): Move old classes here.
* Apparently this is needed.David Schleef2005-04-061-0/+0
|
* * liboil/liboilcpu.c: (get_proc_cpuinfo),David Schleef2005-03-253-6/+103
| | | | | | | (oil_cpu_i386_getflags_cpuinfo), (get_cpuid), (oil_cpu_i386_getflags_cpuid), (oil_cpu_i386_getflags): Add support for getting flags from cpuid instruction directly. * liboil/liboilfunction.h: Add SSE3
* * configure.ac: bump versionliboil_0_3_1David Schleef2005-03-1710-432/+101
| | | | | | | | | | | * doc/tmpl/liboil-unused.sgml: revert patch * doc/tmpl/liboilfuncs-doc.sgml: * doc/xml/liboilfuncs-doc.xml: * liboil/Makefile.am: * liboil/simdpack/Makefile.am: * liboil/simdpack/clip_ref.c: * liboil/simdpack/scalaradd.c: * liboil/simdpack/simdpack.h:
* * examples/work/Makefile.am: yet another random changeDavid Schleef2005-03-175-7/+15
| | | | | | * examples/work/work.c: (main): same * liboil/liboilcpu.c: (test_altivec): powerpc fixes * liboil/simdpack/Makefile.am: remove i386 flags
* * doc/liboil.types: addDavid Schleef2005-03-172-0/+6
|
* * examples/work/conv.c: (conv_s16_f32_asm1), (register_impls):David Schleef2005-03-172-0/+90
| | | | add me
* * liboil/simdpack/vectoradd_s_i386.c: need this too. part ofDavid Schleef2005-03-172-0/+66
| | | | the patch below.
* * gtk-doc.make: add meDavid Schleef2005-03-172-0/+155
|
* Patch from Jakub Stachowski <stachowski@hypair.net> to add aDavid Schleef2005-03-179-7/+194
| | | | | | | | | | | | | 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:
* * doc/liboil-sections.txt: clean upDavid Schleef2005-03-173-371/+6
| | | | * liboil/Makefile.am: clean liboilfuncs-doc.h
* * liboil/Makefile.am: add liboilgcc.h, build build_prototypes_docDavid Schleef2005-03-175-3/+151
| | | | | | * liboil/liboilfunction.c: fix docs * liboil/build_prototypes_doc.c: build a file appropriate for gtk-doc * liboil/liboilgcc.h: File for gcc magic
* * doc/tmpl/liboil-unused.sgml: More of the sameDavid Schleef2005-03-174-0/+263
| | | | | * doc/tmpl/liboilcpu.sgml: * doc/tmpl/liboilfuncs-doc.sgml:
* * Makefile.am: upgrade gtk-doc stuff, convert to XMLDavid Schleef2005-03-1721-457/+9355
| | | | | | | | | | | | | | | | | | | | | | * configure.ac: * doc/Makefile.am: * doc/build_prototypes_doc.c: * doc/liboil-docs.sgml: * doc/liboil-sections.txt: * doc/xml/liboil-doc.bottom: move sgml files here * 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:
* * configure.ac: add utf8David Schleef2005-03-0110-15/+309
| | | | | | | | | | | | * examples/work/work.c: (test), (dump_array), (dump_test), (dump_source), (main): improve things a bit * liboil/Makefile.am: add utf8 * liboil/liboilfuncs.h: add utf8 * liboil/liboilfunction.c: (oil_class_optimize): Fix memleak. * liboil/utf8/Makefile.am: utf8 functions * liboil/utf8/utf8.c: (utf8_validate_test), (utf8_validate_ref): * liboil/utf8/utf8.h: same * testsuite/dso_check.c: (main): fix compilation
* * testsuite/dso_check.c: (main): AddDavid Schleef2005-02-132-0/+62
|
* * liboil/liboilcpu.c: (test_altivec), (oil_cpu_powerpc_getflags),David Schleef2005-02-025-33/+85
| | | | | | | | | | (illegal_instruction_handler), (oil_cpu_fault_check_enable), (oil_cpu_fault_check_try), (oil_cpu_fault_check_disable): Add illegal instruction checking. * liboil/liboilcpu.h: * liboil/liboilfunction.c: (oil_init): * liboil/liboiltest.c: (oil_test_check_function), (oil_test_check_impl):
* * doc/Makefile.am: Stop abusing _LDFLAGSDavid Schleef2005-01-318-19/+29
| | | | | | | | | * examples/Makefile.am: * examples/jpeg/Makefile.am: * examples/md5/Makefile.am: * examples/uberopt/Makefile.am: * liboil/Makefile.am: * testsuite/Makefile.am:
* addDavid Schleef2005-01-211-0/+27
|
* * Makefile.am: documentation. woohoo.David Schleef2005-01-1830-19/+7649
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac: * doc/Makefile.am: * doc/build_prototypes_doc.c: (main), (print_header), (print_footer): * doc/liboil-docs.sgml: * doc/liboil-sections.txt: * doc/tmpl/conv.sgml: * doc/tmpl/dct.sgml: * doc/tmpl/jpeg.sgml: * doc/tmpl/liboil-unused.sgml: * doc/tmpl/liboil.sgml: * doc/tmpl/liboilcpu.sgml: * doc/tmpl/liboildebug.sgml: * doc/tmpl/liboilfuncs-doc.sgml: * doc/tmpl/liboilfunction.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: * doc/tmpl/md5.sgml: * doc/tmpl/simdpack.sgml: * liboil/liboil.h: * liboil/liboildebug.h: * liboil/liboilfunction.c: * liboil/liboilparameter.h: * liboil/liboiltest.c: (check_holes): * liboil/liboiltypes.h:
* * testsuite/Makefile.am: add proto4David Schleef2005-01-144-40/+85
| | | | | * testsuite/proto1.c: (main): fix * testsuite/proto4.c: (main): new
* * liboil/colorspace/rgb2rgba_powerpc.c: (rgb2rgba_ppc): fix codeDavid Schleef2005-01-147-4/+23
| | | | | | | | * liboil/conv/conv_powerpc.c: asm fix * liboil/simdpack/abs_powerpc.c: broken * liboil/simdpack/clip_powerpc.c: same * liboil/simdpack/mix_powerpc.c: same * liboil/simdpack/multsum_powerpc.c: same
* * Makefile.am: dist autogen.shDavid Schleef2005-01-1312-27/+91
| | | | | | | | | | | | | | | | | | * README: add comments * configure.ac: bump version. Fix ordering. failing->broken * liboil.pc.in: add -lm * liboil/dct/dct36_f32.c: (dct36_f32_ref): still broken. Note to self: only add classes that _have_ a reference implementation. * liboil/dct/fdct8x8_f64.c: (fdct8x8_f64_1d): fix striding * liboil/liboilfuncs.h: parameter name change * liboil/liboilparameter.h: Add guard value. * liboil/liboiltest.c: (oil_test_check_function), (check_guard), (oil_test_check_impl), (init_parameter), (check_holes): check interstitial regions. Use a guard value instead of 0. * liboil/simdpack/abs_i386.c: (abs_u16_s16_mmx2), (abs_u16_s16_sse2): disable broken impls * liboil/simdpack/scalarmult_i386.c: (scalarmult_f32_sse): fix impl
* * README: additional notesDavid Schleef2005-01-117-38/+71
| | | | | | | | | * configure.ac: look for mmap() * examples/md5/md5sum.c: (main): fix for same * liboil/copy/trans8x8_i386.c: (trans8x8_u16_mmx): Need to be careful about using %ebx * liboil/dct/idct8x8_i386.c: (fdct8x8s_s16_mmx): same * liboil/simdpack/abs_i386.c: (abs_u16_s16_mmx): clobber memory
* * autogen.sh:David Schleef2005-01-103-9/+24
| | | | * configure.ac: fix regressions. Add some architectures.
* * INSTALL: er, no, we don't need thisDavid Schleef2005-01-102-228/+4
|
* * autogen.sh: new and improved simple autogen.shDavid Schleef2005-01-103-7/+8
| | | | * configure.ac: oops, define libversion correctly
* * AUTHORS: addDavid Schleef2005-01-108-13/+268
| | | | | | | | | * INSTALL: add * Makefile.am: add ACLOCAL_FLAGS * NEWS: add * configure.ac: fix up for modern autoconf/automake * liboil/Makefile.am: use -version-info * license_block: update for 2005
* * examples/oil-inspect.c: (oil_print_impl): use "std." as abbr forDavid Schleef2005-01-109-17/+374
| | | | | | | | | | | | | | standard * examples/uberopt/uberopt.c: (main): fix compile problem on ia64 * examples/work/Makefile.am: glib fixes * liboil/Makefile.am: autobuild a marshalling function * liboil/build_marshal.c: (main), (add_pointer_mask), (print_header), (print_footer): same * liboil/liboilmarshal.c: (_oil_test_marshal_function): the autobuilt source * liboil/liboiltest.c: (oil_test_check_function): use the autobuilt marshalling function * liboil/liboiltest.h: same
* * examples/work/work.c: (test), (main): misc changesDavid Schleef2005-01-1011-79/+79
| | | | | | | | | | | | | | | * liboil/conv/conv_3dnow.c: (conv_f32_s16_3dnow), (conv_s32_f32_3dnow): fix asm * liboil/conv/conv_bitstuff.c: disable brokenness * liboil/liboilprofile.h: fix s390 profiling * liboil/simdpack/Makefile.am: * liboil/simdpack/clip_fast.c: (clip_s16_fast), (clip_s16_fast2), (clip_s32_fast): merge clip_s16.c and clip_s32.c * liboil/simdpack/clip_s16.c: remove * liboil/simdpack/clip_s32.c: remove * testsuite/Makefile.am: glib fixes * testsuite/proto3.c: (check_param): fail if problem * testsuite/stride.c: (main): same
* * examples/uberopt/uberopt.c: (main): Use gsizeDavid Schleef2005-01-0912-147/+178
| | | | | | | | | | | | | | | | | | * liboil/colorspace/rgb2bgr_powerpc.c: (rgb2bgr_ppc), (rgb2bgr_ppc2): Fix powerpc asm * liboil/colorspace/rgb2rgba_powerpc.c: (rgb2rgba_ppc): same * liboil/conv/conv_powerpc.c: (_sl_clipconv_S8_F32__powerpc_altivec): same * liboil/copy/copy_powerpc.c: (copy_u8_altivec), (copy_u8_altivec2), (copy_u8_altivec3): same * liboil/liboilfunction.c: (oil_impl_is_runnable), (oil_class_optimize): add is_runnable() function * liboil/liboilfunction.h: same * liboil/simdpack/abs_powerpc.c: (abs_u16_s16_a16_altivec): fix asm * liboil/simdpack/clip_powerpc.c: (clip_s16_ppcasm), (clip_s16_ppcasm2), (clip_s16_ppcasm3): same * liboil/simdpack/mix_powerpc.c: (mix_u8_a16_altivec): same * testsuite/copy.c: (main): use oil_impl_is_runnable()
* * liboil/colorspace/rgb2bgr_powerpc.c: (rgb2bgr_ppc),David Schleef2005-01-092-46/+52
| | | | | (rgb2bgr_ppc2), (rgb2bgr_ppc3), (rgb2bgr_ppc4): Change from NN notation to rNN.
* * testsuite/trans.c: (main): Disable some temporary code thatDavid Schleef2005-01-092-1/+9
| | | | fails on uhv.
* * examples/md5/md5sum.c: Don't use MAP_POPULATE if it's notDavid Schleef2005-01-098-10/+39
| | | | | | | | | | defined. * liboil/dct/fdct8x8_f64.c: Fix pointer offsets * liboil/dct/fdct8x8s_s16.c: (fdct8x8s_s16_ref): same * liboil/simdpack/clip_s32.c: (clip_s32_fast): same * liboil/simdpack/sad8x8.c: (sad8x8_f64_ref), (sad8x8_s16_ref): same * testsuite/introspect.c: (xstrndup), (parse_string): add xstrndup() * liboil/liboiltest.c: (check_array): Solaris chokes on INFINITY.
* * README: add some stuff to readDavid Schleef2005-01-089-54/+182
| | | | | | | | | | | | | | | * configure.ac: check for ieee754.h header * liboil/colorspace/argb_paint.c: (argb_paint_u8_ref), (argb_paint_u8_fast): change algorithm to be more accurate * liboil/colorspace/argb_paint_i386.c: (argb_paint_u8_mmx): same * liboil/conv/conv_3dnow.c: (conv_f32_s16_3dnow), (conv_s32_f32_3dnow): make these implementations actually work * liboil/conv/conv_bitstuff.c: compile fixes * liboil/conv/conv_misc.c: (conv_f64_s16_table), (conv_f32_s16_table): add a f32 impl * liboil/simdpack/diffsquaresum_f64.c: (diffsquaresum_f64_ref), (diffsquaresum_f64_i10_simple), (diffsquaresum_f64_i10_fast): fix implementation
* * testsuite/stride.c: (main), (hist): new testDavid Schleef2005-01-052-0/+152
|
* * liboil/colorspace/argb_paint_i386.c:David Schleef2005-01-0214-61/+125
| | | | | | | | | | | | * liboil/colorspace/ayuv2argb_i386.c: * liboil/liboilfunction.c: (oil_class_optimize): disable functions that fail test * liboil/liboiltest.c: (oil_test_new), (check_zero), (oil_test_check_impl), (init_parameter): Fix double-free bug, plus other problems with testing from applications. * liboil/dct/idct8x8_i386.c: pshufw apparently is not MMX * liboil/simdpack/abs_i386.c: (abs_u16_s16_i386asm3), (abs_u16_s16_mmx), (abs_u16_s16_mmxx): disable code that doesn\t