1 /* Copyright (C) 2006 Free Software Foundation, Inc.
3 This file is free software; you can redistribute it and/or modify it under
4 the terms of the GNU General Public License as published by the Free
5 Software Foundation; either version 2 of the License, or (at your option)
8 This file is distributed in the hope that it will be useful, but WITHOUT
9 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13 You should have received a copy of the GNU General Public License
14 along with this file; see the file COPYING. If not, write to the Free
15 Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
18 /* As a special exception, if you include this header file into source files
19 compiled by GCC, this header file does not by itself cause the resulting
20 executable to be covered by the GNU General Public License. This exception
21 does not however invalidate any other reasons why the executable file might be
22 covered by the GNU General Public License. */
25 #define _VEC_TYPES_H_ 1
27 #include <spu_intrinsics.h>
29 /* Define additional PowerPC SIMD/Vector Multi-media eXtension
30 * single keyword vector data types for use in mapping VMX code
33 #define vec_bchar16 __vector unsigned char
34 #define vec_bshort8 __vector unsigned short
35 #define vec_pixel8 __vector unsigned short
36 #define vec_bint4 __vector unsigned int
38 #endif /* _VEC_TYPES_H_ */