Sanchayan Maity
2fcc51c2c1
While at it also add the libpthread static library amd m5op_x86 for matrix multiplication test code as well. Note that the splash2 benchmark code does not comply with gem5 coding guidelines. Academic guys never seem to follow 80 columns and no whitespace guideline :(.
34 lines
2.2 KiB
C
34 lines
2.2 KiB
C
/*************************************************************************/
|
|
/* */
|
|
/* Copyright (c) 1994 Stanford University */
|
|
/* */
|
|
/* All rights reserved. */
|
|
/* */
|
|
/* Permission is given to use, copy, and modify this software for any */
|
|
/* non-commercial purpose as long as this copyright notice is not */
|
|
/* removed. All other uses, including redistribution in whole or in */
|
|
/* part, are forbidden without prior written permission. */
|
|
/* */
|
|
/* This software is provided with absolutely no warranty and no */
|
|
/* support. */
|
|
/* */
|
|
/*************************************************************************/
|
|
|
|
/******************************************************************************
|
|
* *
|
|
* my_types.h: types used for rendering system *
|
|
* *
|
|
******************************************************************************/
|
|
|
|
|
|
/* Definition of user-defined types: */
|
|
typedef unsigned char DENSITY; /* density */
|
|
typedef unsigned char BYTE; /* general purpose byte */
|
|
typedef signed short NORMAL; /* density normal */
|
|
typedef unsigned char PIXEL; /* pixel or voxel color */
|
|
typedef unsigned char MPIXEL; /* volatile pixel or voxel color;
|
|
make volatile on SGIs */
|
|
typedef unsigned char OPACITY; /* voxel opacity */
|
|
typedef unsigned short BOOLEAN; /* boolean flag */
|
|
typedef short VOXEL;
|