~ubuntu-branches/ubuntu/trusty/libclc/trusty-proposed

« back to all changes in this revision

Viewing changes to generic/include/clc/as_type.h

  • Committer: Package Import Robot
  • Author(s): Michael Gilbert
  • Date: 2013-09-02 17:56:00 UTC
  • Revision ID: package-import@ubuntu.com-20130902175600-yzwtm29jme08wzs5
Tags: upstream-0~git20130819
ImportĀ upstreamĀ versionĀ 0~git20130819

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#define as_char(x) __builtin_astype(x, char)
 
2
#define as_uchar(x) __builtin_astype(x, uchar)
 
3
#define as_short(x) __builtin_astype(x, short)
 
4
#define as_ushort(x) __builtin_astype(x, ushort)
 
5
#define as_int(x) __builtin_astype(x, int)
 
6
#define as_uint(x) __builtin_astype(x, uint)
 
7
#define as_long(x) __builtin_astype(x, long)
 
8
#define as_ulong(x) __builtin_astype(x, ulong)
 
9
 
 
10
#define as_char2(x) __builtin_astype(x, char2)
 
11
#define as_uchar2(x) __builtin_astype(x, uchar2)
 
12
#define as_short2(x) __builtin_astype(x, short2)
 
13
#define as_ushort2(x) __builtin_astype(x, ushort2)
 
14
#define as_int2(x) __builtin_astype(x, int2)
 
15
#define as_uint2(x) __builtin_astype(x, uint2)
 
16
#define as_long2(x) __builtin_astype(x, long2)
 
17
#define as_ulong2(x) __builtin_astype(x, ulong2)
 
18
 
 
19
#define as_char3(x) __builtin_astype(x, char3)
 
20
#define as_uchar3(x) __builtin_astype(x, uchar3)
 
21
#define as_short3(x) __builtin_astype(x, short3)
 
22
#define as_ushort3(x) __builtin_astype(x, ushort3)
 
23
#define as_int3(x) __builtin_astype(x, int3)
 
24
#define as_uint3(x) __builtin_astype(x, uint3)
 
25
#define as_long3(x) __builtin_astype(x, long3)
 
26
#define as_ulong3(x) __builtin_astype(x, ulong3)
 
27
 
 
28
#define as_char4(x) __builtin_astype(x, char4)
 
29
#define as_uchar4(x) __builtin_astype(x, uchar4)
 
30
#define as_short4(x) __builtin_astype(x, short4)
 
31
#define as_ushort4(x) __builtin_astype(x, ushort4)
 
32
#define as_int4(x) __builtin_astype(x, int4)
 
33
#define as_uint4(x) __builtin_astype(x, uint4)
 
34
#define as_long4(x) __builtin_astype(x, long4)
 
35
#define as_ulong4(x) __builtin_astype(x, ulong4)
 
36
 
 
37
#define as_char8(x) __builtin_astype(x, char8)
 
38
#define as_uchar8(x) __builtin_astype(x, uchar8)
 
39
#define as_short8(x) __builtin_astype(x, short8)
 
40
#define as_ushort8(x) __builtin_astype(x, ushort8)
 
41
#define as_int8(x) __builtin_astype(x, int8)
 
42
#define as_uint8(x) __builtin_astype(x, uint8)
 
43
#define as_long8(x) __builtin_astype(x, long8)
 
44
#define as_ulong8(x) __builtin_astype(x, ulong8)
 
45
 
 
46
#define as_char16(x) __builtin_astype(x, char16)
 
47
#define as_uchar16(x) __builtin_astype(x, uchar16)
 
48
#define as_short16(x) __builtin_astype(x, short16)
 
49
#define as_ushort16(x) __builtin_astype(x, ushort16)
 
50
#define as_int16(x) __builtin_astype(x, int16)
 
51
#define as_uint16(x) __builtin_astype(x, uint16)
 
52
#define as_long16(x) __builtin_astype(x, long16)
 
53
#define as_ulong16(x) __builtin_astype(x, ulong16)