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 unsigned char
__ATTRS_o_ai 
vec_xor (vector unsigned char __a, vector unsigned char __b)
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.

Definition at line 81 of file altivec.h.

Definition at line 83 of file altivec.h.

Definition at line 82 of file altivec.h.

Definition at line 113 of file altivec.h.

Definition at line 115 of file altivec.h.

Definition at line 114 of file altivec.h.

#define __builtin_altivec_vaddfp   vec_vaddfp

Definition at line 376 of file altivec.h.

Definition at line 256 of file altivec.h.

Definition at line 296 of file altivec.h.

Definition at line 336 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 __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 86 of file altivec.h.

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

Definition at line 92 of file altivec.h.

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

Definition at line 98 of file altivec.h.

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

Definition at line 104 of file altivec.h.

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

Definition at line 118 of file altivec.h.

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

Definition at line 125 of file altivec.h.

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

Definition at line 132 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 141 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 147 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 153 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 159 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 165 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 171 of file altivec.h.

static vector short __ATTRS_o_ai vec_add ( vector short  __a,
vector short  __b 
) [static]

Definition at line 177 of file altivec.h.

static vector short __ATTRS_o_ai vec_add ( vector bool short  __a,
vector short  __b 
) [static]

Definition at line 183 of file altivec.h.

static vector short __ATTRS_o_ai vec_add ( vector short  __a,
vector bool short  __b 
) [static]

Definition at line 189 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 195 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 201 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 207 of file altivec.h.

static vector int __ATTRS_o_ai vec_add ( vector int  __a,
vector int  __b 
) [static]

Definition at line 213 of file altivec.h.

static vector int __ATTRS_o_ai vec_add ( vector bool int  __a,
vector int  __b 
) [static]

Definition at line 219 of file altivec.h.

static vector int __ATTRS_o_ai vec_add ( vector int  __a,
vector bool int  __b 
) [static]

Definition at line 225 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 231 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 237 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 243 of file altivec.h.

static vector float __ATTRS_o_ai vec_add ( vector float  __a,
vector float  __b 
) [static]

Definition at line 249 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 259 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 265 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 271 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 277 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 283 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 289 of file altivec.h.

static vector short __ATTRS_o_ai vec_vadduhm ( vector short  __a,
vector short  __b 
) [static]

Definition at line 299 of file altivec.h.

static vector short __ATTRS_o_ai vec_vadduhm ( vector bool short  __a,
vector short  __b 
) [static]

Definition at line 305 of file altivec.h.

static vector short __ATTRS_o_ai vec_vadduhm ( vector short  __a,
vector bool short  __b 
) [static]

Definition at line 311 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 317 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 323 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 329 of file altivec.h.

static vector int __ATTRS_o_ai vec_vadduwm ( vector int  __a,
vector int  __b 
) [static]

Definition at line 339 of file altivec.h.

static vector int __ATTRS_o_ai vec_vadduwm ( vector bool int  __a,
vector int  __b 
) [static]

Definition at line 345 of file altivec.h.

static vector int __ATTRS_o_ai vec_vadduwm ( vector int  __a,
vector bool int  __b 
) [static]

Definition at line 351 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 357 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 363 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 369 of file altivec.h.

static vector unsigned char __ATTRS_o_ai vec_xor ( vector unsigned char  __a,
vector unsigned char  __b 
) [static]