Skip to content

Commit

Permalink
Precompute array indices on x86-64. Speeds up Pentium IV and makes no
Browse files Browse the repository at this point in the history
appreciable difference on AMD.
  • Loading branch information
matteo-frigo committed Feb 10, 2006
1 parent 5dbfa49 commit 81a965e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kernel/ifftw.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*
*/

/* $Id: ifftw.h,v 1.280 2006-01-27 02:10:50 athena Exp $ */
/* $Id: ifftw.h,v 1.281 2006-02-10 14:18:39 athena Exp $ */

/* FFTW internal header file */
#ifndef __IFFTW_H__
Expand Down Expand Up @@ -736,7 +736,7 @@ plan *X(mkplan_f_d)(planner *ego, problem *p,
/* stride.c: */

/* If PRECOMPUTE_ARRAY_INDICES is defined, precompute all strides. */
#if (defined(__i386__) || _M_IX86 >= 500) && !HAVE_K7 && !defined(FFTW_LDOUBLE)
#if (defined(__i386__) || defined(__x86_64__) || _M_IX86 >= 500) && !HAVE_K7 && !defined(FFTW_LDOUBLE)
#define PRECOMPUTE_ARRAY_INDICES
#endif

Expand Down

0 comments on commit 81a965e

Please sign in to comment.