~ubuntu-branches/ubuntu/vivid/atlas/vivid

« back to all changes in this revision

Viewing changes to tune/blas/gemv/CASES/ATL_gemvN_SSE.c

  • Committer: Bazaar Package Importer
  • Author(s): Camm Maguire
  • Date: 2002-04-13 10:07:52 UTC
  • Revision ID: james.westby@ubuntu.com-20020413100752-va9zm0rd4gpurdkq
Tags: upstream-3.2.1ln
ImportĀ upstreamĀ versionĀ 3.2.1ln

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *             Automatically Tuned Linear Algebra Software v3.2
 
3
 *                      (C) Copyright 1999 Camm Maguire                      
 
4
 *
 
5
 * Redistribution and use in source and binary forms, with or without
 
6
 * modification, are permitted provided that the following conditions
 
7
 * are met:
 
8
 *   1. Redistributions of source code must retain the above copyright
 
9
 *      notice, this list of conditions and the following disclaimer.
 
10
 *   2. Redistributions in binary form must reproduce the above copyright
 
11
 *      notice, this list of conditions, and the following disclaimer in the
 
12
 *      documentation and/or other materials provided with the distribution.
 
13
 *   3. The name of the University, the ATLAS group, or the names of its 
 
14
 *      contributers may not be used to endorse or promote products derived
 
15
 *      from this software without specific written permission.
 
16
 *
 
17
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
 
18
 * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
 
19
 * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
 
20
 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE UNIVERSITY OR CONTRIBUTORS BE
 
21
 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
 
22
 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
 
23
 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 
24
 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
 
25
 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 
26
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 
27
 * POSSIBILITY OF SUCH DAMAGE. 
 
28
 *
 
29
 */
 
30
 
 
31
#define NO_TRANSPOSE
 
32
 
 
33
#ifdef SREAL
 
34
   #define STRIDE 1
 
35
   #define LUNROLL 16
 
36
   #define NDPM 2
 
37
/*    #define ALIGN */
 
38
#endif
 
39
 
 
40
#ifdef SCPLX
 
41
   #define STRIDE 1
 
42
   #define LUNROLL 32
 
43
   #define NDPM 2
 
44
#endif
 
45
 
 
46
#ifdef DREAL
 
47
   #define STRIDE 20
 
48
   #define PREFETCH 64
 
49
   #define LUNROLL 32
 
50
   #define NDPM 2
 
51
#endif
 
52
 
 
53
#ifdef DCPLX
 
54
   #define STRIDE 10
 
55
   #define LUNROLL 8
 
56
   #define NDPM 2
 
57
#endif
 
58
 
 
59
#include "ATL_gemv_ger_SSE.h"
 
60
 
 
61