comparison gcc/config/rs6000/vec_types.h @ 0:a06113de4d67

first commit
author kent <kent@cr.ie.u-ryukyu.ac.jp>
date Fri, 17 Jul 2009 14:47:48 +0900
parents
children 04ced10e8804
comparison
equal deleted inserted replaced
-1:000000000000 0:a06113de4d67
1 /* Cell single token vector types
2 Copyright (C) 2007, 2009 Free Software Foundation, Inc.
3
4 This file is free software; you can redistribute it and/or modify it under
5 the terms of the GNU General Public License as published by the Free
6 Software Foundation; either version 3 of the License, or (at your option)
7 any later version.
8
9 This file is distributed in the hope that it will be useful, but WITHOUT
10 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 for more details.
13
14 Under Section 7 of GPL version 3, you are granted additional
15 permissions described in the GCC Runtime Library Exception, version
16 3.1, as published by the Free Software Foundation.
17
18 You should have received a copy of the GNU General Public License and
19 a copy of the GCC Runtime Library Exception along with this program;
20 see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
21 <http://www.gnu.org/licenses/>. */
22
23 /* Single token vector data types for the PowerPC SIMD/Vector Multi-media
24 eXtension */
25
26 #ifndef _VEC_TYPES_H_
27 #define _VEC_TYPES_H_ 1
28
29 #define qword __vector unsigned char
30
31 #define vec_uchar16 __vector unsigned char
32 #define vec_char16 __vector signed char
33 #define vec_bchar16 __vector bool char
34
35 #define vec_ushort8 __vector unsigned short
36 #define vec_short8 __vector signed short
37 #define vec_bshort8 __vector bool short
38
39 #define vec_pixel8 __vector pixel
40
41 #define vec_uint4 __vector unsigned int
42 #define vec_int4 __vector signed int
43 #define vec_bint4 __vector bool int
44
45 #define vec_float4 __vector float
46
47 #define vec_ullong2 __vector bool char
48 #define vec_llong2 __vector bool short
49
50 #define vec_double2 __vector bool int
51
52 #endif /* _VEC_TYPES_H_ */