Wim Taymans
5eecd8ea7d
svolume: tweak constraints for 32 bits
...
Tweak the constraints a little so that register starved 32bit systems
can select a stack variable for the channel paramter instead of reusing one of
the registers we're using in the code.
2009-09-23 17:18:20 +02:00
Wim Taymans
d397a82e14
svolume_sse: fix comment
2009-09-16 17:14:11 +02:00
Lennart Poettering
71e066c873
simd: be more precise which SIMD optimizations we activate
2009-09-09 04:28:22 +02:00
Wim Taymans
b5ac3839e1
x86: only install some functions when SSE2
...
Remap and volume functions use SSE2 instructions so only install them when SSE2
is present.
2009-09-07 17:21:21 +02:00
Wim Taymans
f8ffe0dabc
svolume: cleanups
...
Use PA_MAX
Use pa_rtclock_now() for benchmarks
2009-08-20 12:30:48 +02:00
Wim Taymans
f09b51198f
whitespace fixes
2009-08-20 11:31:04 +02:00
Wim Taymans
aeae567f88
svolume: add comment
2009-08-20 11:31:04 +02:00
Wim Taymans
370016c0e7
svolume: fix compilation in 32bits
2009-08-20 11:31:04 +02:00
Wim Taymans
bd49d43bd3
svolume: add CPU guards around code
...
Mark code that should only be compiled on x86 CPUs with proper defines.
2009-08-20 11:31:03 +02:00
Wim Taymans
a98fa950d2
svolume: remove unneeded compare
...
We don't need the compare because the sub operation already set the right flags
for us.
2009-08-20 11:31:03 +02:00
Wim Taymans
591baacba5
volume: remove ref functions
2009-08-20 11:31:03 +02:00
Wim Taymans
f24c24c14b
volume: improved comments
2009-08-20 11:31:03 +02:00
Wim Taymans
a1235446a7
volume: make the benchmark more meaningfull
...
MMX is about 6x faster, SSE around 15x on my machine.
2009-08-20 11:31:03 +02:00
Wim Taymans
563cb2dea9
main: hook up cpu detection code
...
Add CPU detection code to activate the various optimisations.
Move some method definitions around.
Use compatibility macros when we can.
2009-08-20 11:31:03 +02:00
Wim Taymans
5998cf99b0
svolume: improve SSE and MMX code
2009-08-20 11:31:02 +02:00
Wim Taymans
7086784573
volume_sse: add sse optimisations
2009-08-20 11:31:02 +02:00