shortvect.h

Go to the documentation of this file.
00001 /*                     S H O R T V E C T . H
00002  * BRL-CAD
00003  *
00004  * Copyright (c) 2004-2006 United States Government as represented by
00005  * the U.S. Army Research Laboratory.
00006  *
00007  * This library is free software; you can redistribute it and/or
00008  * modify it under the terms of the GNU Lesser General Public License
00009  * as published by the Free Software Foundation; either version 2.1 of
00010  * the License, or (at your option) any later version.
00011  *
00012  * This library is distributed in the hope that it will be useful, but
00013  * WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00015  * Library General Public License for more details.
00016  *
00017  * You should have received a copy of the GNU Lesser General Public
00018  * License along with this file; see the file named COPYING for more
00019  * information.
00020  */
00021 /** @addtogroup libbn */
00022 /*@{*/
00023 /** @file shortvect.h
00024  *@brief
00025  *  This header file is intended to be include'ed in front of any
00026  *  loop which is known to never involve more than 32,
00027  *  to permit vectorizing compilers to omit extra overhead.
00028  *
00029  *  Vector register file lengths:
00030  *      Alliant         32
00031  *      Cray XMP        64
00032  *      Cray 2          64
00033  *      Convex          128
00034  *      ETA-10          Unlimited
00035  *
00036  *  This file contains various definitions which can be safely seen
00037  *  by both ANSI and non-ANSI compilers and preprocessors.
00038  *  Absolutely NO pragma's can go in this file;  they spoil backwards
00039  *  compatability with non-ANSI compilers.
00040  *  If this file determines that it is being processed by an ANSI
00041  *  compiler, or one that is known to accept pragma, then it will include
00042  *  the file "noalias-prag.h", which will contain the various
00043  *  vendor-specific pragma's.
00044  *
00045  *  @authors -
00046  *      David Becker            Cray
00047  *      Michael John Muuss      BRL
00048  *
00049  *  @par Source
00050  *      SECAD/VLD Computing Consortium, Bldg 394
00051  *      The U. S. Army Ballistic Research Laboratory
00052  *      Aberdeen Proving Ground, Maryland  21005-5066
00053  *
00054  *  @(#)$Header: /cvsroot/brlcad/brlcad/include/shortvect.h,v 14.8 2006/09/18 05:24:07 lbutler Exp $ (BRL)
00055  */
00056 #if __STDC__
00057 #       include "shortvect-pr.h"                /* limit 14 chars */
00058 #else
00059         /* convex? */
00060 #endif
00061 /*@}*/
00062 /*
00063  * Local Variables:
00064  * mode: C
00065  * tab-width: 8
00066  * c-basic-offset: 4
00067  * indent-tabs-mode: t
00068  * End:
00069  * ex: shiftwidth=4 tabstop=8
00070  */
00071 

Generated on Mon Sep 18 01:24:42 2006 for BRL-CAD by  doxygen 1.4.6