summaryrefslogtreecommitdiffstats
path: root/mp3lib/tabinit.c
diff options
context:
space:
mode:
authornickols_k <nickols_k@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-06-07 09:08:32 +0000
committernickols_k <nickols_k@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-06-07 09:08:32 +0000
commitd346c4eff48611c37baf0ada5e1e960a1643b5fb (patch)
tree499d01a818407528f4ef5f2fb65f440a6180d79b /mp3lib/tabinit.c
parenta305741d2c30a6972e435b0466d626fd14ba58e5 (diff)
downloadmpv-d346c4eff48611c37baf0ada5e1e960a1643b5fb.tar.bz2
mpv-d346c4eff48611c37baf0ada5e1e960a1643b5fb.tar.xz
Minor improvements
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1046 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mp3lib/tabinit.c')
-rw-r--r--mp3lib/tabinit.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/mp3lib/tabinit.c b/mp3lib/tabinit.c
index eabf3eacb0..60c2e258b4 100644
--- a/mp3lib/tabinit.c
+++ b/mp3lib/tabinit.c
@@ -1,8 +1,12 @@
#ifdef HAVE_3DNOW
- real decwin[2*(512+32)];
- real cos64[32],cos32[16],cos16[8],cos8[4],cos4[2];
+ real decwin[2*(512+32)] __attribute__((aligned(8)));
+ real cos64[32] __attribute__((aligned(8)));
+ real cos32[16] __attribute__((aligned(8)));
+ real cos16[8] __attribute__((aligned(8)));
+ real cos8[4] __attribute__((aligned(8)));
+ real cos4[2] __attribute__((aligned(8)));
real *pnts[]={ cos64,cos32,cos16,cos8,cos4 };
#else
real decwin[512+32];
@@ -10,7 +14,7 @@
real *pnts[] = { cos64,cos32,cos16,cos8,cos4 };
#endif
- long intwinbase[] = {
+long intwinbase[] = {
0, -1, -1, -1, -1, -1, -1, -2, -2, -2,
-2, -3, -3, -4, -4, -5, -5, -6, -7, -7,
-8, -9, -10, -11, -13, -14, -16, -17, -19, -21,