]> code.delx.au - pulseaudio/commitdiff
svolume: add comment
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 19 Aug 2009 18:00:28 +0000 (20:00 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 20 Aug 2009 09:31:04 +0000 (11:31 +0200)
src/pulsecore/svolume_sse.c

index 0054d3015841f38ee5b8a4130fd45b312b85f668..5979f7c230282947871d5711eb547397e3d6b889 100644 (file)
@@ -117,6 +117,9 @@ pa_volume_s16ne_sse (int16_t *samples, int32_t *volumes, unsigned channels, unsi
     " test $1, %2                   \n\t" 
     " je 6f                         \n\t" 
 
+    /* FIXME, we can do aligned access of the volume values if we can guarantee
+     * that the array is 16 bytes aligned, we probably have to do the odd values
+     * after this then. */
     "5:                             \n\t" /* do samples in groups of 4 */
     " movdqu (%1, %3, 4), %%xmm0    \n\t" /* |  v3h  |  v3l  ..  v0h  |  v0l  | */
     " movq (%0), %%xmm1             \n\t" /*              .. |   p3  ..  p0   | */