Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] View of /tests/vec-tests/raw-vectors.h
ViewVC logotype

View of /tests/vec-tests/raw-vectors.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4640 - (download) (as text) (annotate)
Tue Sep 27 20:54:47 2016 UTC (2 years, 10 months ago) by glk
File size: 815 byte(s)
initial result of svn export --username anonsvn --password=anonsvn https://svn.smlnj-gforge.cs.uchicago.edu/svn/diderot/branches/vis15/src/tests/
/*! \file raw-vectors.h
 *
 * \author John Reppy
 */

/*
 * This code is part of the Diderot Project (http://diderot-language.cs.uchicago.edu)
 *
 * COPYRIGHT (c) 2016 The University of Chicago
 * All rights reserved.
 */

#ifndef _RAW_VECTORS_H_
#define _RAW_VECTORS_H_

// maximum width in bytes of hardware vectors
#ifndef MAX_VEC_WID
#define MAX_VEC_WID	16	/* default 128 bits */
#endif

typedef float raw2f __attribute__ ((vector_size (8)));
typedef float raw4f __attribute__ ((vector_size (16)));
typedef float raw8f __attribute__ ((vector_size (32)));
typedef float raw16f __attribute__ ((vector_size (64)));
typedef double raw2d __attribute__ ((vector_size (16)));
typedef double raw4d __attribute__ ((vector_size (32)));
typedef double raw8d __attribute__ ((vector_size (64)));

#endif // !_RAW_VECTORS_H_

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0