# HG changeset patch # User michael # Date 1187649707 0 # Node ID 0790af6d00280423a727826ad4ed35f765666408 # Parent a6475d1a9ea0ad0f24b78a5a902556d0d8edc4a5 remove idiotc double subtraction from the sse2 code (untested, no sse2 here) diff -r a6475d1a9ea0 -r 0790af6d0028 i386/snowdsp_mmx.c --- a/i386/snowdsp_mmx.c Mon Aug 20 22:34:42 2007 +0000 +++ b/i386/snowdsp_mmx.c Mon Aug 20 22:41:47 2007 +0000 @@ -111,7 +111,8 @@ i = 0; asm volatile( - "pslld $1, %%xmm7 \n\t" /* xmm7 already holds a '4' from 2 lifts ago. */ + "pcmpeqd %%xmm7, %%xmm7 \n\t" + "psrad $29, %%xmm7 \n\t" ::); for(; i> W_BS); + b[0] = b_0 + ((2 * ref[1] + W_BO-1 + 4 * b_0) >> W_BS); } { // Lift 3