[pulseaudio-discuss] [PATCH 00/13] cpu-test rework patches

Peter Meerwald pmeerw at pmeerw.net
Thu Apr 24 09:50:52 PDT 2014


From: Peter Meerwald <p.meerwald at bct-electronic.com>

patch 1 add a flag to force execution of generic (slow) code to the
cpu_info struct; this makes it possible to test the special case code
versus the generic code

patch 2 splits up the cpu-test program into cpu-remap-test, cpu-sconv-test,
cpu-mix-test and cpu-volume-test (no functional change)

patches 3 to 4 are cleanup

patch 5 adds test cases for special-case mixing code (made possible by patch 1 and
obsoleting the mix-special-test program which will be dropped in patch 13)

patch 6 adds test cases for ARM NEON mixing code to cpu-mix-test

patches 7 and 8 reorganize cpu-remap-test to avoid code duplication

patches 9 and 10 add test cases for special remapping and rearranging code path
to cpu-remap-test

patch 11 adds test cases for ARM NEON remapping and rearranging code to
cpu-remap-test

patch 12 is cleanup

patch 13 drops the mix-special-test program

Peter Meerwald (13):
  cpu: Add force_generic_code flag to cpu_info struct
  tests: Split cpu tests in separate files
  tests: Drop address of the FSF in copyright header
  tests: Use single-line #ifdef for ARM NEON code
  tests: Add tests for mix special-case code
  tests: Add ARM NEON test code to cpu-mix-test
  tests: Use remap function passed in remap struct
  tests: Reorganize cpu-remap-test program
  tests: Add to remapping special case code tests to cpu-remap-test
  tests: Add rearrange remapping test cases to cpu-remap-test
  tests: Add ARM NEON test code to cpu-remap-test
  tests: Use float constants in cpu-sconv-test
  tests: Remove mix-special-test

 src/.gitignore               |    6 +-
 src/Makefile.am              |   38 +-
 src/daemon/main.c            |    4 +-
 src/pulsecore/cpu.c          |   28 ++
 src/pulsecore/cpu.h          |    5 +
 src/pulsecore/mix.c          |    8 +
 src/pulsecore/remap.c        |   13 +
 src/tests/cpu-mix-test.c     |  221 +++++++++++
 src/tests/cpu-remap-test.c   |  438 +++++++++++++++++++++
 src/tests/cpu-sconv-test.c   |  260 +++++++++++++
 src/tests/cpu-test.c         |  877 ------------------------------------------
 src/tests/cpu-volume-test.c  |  244 ++++++++++++
 src/tests/mix-special-test.c |  326 ----------------
 13 files changed, 1249 insertions(+), 1219 deletions(-)
 create mode 100644 src/pulsecore/cpu.c
 create mode 100644 src/tests/cpu-mix-test.c
 create mode 100644 src/tests/cpu-remap-test.c
 create mode 100644 src/tests/cpu-sconv-test.c
 delete mode 100644 src/tests/cpu-test.c
 create mode 100644 src/tests/cpu-volume-test.c
 delete mode 100644 src/tests/mix-special-test.c

-- 
1.7.9.5



More information about the pulseaudio-discuss mailing list