]> code.delx.au - pulseaudio/commitdiff
sconv_sse: fix leftover counter
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 2 Sep 2009 17:42:17 +0000 (19:42 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 2 Sep 2009 17:42:17 +0000 (19:42 +0200)
src/pulsecore/sconv_sse.c

index ef78fc26bd0f782c151aa4bc9c141c0925e059cc..7c3aa1996c236bced901011cc97ba52895f691ba 100644 (file)
@@ -83,7 +83,7 @@ static void pa_sconv_s16le_from_f32ne_sse(unsigned n, const float *a, int16_t *b
 
         "2:                             \n\t"
         " mov %4, %1                    \n\t" /* prepare for leftovers */
-        " and $15, %1                   \n\t"
+        " and $7, %1                    \n\t"
         " je 4f                         \n\t"
 
         "3:                             \n\t"
@@ -142,7 +142,7 @@ static void pa_sconv_s16le_from_f32ne_sse2(unsigned n, const float *a, int16_t *
 
         "2:                             \n\t"
         " mov %4, %1                    \n\t" /* prepare for leftovers */
-        " and $15, %1                   \n\t"
+        " and $7, %1                    \n\t"
         " je 4f                         \n\t"
 
         "3:                             \n\t"