📄 altivec.h
字号:
{ return (__vector signed int) __builtin_altivec_vavgsw ((__vector signed int) a1, (__vector signed int) a2);}/* vec_vavgsw */inline __vector signed intvec_vavgsw (__vector signed int a1, __vector signed int a2){ return (__vector signed int) __builtin_altivec_vavgsw ((__vector signed int) a1, (__vector signed int) a2);}/* vec_vavguw */inline __vector unsigned intvec_vavguw (__vector unsigned int a1, __vector unsigned int a2){ return (__vector unsigned int) __builtin_altivec_vavguw ((__vector signed int) a1, (__vector signed int) a2);}/* vec_vavgsh */inline __vector signed shortvec_vavgsh (__vector signed short a1, __vector signed short a2){ return (__vector signed short) __builtin_altivec_vavgsh ((__vector signed short) a1, (__vector signed short) a2);}/* vec_vavguh */inline __vector unsigned shortvec_vavguh (__vector unsigned short a1, __vector unsigned short a2){ return (__vector unsigned short) __builtin_altivec_vavguh ((__vector signed short) a1, (__vector signed short) a2);}/* vec_vavgsb */inline __vector signed charvec_vavgsb (__vector signed char a1, __vector signed char a2){ return (__vector signed char) __builtin_altivec_vavgsb ((__vector signed char) a1, (__vector signed char) a2);}/* vec_vavgub */inline __vector unsigned charvec_vavgub (__vector unsigned char a1, __vector unsigned char a2){ return (__vector unsigned char) __builtin_altivec_vavgub ((__vector signed char) a1, (__vector signed char) a2);}/* vec_ceil */inline __vector floatvec_ceil (__vector float a1){ return (__vector float) __builtin_altivec_vrfip ((__vector float) a1);}/* vec_cmpb */inline __vector signed intvec_cmpb (__vector float a1, __vector float a2){ return (__vector signed int) __builtin_altivec_vcmpbfp ((__vector float) a1, (__vector float) a2);}/* vec_cmpeq */inline __vector bool charvec_cmpeq (__vector signed char a1, __vector signed char a2){ return (__vector bool char) __builtin_altivec_vcmpequb ((__vector signed char) a1, (__vector signed char) a2);}inline __vector bool charvec_cmpeq (__vector unsigned char a1, __vector unsigned char a2){ return (__vector bool char) __builtin_altivec_vcmpequb ((__vector signed char) a1, (__vector signed char) a2);}inline __vector bool shortvec_cmpeq (__vector signed short a1, __vector signed short a2){ return (__vector bool short) __builtin_altivec_vcmpequh ((__vector signed short) a1, (__vector signed short) a2);}inline __vector bool shortvec_cmpeq (__vector unsigned short a1, __vector unsigned short a2){ return (__vector bool short) __builtin_altivec_vcmpequh ((__vector signed short) a1, (__vector signed short) a2);}inline __vector bool intvec_cmpeq (__vector signed int a1, __vector signed int a2){ return (__vector bool int) __builtin_altivec_vcmpequw ((__vector signed int) a1, (__vector signed int) a2);}inline __vector bool intvec_cmpeq (__vector unsigned int a1, __vector unsigned int a2){ return (__vector bool int) __builtin_altivec_vcmpequw ((__vector signed int) a1, (__vector signed int) a2);}inline __vector bool intvec_cmpeq (__vector float a1, __vector float a2){ return (__vector bool int) __builtin_altivec_vcmpeqfp ((__vector float) a1, (__vector float) a2);}/* vec_vcmpeqfp */inline __vector bool intvec_vcmpeqfp (__vector float a1, __vector float a2){ return (__vector bool int) __builtin_altivec_vcmpeqfp ((__vector float) a1, (__vector float) a2);}/* vec_vcmpequw */inline __vector bool intvec_vcmpequw (__vector signed int a1, __vector signed int a2){ return (__vector bool int) __builtin_altivec_vcmpequw ((__vector signed int) a1, (__vector signed int) a2);}inline __vector bool intvec_vcmpequw (__vector unsigned int a1, __vector unsigned int a2){ return (__vector bool int) __builtin_altivec_vcmpequw ((__vector signed int) a1, (__vector signed int) a2);}/* vec_vcmpequh */inline __vector bool shortvec_vcmpequh (__vector signed short a1, __vector signed short a2){ return (__vector bool short) __builtin_altivec_vcmpequh ((__vector signed short) a1, (__vector signed short) a2);}inline __vector bool shortvec_vcmpequh (__vector unsigned short a1, __vector unsigned short a2){ return (__vector bool short) __builtin_altivec_vcmpequh ((__vector signed short) a1, (__vector signed short) a2);}/* vec_vcmpequb */inline __vector bool charvec_vcmpequb (__vector signed char a1, __vector signed char a2){ return (__vector bool char) __builtin_altivec_vcmpequb ((__vector signed char) a1, (__vector signed char) a2);}inline __vector bool charvec_vcmpequb (__vector unsigned char a1, __vector unsigned char a2){ return (__vector bool char) __builtin_altivec_vcmpequb ((__vector signed char) a1, (__vector signed char) a2);}/* vec_cmpge */inline __vector bool intvec_cmpge (__vector float a1, __vector float a2){ return (__vector bool int) __builtin_altivec_vcmpgefp ((__vector float) a1, (__vector float) a2);}/* vec_cmpgt */inline __vector bool charvec_cmpgt (__vector unsigned char a1, __vector unsigned char a2){ return (__vector bool char) __builtin_altivec_vcmpgtub ((__vector signed char) a1, (__vector signed char) a2);}inline __vector bool charvec_cmpgt (__vector signed char a1, __vector signed char a2){ return (__vector bool char) __builtin_altivec_vcmpgtsb ((__vector signed char) a1, (__vector signed char) a2);}inline __vector bool shortvec_cmpgt (__vector unsigned short a1, __vector unsigned short a2){ return (__vector bool short) __builtin_altivec_vcmpgtuh ((__vector signed short) a1, (__vector signed short) a2);}inline __vector bool shortvec_cmpgt (__vector signed short a1, __vector signed short a2){ return (__vector bool short) __builtin_altivec_vcmpgtsh ((__vector signed short) a1, (__vector signed short) a2);}inline __vector bool intvec_cmpgt (__vector unsigned int a1, __vector unsigned int a2){ return (__vector bool int) __builtin_altivec_vcmpgtuw ((__vector signed int) a1, (__vector signed int) a2);}inline __vector bool intvec_cmpgt (__vector signed int a1, __vector signed int a2){ return (__vector bool int) __builtin_altivec_vcmpgtsw ((__vector signed int) a1, (__vector signed int) a2);}inline __vector bool intvec_cmpgt (__vector float a1, __vector float a2){ return (__vector bool int) __builtin_altivec_vcmpgtfp ((__vector float) a1, (__vector float) a2);}/* vec_vcmpgtfp */inline __vector bool intvec_vcmpgtfp (__vector float a1, __vector float a2){ return (__vector bool int) __builtin_altivec_vcmpgtfp ((__vector float) a1, (__vector float) a2);}/* vec_vcmpgtsw */inline __vector bool intvec_vcmpgtsw (__vector signed int a1, __vector signed int a2){ return (__vector bool int) __builtin_altivec_vcmpgtsw ((__vector signed int) a1, (__vector signed int) a2);}/* vec_vcmpgtuw */inline __vector bool intvec_vcmpgtuw (__vector unsigned int a1, __vector unsigned int a2){ return (__vector bool int) __builtin_altivec_vcmpgtuw ((__vector signed int) a1, (__vector signed int) a2);}/* vec_vcmpgtsh */inline __vector bool shortvec_vcmpgtsh (__vector signed short a1, __vector signed short a2){ return (__vector bool short) __builtin_altivec_vcmpgtsh ((__vector signed short) a1, (__vector signed short) a2);}/* vec_vcmpgtuh */inline __vector bool shortvec_vcmpgtuh (__vector unsigned short a1, __vector unsigned short a2){ return (__vector bool short) __builtin_altivec_vcmpgtuh ((__vector signed short) a1, (__vector signed short) a2);}/* vec_vcmpgtsb */inline __vector bool charvec_vcmpgtsb (__vector signed char a1, __vector signed char a2){ return (__vector bool char) __builtin_altivec_vcmpgtsb ((__vector signed char) a1, (__vector signed char) a2);}/* vec_vcmpgtub */inline __vector bool charvec_vcmpgtub (__vector unsigned char a1, __vector unsigned char a2){ return (__vector bool char) __builtin_altivec_vcmpgtub ((__vector signed char) a1, (__vector signed char) a2);}/* vec_cmple */inline __vector bool intvec_cmple (__vector float a1, __vector float a2){ return (__vector bool int) __builtin_altivec_vcmpgefp ((__vector float) a2, (__vector float) a1);}/* vec_cmplt */inline __vector bool charvec_cmplt (__vector unsigned char a1, __vector unsigned char a2){ return (__vector bool char) __builtin_altivec_vcmpgtub ((__vector signed char) a2, (__vector signed char) a1);}inline __vector bool charvec_cmplt (__vector signed char a1, __vector signed char a2){ return (__vector bool char) __builtin_altivec_vcmpgtsb ((__vector signed char) a2, (__vector signed char) a1);}inline __vector bool shortvec_cmplt (__vector unsigned short a1, __vector unsigned short a2){ return (__vector bool short) __builtin_altivec_vcmpgtuh ((__vector signed short) a2, (__vector signed short) a1);}inline __vector bool shortvec_cmplt (__vector signed short a1, __vector signed short a2){ return (__vector bool short) __builtin_altivec_vcmpgtsh ((__vector signed short) a2, (__vector signed short) a1);}inline __vector bool intvec_cmplt (__vector unsigned int a1, __vector unsigned int a2){ return (__vector bool int) __builtin_altivec_vcmpgtuw ((__vector signed int) a2, (__vector signed int) a1);}inline __vector bool intvec_cmplt (__vector signed int a1, __vector signed int a2){ return (__vector bool int) __builtin_altivec_vcmpgtsw ((__vector signed int) a2, (__vector signed int) a1);}inline __vector bool intvec_cmplt (__vector float a1, __vector float a2){ return (__vector bool int) __builtin_altivec_vcmpgtfp ((__vector float) a2, (__vector float) a1);}/* vec_ctf */inline __vector floatvec_ctf (__vector unsigned int a1, const int a2){ return (__vector float) __builtin_altivec_vcfux ((__vector signed int) a1, a2);}inline __vector floatvec_ctf (__vector signed int a1, const int a2){ return (__vector float) __builtin_altivec_vcfsx ((__vector signed int) a1, a2);}/* vec_vcfsx */inline __vector floatvec_vcfsx (__vector signed int a1, const int a2){ return (__vector float) __builtin_altivec_vcfsx ((__vector signed int) a1, a2);}/* vec_vcfux */inline __vector floatvec_vcfux (__vector unsigned int a1, const int a2){ return (__vector float) __builtin_altivec_vcfux ((__vector signed int) a1, a2);}/* vec_cts */inline __vector signed intvec_cts (__vector float a1, const int a2){ return (__vector signed int) __builtin_altivec_vctsxs ((__vector float) a1, a2);}/* vec_ctu */inline __vector unsigned intvec_ctu (__vector float a1, const int a2){ return (__vector unsigned int) __builtin_altivec_vctuxs ((__vector float) a1, a2);}/* vec_dss */inline voidvec_dss (const int a1){ __builtin_altivec_dss (a1);}/* vec_dssall */inline voidvec_dssall (void){ __builtin_altivec_dssall ();}/* vec_dst */inline voidvec_dst (const __vector unsigned char *a1, int a2, const int a3){ __builtin_altivec_dst ((void *) a1, a2, a3);}inline voidvec_dst (const __vector signed char *a1, int a2, const int a3){ __builtin_altivec_dst ((void *) a1, a2, a3);}inline voidvec_dst (const __vector bool char *a1, int a2, const int a3){ __builtin_altivec_dst ((void *) a1, a2, a3);}inline voidvec_dst (const __vector unsigned short *a1, int a2, const int a3){ __builtin_altivec_dst ((void *) a1, a2, a3);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -