clang API Documentation

Defines | Functions
altivec.h File Reference

Go to the source code of this file.

Defines

#define __CR6_EQ   0
#define __CR6_EQ_REV   1
#define __CR6_LT   2
#define __CR6_LT_REV   3
#define __ATTRS_o_ai   __attribute__((__overloadable__, __always_inline__))
#define __builtin_altivec_abs_v16qi   vec_abs
#define __builtin_altivec_abs_v8hi   vec_abs
#define __builtin_altivec_abs_v4si   vec_abs
#define __builtin_altivec_abss_v16qi   vec_abss
#define __builtin_altivec_abss_v8hi   vec_abss
#define __builtin_altivec_abss_v4si   vec_abss
#define __builtin_altivec_vaddubm   vec_vaddubm
#define __builtin_altivec_vadduhm   vec_vadduhm
#define __builtin_altivec_vadduwm   vec_vadduwm
#define __builtin_altivec_vaddfp   vec_vaddfp
#define __builtin_altivec_vand   vec_and
#define __builtin_altivec_vandc   vec_andc
#define __builtin_altivec_vmrghb   vec_vmrghb
#define __builtin_altivec_vmrghh   vec_vmrghh
#define __builtin_altivec_vmrghw   vec_vmrghw
#define __builtin_altivec_vmrglb   vec_vmrglb
#define __builtin_altivec_vmrglh   vec_vmrglh
#define __builtin_altivec_vmrglw   vec_vmrglw
#define __builtin_altivec_vmladduhm   vec_mladd
#define __builtin_altivec_vnor   vec_nor
#define __builtin_altivec_vor   vec_or
#define __builtin_altivec_vpkuhum   vec_vpkuhum
#define __builtin_altivec_vpkuwum   vec_vpkuwum
#define __builtin_altivec_vsel_4si   vec_sel
#define __builtin_altivec_vslb   vec_vslb
#define __builtin_altivec_vslh   vec_vslh
#define __builtin_altivec_vslw   vec_vslw
#define __builtin_altivec_vsldoi_4si   vec_sld
#define __builtin_altivec_vspltb   vec_vspltb
#define __builtin_altivec_vsplth   vec_vsplth
#define __builtin_altivec_vspltw   vec_vspltw
#define __builtin_altivec_vspltisb   vec_splat_s8
#define __builtin_altivec_vspltish   vec_splat_s16
#define __builtin_altivec_vspltisw   vec_splat_s32
#define __builtin_altivec_vsrb   vec_vsrb
#define __builtin_altivec_vsrh   vec_vsrh
#define __builtin_altivec_vsrw   vec_vsrw
#define __builtin_altivec_vsububm   vec_vsububm
#define __builtin_altivec_vsubuhm   vec_vsubuhm
#define __builtin_altivec_vsubuwm   vec_vsubuwm
#define __builtin_altivec_vsubfp   vec_vsubfp
#define __builtin_altivec_vxor   vec_xor

Functions

static vector signed char
__ATTRS_o_ai 
vec_perm (vector signed char a, vector signed char b, vector unsigned char c)
static vector unsigned char
__ATTRS_o_ai 
vec_perm (vector unsigned char a, vector unsigned char b, vector unsigned char c)
static vector bool char
__ATTRS_o_ai 
vec_perm (vector bool char a, vector bool char b, vector unsigned char c)
static vector short __ATTRS_o_ai vec_perm (vector short a, vector short b, vector unsigned char c)
static vector unsigned short
__ATTRS_o_ai 
vec_perm (vector unsigned short a, vector unsigned short b, vector unsigned char c)
static vector bool short
__ATTRS_o_ai 
vec_perm (vector bool short a, vector bool short b, vector unsigned char c)
static vector pixel __ATTRS_o_ai vec_perm (vector pixel a, vector pixel b, vector unsigned char c)
static vector int __ATTRS_o_ai vec_perm (vector int a, vector int b, vector unsigned char c)
static vector unsigned int
__ATTRS_o_ai 
vec_perm (vector unsigned int a, vector unsigned int b, vector unsigned char c)
static vector bool int __ATTRS_o_ai vec_perm (vector bool int a, vector bool int b, vector unsigned char c)
static vector float __ATTRS_o_ai vec_perm (vector float a, vector float b, vector unsigned char c)
static vector signed char
__ATTRS_o_ai 
vec_abs (vector signed char a)
static vector signed short
__ATTRS_o_ai 
vec_abs (vector signed short a)
static vector signed int
__ATTRS_o_ai 
vec_abs (vector signed int a)
static vector float __ATTRS_o_ai vec_abs (vector float a)
static vector signed char
__ATTRS_o_ai 
vec_abss (vector signed char a)
static vector signed short
__ATTRS_o_ai 
vec_abss (vector signed short a)
static vector signed int
__ATTRS_o_ai 
vec_abss (vector signed int a)
static vector signed char
__ATTRS_o_ai 
vec_add (vector signed char a, vector signed char b)
static vector signed char
__ATTRS_o_ai 
vec_add (vector bool char a, vector signed char b)
static vector signed char
__ATTRS_o_ai 
vec_add (vector signed char a, vector bool char b)
static vector unsigned char
__ATTRS_o_ai 
vec_add (vector unsigned char a, vector unsigned char b)
static vector unsigned char
__ATTRS_o_ai 
vec_add (vector bool char a, vector unsigned char b)
static vector unsigned char
__ATTRS_o_ai 
vec_add (vector unsigned char a, vector bool char b)
static vector short __ATTRS_o_ai vec_add (vector short a, vector short b)
static vector short __ATTRS_o_ai vec_add (vector bool short a, vector short b)
static vector short __ATTRS_o_ai vec_add (vector short a, vector bool short b)
static vector unsigned short
__ATTRS_o_ai 
vec_add (vector unsigned short a, vector unsigned short b)
static vector unsigned short
__ATTRS_o_ai 
vec_add (vector bool short a, vector unsigned short b)
static vector unsigned short
__ATTRS_o_ai 
vec_add (vector unsigned short a, vector bool short b)
static vector int __ATTRS_o_ai vec_add (vector int a, vector int b)
static vector int __ATTRS_o_ai vec_add (vector bool int a, vector int b)
static vector int __ATTRS_o_ai vec_add (vector int a, vector bool int b)
static vector unsigned int
__ATTRS_o_ai 
vec_add (vector unsigned int a, vector unsigned int b)
static vector unsigned int
__ATTRS_o_ai 
vec_add (vector bool int a, vector unsigned int b)
static vector unsigned int
__ATTRS_o_ai 
vec_add (vector unsigned int a, vector bool int b)
static vector float __ATTRS_o_ai vec_add (vector float a, vector float b)
static vector signed char
__ATTRS_o_ai 
vec_vaddubm (vector signed char a, vector signed char b)
static vector signed char
__ATTRS_o_ai 
vec_vaddubm (vector bool char a, vector signed char b)
static vector signed char
__ATTRS_o_ai 
vec_vaddubm (vector signed char a, vector bool char b)
static vector unsigned char
__ATTRS_o_ai 
vec_vaddubm (vector unsigned char a, vector unsigned char b)
static vector unsigned char
__ATTRS_o_ai 
vec_vaddubm (vector bool char a, vector unsigned char b)
static vector unsigned char
__ATTRS_o_ai 
vec_vaddubm (vector unsigned char a, vector bool char b)
static vector short __ATTRS_o_ai vec_vadduhm (vector short a, vector short b)
static vector short __ATTRS_o_ai vec_vadduhm (vector bool short a, vector short b)
static vector short __ATTRS_o_ai vec_vadduhm (vector short a, vector bool short b)
static vector unsigned short
__ATTRS_o_ai 
vec_vadduhm (vector unsigned short a, vector unsigned short b)
static vector unsigned short
__ATTRS_o_ai 
vec_vadduhm (vector bool short a, vector unsigned short b)
static vector unsigned short
__ATTRS_o_ai 
vec_vadduhm (vector unsigned short a, vector bool short b)
static vector int __ATTRS_o_ai vec_vadduwm (vector int a, vector int b)
static vector int __ATTRS_o_ai vec_vadduwm (vector bool int a, vector int b)
static vector int __ATTRS_o_ai vec_vadduwm (vector int a, vector bool int b)
static vector unsigned int
__ATTRS_o_ai 
vec_vadduwm (vector unsigned int a, vector unsigned int b)
static vector unsigned int
__ATTRS_o_ai 
vec_vadduwm (vector bool int a, vector unsigned int b)
static vector unsigned int
__ATTRS_o_ai 
vec_vadduwm (vector unsigned int a, vector bool int b)
static vector float __attribute__ ((__always_inline__)) vec_vaddfp(vector float a

Define Documentation

#define __ATTRS_o_ai   __attribute__((__overloadable__, __always_inline__))

Definition at line 37 of file altivec.h.

#define __builtin_altivec_abs_v16qi   vec_abs

Definition at line 78 of file altivec.h.

#define __builtin_altivec_abs_v4si   vec_abs

Definition at line 80 of file altivec.h.

#define __builtin_altivec_abs_v8hi   vec_abs

Definition at line 79 of file altivec.h.

#define __builtin_altivec_abss_v16qi   vec_abss

Definition at line 110 of file altivec.h.

#define __builtin_altivec_abss_v4si   vec_abss

Definition at line 112 of file altivec.h.

#define __builtin_altivec_abss_v8hi   vec_abss

Definition at line 111 of file altivec.h.

#define __builtin_altivec_vaddfp   vec_vaddfp

Definition at line 373 of file altivec.h.

#define __builtin_altivec_vaddubm   vec_vaddubm

Definition at line 253 of file altivec.h.

#define __builtin_altivec_vadduhm   vec_vadduhm

Definition at line 293 of file altivec.h.

#define __builtin_altivec_vadduwm   vec_vadduwm

Definition at line 333 of file altivec.h.

#define __builtin_altivec_vand   vec_and
#define __builtin_altivec_vandc   vec_andc
#define __builtin_altivec_vmladduhm   vec_mladd
#define __builtin_altivec_vmrghb   vec_vmrghb
#define __builtin_altivec_vmrghh   vec_vmrghh
#define __builtin_altivec_vmrghw   vec_vmrghw
#define __builtin_altivec_vmrglb   vec_vmrglb
#define __builtin_altivec_vmrglh   vec_vmrglh
#define __builtin_altivec_vmrglw   vec_vmrglw
#define __builtin_altivec_vnor   vec_nor
#define __builtin_altivec_vor   vec_or
#define __builtin_altivec_vpkuhum   vec_vpkuhum
#define __builtin_altivec_vpkuwum   vec_vpkuwum
#define __builtin_altivec_vsel_4si   vec_sel
#define __builtin_altivec_vslb   vec_vslb
#define __builtin_altivec_vsldoi_4si   vec_sld
#define __builtin_altivec_vslh   vec_vslh
#define __builtin_altivec_vslw   vec_vslw
#define __builtin_altivec_vspltb   vec_vspltb
#define __builtin_altivec_vsplth   vec_vsplth
#define __builtin_altivec_vspltisb   vec_splat_s8
#define __builtin_altivec_vspltish   vec_splat_s16
#define __builtin_altivec_vspltisw   vec_splat_s32
#define __builtin_altivec_vspltw   vec_vspltw
#define __builtin_altivec_vsrb   vec_vsrb
#define __builtin_altivec_vsrh   vec_vsrh
#define __builtin_altivec_vsrw   vec_vsrw
#define __builtin_altivec_vsubfp   vec_vsubfp
#define __builtin_altivec_vsububm   vec_vsububm
#define __builtin_altivec_vsubuhm   vec_vsubuhm
#define __builtin_altivec_vsubuwm   vec_vsubuwm
#define __builtin_altivec_vxor   vec_xor
#define __CR6_EQ   0

Definition at line 32 of file altivec.h.

#define __CR6_EQ_REV   1

Definition at line 33 of file altivec.h.

#define __CR6_LT   2

Definition at line 34 of file altivec.h.

#define __CR6_LT_REV   3

Definition at line 35 of file altivec.h.


Function Documentation

static vector float __attribute__ ( (__always_inline__)  ) [static]
static vector signed char __ATTRS_o_ai vec_abs ( vector signed char  a) [static]

Definition at line 83 of file altivec.h.

static vector signed short __ATTRS_o_ai vec_abs ( vector signed short  a) [static]

Definition at line 89 of file altivec.h.

static vector signed int __ATTRS_o_ai vec_abs ( vector signed int  a) [static]

Definition at line 95 of file altivec.h.

static vector float __ATTRS_o_ai vec_abs ( vector float  a) [static]

Definition at line 101 of file altivec.h.

static vector signed char __ATTRS_o_ai vec_abss ( vector signed char  a) [static]

Definition at line 115 of file altivec.h.

static vector signed short __ATTRS_o_ai vec_abss ( vector signed short  a) [static]

Definition at line 122 of file altivec.h.

static vector signed int __ATTRS_o_ai vec_abss ( vector signed int  a) [static]

Definition at line 129 of file altivec.h.

static vector signed char __ATTRS_o_ai vec_add ( vector signed char  a,
vector signed char  b 
) [static]

Definition at line 138 of file altivec.h.

static vector signed char __ATTRS_o_ai vec_add ( vector bool char  a,
vector signed char  b 
) [static]

Definition at line 144 of file altivec.h.

static vector signed char __ATTRS_o_ai vec_add ( vector signed char  a,
vector bool char  b 
) [static]

Definition at line 150 of file altivec.h.

static vector unsigned char __ATTRS_o_ai vec_add ( vector unsigned char  a,
vector unsigned char  b 
) [static]

Definition at line 156 of file altivec.h.

static vector unsigned char __ATTRS_o_ai vec_add ( vector bool char  a,
vector unsigned char  b 
) [static]

Definition at line 162 of file altivec.h.

static vector unsigned char __ATTRS_o_ai vec_add ( vector unsigned char  a,
vector bool char  b 
) [static]

Definition at line 168 of file altivec.h.

static vector short __ATTRS_o_ai vec_add ( vector short  a,
vector short  b 
) [static]

Definition at line 174 of file altivec.h.

static vector short __ATTRS_o_ai vec_add ( vector bool short  a,
vector short  b 
) [static]

Definition at line 180 of file altivec.h.

static vector short __ATTRS_o_ai vec_add ( vector short  a,
vector bool short  b 
) [static]

Definition at line 186 of file altivec.h.

static vector unsigned short __ATTRS_o_ai vec_add ( vector unsigned short  a,
vector unsigned short  b 
) [static]

Definition at line 192 of file altivec.h.

static vector unsigned short __ATTRS_o_ai vec_add ( vector bool short  a,
vector unsigned short  b 
) [static]

Definition at line 198 of file altivec.h.

static vector unsigned short __ATTRS_o_ai vec_add ( vector unsigned short  a,
vector bool short  b 
) [static]

Definition at line 204 of file altivec.h.

static vector int __ATTRS_o_ai vec_add ( vector int  a,
vector int  b 
) [static]

Definition at line 210 of file altivec.h.

static vector int __ATTRS_o_ai vec_add ( vector bool int  a,
vector int  b 
) [static]

Definition at line 216 of file altivec.h.

static vector int __ATTRS_o_ai vec_add ( vector int  a,
vector bool int  b 
) [static]

Definition at line 222 of file altivec.h.

static vector unsigned int __ATTRS_o_ai vec_add ( vector unsigned int  a,
vector unsigned int  b 
) [static]

Definition at line 228 of file altivec.h.

static vector unsigned int __ATTRS_o_ai vec_add ( vector bool int  a,
vector unsigned int  b 
) [static]

Definition at line 234 of file altivec.h.

static vector unsigned int __ATTRS_o_ai vec_add ( vector unsigned int  a,
vector bool int  b 
) [static]

Definition at line 240 of file altivec.h.

static vector float __ATTRS_o_ai vec_add ( vector float  a,
vector float  b 
) [static]

Definition at line 246 of file altivec.h.

static vector signed char __ATTRS_o_ai vec_perm ( vector signed char  a,
vector signed char  b,
vector unsigned char  c 
) [static]
static vector unsigned char __ATTRS_o_ai vec_perm ( vector unsigned char  a,
vector unsigned char  b,
vector unsigned char  c 
) [static]
static vector bool char __ATTRS_o_ai vec_perm ( vector bool char  a,
vector bool char  b,
vector unsigned char  c 
) [static]
static vector short __ATTRS_o_ai vec_perm ( vector short  a,
vector short  b,
vector unsigned char  c 
) [static]
static vector unsigned short __ATTRS_o_ai vec_perm ( vector unsigned short  a,
vector unsigned short  b,
vector unsigned char  c 
) [static]
static vector bool short __ATTRS_o_ai vec_perm ( vector bool short  a,
vector bool short  b,
vector unsigned char  c 
) [static]
static vector pixel __ATTRS_o_ai vec_perm ( vector pixel  a,
vector pixel  b,
vector unsigned char  c 
) [static]
static vector int __ATTRS_o_ai vec_perm ( vector int  a,
vector int  b,
vector unsigned char  c 
) [static]
static vector unsigned int __ATTRS_o_ai vec_perm ( vector unsigned int  a,
vector unsigned int  b,
vector unsigned char  c 
) [static]
static vector bool int __ATTRS_o_ai vec_perm ( vector bool int  a,
vector bool int  b,
vector unsigned char  c 
) [static]
static vector float __ATTRS_o_ai vec_perm ( vector float  a,
vector float  b,
vector unsigned char  c 
) [static]
static vector signed char __ATTRS_o_ai vec_vaddubm ( vector signed char  a,
vector signed char  b 
) [static]

Definition at line 256 of file altivec.h.

static vector signed char __ATTRS_o_ai vec_vaddubm ( vector bool char  a,
vector signed char  b 
) [static]

Definition at line 262 of file altivec.h.

static vector signed char __ATTRS_o_ai vec_vaddubm ( vector signed char  a,
vector bool char  b 
) [static]

Definition at line 268 of file altivec.h.

static vector unsigned char __ATTRS_o_ai vec_vaddubm ( vector unsigned char  a,
vector unsigned char  b 
) [static]

Definition at line 274 of file altivec.h.

static vector unsigned char __ATTRS_o_ai vec_vaddubm ( vector bool char  a,
vector unsigned char  b 
) [static]

Definition at line 280 of file altivec.h.

static vector unsigned char __ATTRS_o_ai vec_vaddubm ( vector unsigned char  a,
vector bool char  b 
) [static]

Definition at line 286 of file altivec.h.

static vector short __ATTRS_o_ai vec_vadduhm ( vector short  a,
vector short  b 
) [static]

Definition at line 296 of file altivec.h.

static vector short __ATTRS_o_ai vec_vadduhm ( vector bool short  a,
vector short  b 
) [static]

Definition at line 302 of file altivec.h.

static vector short __ATTRS_o_ai vec_vadduhm ( vector short  a,
vector bool short  b 
) [static]

Definition at line 308 of file altivec.h.

static vector unsigned short __ATTRS_o_ai vec_vadduhm ( vector unsigned short  a,
vector unsigned short  b 
) [static]

Definition at line 314 of file altivec.h.

static vector unsigned short __ATTRS_o_ai vec_vadduhm ( vector bool short  a,
vector unsigned short  b 
) [static]

Definition at line 320 of file altivec.h.

static vector unsigned short __ATTRS_o_ai vec_vadduhm ( vector unsigned short  a,
vector bool short  b 
) [static]

Definition at line 326 of file altivec.h.

static vector int __ATTRS_o_ai vec_vadduwm ( vector int  a,
vector int  b 
) [static]

Definition at line 336 of file altivec.h.

static vector int __ATTRS_o_ai vec_vadduwm ( vector bool int  a,
vector int  b 
) [static]

Definition at line 342 of file altivec.h.

static vector int __ATTRS_o_ai vec_vadduwm ( vector int  a,
vector bool int  b 
) [static]

Definition at line 348 of file altivec.h.

static vector unsigned int __ATTRS_o_ai vec_vadduwm ( vector unsigned int  a,
vector unsigned int  b 
) [static]

Definition at line 354 of file altivec.h.

static vector unsigned int __ATTRS_o_ai vec_vadduwm ( vector bool int  a,
vector unsigned int  b 
) [static]

Definition at line 360 of file altivec.h.

static vector unsigned int __ATTRS_o_ai vec_vadduwm ( vector unsigned int  a,
vector bool int  b 
) [static]

Definition at line 366 of file altivec.h.