| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
The "rm" basm constraint doesn't work with my version of gcc (4.5.2),
not even in a simple example. Since we usually only have 5 registers
available on i386, force it to be memory on that architecture.
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
|
|
|
|
|
|
|
|
| |
In the assembly optimized versions of SSE, a noise could occur when the
number of channels were 3,5,6 or 7. For MMX and ARM, this could occur
when the number of channels were 3.
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
|
|
|
|
|
| |
This was reported as Gentoo bug #287391 by Torsten Kaiser, and the fix was
suggested by Mike Frysinger.
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
| |
Remap and volume functions use SSE2 instructions so only install them when SSE2
is present.
|
|
|
|
|
| |
Use PA_MAX
Use pa_rtclock_now() for benchmarks
|
| |
|
| |
|
| |
|
|
|
|
| |
Mark code that should only be compiled on x86 CPUs with proper defines.
|
|
|
|
|
| |
We don't need the compare because the sub operation already set the right flags
for us.
|
| |
|
| |
|
|
|
|
| |
MMX is about 6x faster, SSE around 15x on my machine.
|
|
|
|
|
|
| |
Add CPU detection code to activate the various optimisations.
Move some method definitions around.
Use compatibility macros when we can.
|
| |
|
|
|