~ubuntu-branches/ubuntu/raring/fftw3/raring-proposed

« back to all changes in this revision

Viewing changes to simd/taint.c

  • Committer: Bazaar Package Importer
  • Author(s): Paul Brossier
  • Date: 2006-05-31 13:44:05 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20060531134405-ol9hrbg6bh81sg0c
Tags: 3.1.1-1
* New upstream release (closes: #350327, #338487, #338501)
* Add --enable-portable-binary to use -mtune instead of -march
* Use --with-gcc-arch=G5 / pentium4 on powerpc / i386
* Updated Standards-Version

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Copyright (c) 2003 Matteo Frigo
3
 
 * Copyright (c) 2003 Massachusetts Institute of Technology
 
2
 * Copyright (c) 2003, 2006 Matteo Frigo
 
3
 * Copyright (c) 2003, 2006 Massachusetts Institute of Technology
4
4
 *
5
5
 * This program is free software; you can redistribute it and/or modify
6
6
 * it under the terms of the GNU General Public License as published by
18
18
 *
19
19
 */
20
20
 
21
 
/* $Id: taint.c,v 1.3 2003/04/10 19:36:18 athena Exp $ */
 
21
/* $Id: taint.c,v 1.5 2006-01-05 03:04:28 stevenj Exp $ */
22
22
 
23
23
#include "ifftw.h"
24
24
#include "simd.h"
25
25
 
26
26
#if HAVE_SIMD
27
27
 
28
 
R *X(taint)(R *p, int s)
 
28
R *X(taint)(R *p, INT s)
29
29
{
30
30
     if (((unsigned)s * sizeof(R)) % ALIGNMENT)
31
31
          p = (R *) (PTRINT(p) | TAINT_BIT);