GNU Radio 3.6.5 C++ API

gr_vec_types.h

Go to the documentation of this file.
00001 /* Cell single token vector types
00002    Copyright (C) 2007 Free Software Foundation, Inc.
00003 
00004    This file is free software; you can redistribute it and/or modify it under
00005    the terms of the GNU General Public License as published by the Free
00006    Software Foundation; either version 2 of the License, or (at your option)
00007    any later version.
00008 
00009    This file is distributed in the hope that it will be useful, but WITHOUT
00010    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00011    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
00012    for more details.
00013 
00014    You should have received a copy of the GNU General Public License
00015    along with this file; see the file COPYING.  If not, write to the Free
00016    Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
00017    02110-1301, USA.  */
00018 
00019 /* As a special exception, if you include this header file into source files
00020    compiled by GCC, this header file does not by itself cause  the resulting
00021    executable to be covered by the GNU General Public License.  This exception
00022    does not however invalidate any other reasons why the executable file might be
00023    covered by the GNU General Public License.  */
00024 
00025 /* Single token vector data types for the PowerPC SIMD/Vector Multi-media
00026    eXtension */
00027 
00028 #ifndef INCLUDED_GR_VEC_TYPES_H
00029 #define INCLUDED_GR_VEC_TYPES_H
00030 
00031 #define qword           __vector unsigned char
00032 
00033 #define vec_uchar16     __vector unsigned char
00034 #define vec_char16      __vector signed char
00035 #define vec_bchar16     __vector bool char
00036 
00037 #define vec_ushort8     __vector unsigned short
00038 #define vec_short8      __vector signed short
00039 #define vec_bshort8     __vector bool short
00040 
00041 #define vec_pixel8      __vector pixel
00042 
00043 #define vec_uint4       __vector unsigned int
00044 #define vec_int4        __vector signed int
00045 #define vec_bint4       __vector bool int
00046 
00047 #define vec_float4      __vector float
00048 
00049 #define vec_ullong2     __vector bool char
00050 #define vec_llong2      __vector bool short
00051 
00052 #define vec_double2     __vector bool int
00053 
00054 #endif /* INCLUDED_GR_VEC_TYPES_H */