3
<title>Data Alignment - FFTW 3.2.2</title>
4
<meta http-equiv="Content-Type" content="text/html">
5
<meta name="description" content="FFTW 3.2.2">
6
<meta name="generator" content="makeinfo 4.13">
7
<link title="Top" rel="start" href="index.html#Top">
8
<link rel="up" href="Other-Important-Topics.html#Other-Important-Topics" title="Other Important Topics">
9
<link rel="prev" href="Other-Important-Topics.html#Other-Important-Topics" title="Other Important Topics">
10
<link rel="next" href="Multi_002ddimensional-Array-Format.html#Multi_002ddimensional-Array-Format" title="Multi-dimensional Array Format">
11
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
13
This manual is for FFTW
14
(version 3.2.2, 12 July 2009).
16
Copyright (C) 2003 Matteo Frigo.
18
Copyright (C) 2003 Massachusetts Institute of Technology.
20
Permission is granted to make and distribute verbatim copies of
21
this manual provided the copyright notice and this permission
22
notice are preserved on all copies.
24
Permission is granted to copy and distribute modified versions of
25
this manual under the conditions for verbatim copying, provided
26
that the entire resulting derived work is distributed under the
27
terms of a permission notice identical to this one.
29
Permission is granted to copy and distribute translations of this
30
manual into another language, under the above conditions for
31
modified versions, except that this permission notice may be
32
stated in a translation approved by the Free Software Foundation.
34
<meta http-equiv="Content-Style-Type" content="text/css">
35
<style type="text/css"><!--
36
pre.display { font-family:inherit }
37
pre.format { font-family:inherit }
38
pre.smalldisplay { font-family:inherit; font-size:smaller }
39
pre.smallformat { font-family:inherit; font-size:smaller }
40
pre.smallexample { font-size:smaller }
41
pre.smalllisp { font-size:smaller }
42
span.sc { font-variant:small-caps }
43
span.roman { font-family:serif; font-weight:normal; }
44
span.sansserif { font-family:sans-serif; font-weight:normal; }
49
<a name="Data-Alignment"></a>
51
Next: <a rel="next" accesskey="n" href="Multi_002ddimensional-Array-Format.html#Multi_002ddimensional-Array-Format">Multi-dimensional Array Format</a>,
52
Previous: <a rel="previous" accesskey="p" href="Other-Important-Topics.html#Other-Important-Topics">Other Important Topics</a>,
53
Up: <a rel="up" accesskey="u" href="Other-Important-Topics.html#Other-Important-Topics">Other Important Topics</a>
57
<h3 class="section">3.1 Data Alignment</h3>
59
<p><a name="index-alignment-101"></a>
62
<li><a accesskey="1" href="SIMD-alignment-and-fftw_005fmalloc.html#SIMD-alignment-and-fftw_005fmalloc">SIMD alignment and fftw_malloc</a>
63
<li><a accesskey="2" href="Stack-alignment-on-x86.html#Stack-alignment-on-x86">Stack alignment on x86</a>
66
<p>In order to get the best performance from FFTW, one needs to be
67
somewhat aware of two problems related to data alignment on x86
68
(Pentia) architectures: alignment of allocated arrays (for use with
69
SIMD acceleration), and alignment of the stack.