diff mp3lib/layer3.c @ 23464:1b1fdac4a68c

Align output pointer so that we can use movaps instead of movups in dct64_sse; 1.5% faster decode.
author zuxy
date Wed, 06 Jun 2007 05:13:13 +0000
parents d986b47f1451
children a1a699833dcf
line wrap: on
line diff
--- a/mp3lib/layer3.c	Tue Jun 05 23:30:37 2007 +0000
+++ b/mp3lib/layer3.c	Wed Jun 06 05:13:13 2007 +0000
@@ -1260,8 +1260,8 @@
 
   granules = (fr->lsf) ? 1 : 2;
   for (gr=0;gr<granules;gr++){
-    static real hybridIn[2][SBLIMIT][SSLIMIT];
-    static real hybridOut[2][SSLIMIT][SBLIMIT];
+    static DECLARE_ALIGNED(16, real, hybridIn[2][SBLIMIT][SSLIMIT]);
+    static DECLARE_ALIGNED(16, real, hybridOut[2][SSLIMIT][SBLIMIT]);
 
     { struct gr_info_s *gr_info = &(sideinfo.ch[0].gr[gr]);
       int part2bits;