*
\*===----------------------------------------------------------------------===*/
-// TODO: add functions for 'vector bool ..' and 'vector pixel' argument types according to
-// the 'AltiVec Technology Programming Interface Manual'
-
#ifndef __ALTIVEC_H
#define __ALTIVEC_H
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);
+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);
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);
+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 float __ATTRS_o_ai
vec_abs(vector float a)
{
- vector unsigned int res = (vector unsigned int)a & (vector unsigned int)(0x7FFFFFFF);
+ vector unsigned int res = (vector unsigned int)a
+ & (vector unsigned int)(0x7FFFFFFF);
return (vector float)res;
}
static vector signed char __ATTRS_o_ai
vec_abss(vector signed char a)
{
- return __builtin_altivec_vmaxsb(a, __builtin_altivec_vsubsbs((vector signed char)(0), a));
+ return __builtin_altivec_vmaxsb
+ (a, __builtin_altivec_vsubsbs((vector signed char)(0), a));
}
static vector signed short __ATTRS_o_ai
vec_abss(vector signed short a)
{
- return __builtin_altivec_vmaxsh(a, __builtin_altivec_vsubshs((vector signed short)(0), a));
+ return __builtin_altivec_vmaxsh
+ (a, __builtin_altivec_vsubshs((vector signed short)(0), a));
}
static vector signed int __ATTRS_o_ai
vec_abss(vector signed int a)
{
- return __builtin_altivec_vmaxsw(a, __builtin_altivec_vsubsws((vector signed int)(0), a));
+ return __builtin_altivec_vmaxsw
+ (a, __builtin_altivec_vsubsws((vector signed int)(0), a));
}
/* vec_add */
/* vec_vmhaddshs */
static vector signed short __attribute__((__always_inline__))
-vec_vmhaddshs(vector signed short a, vector signed short b, vector signed short c)
+vec_vmhaddshs(vector signed short a,
+ vector signed short b,
+ vector signed short c)
{
return __builtin_altivec_vmhaddshs(a, b, c);
}
}
static vector unsigned short __ATTRS_o_ai
-vec_mladd(vector unsigned short a, vector unsigned short b, vector unsigned short c)
+vec_mladd(vector unsigned short a,
+ vector unsigned short b,
+ vector unsigned short c)
{
return a * b + c;
}
}
static vector unsigned short __ATTRS_o_ai
-vec_vmladduhm(vector unsigned short a, vector unsigned short b, vector unsigned short c)
+vec_vmladduhm(vector unsigned short a,
+ vector unsigned short b,
+ vector unsigned short c)
{
return a * b + c;
}
}
static vector unsigned int __ATTRS_o_ai
-vec_msum(vector unsigned short a, vector unsigned short b, vector unsigned int c)
+vec_msum(vector unsigned short a,
+ vector unsigned short b,
+ vector unsigned int c)
{
return __builtin_altivec_vmsumuhm(a, b, c);
}
/* vec_vmsumubm */
static vector unsigned int __attribute__((__always_inline__))
-vec_vmsumubm(vector unsigned char a, vector unsigned char b, vector unsigned int c)
+vec_vmsumubm(vector unsigned char a,
+ vector unsigned char b,
+ vector unsigned int c)
{
return __builtin_altivec_vmsumubm(a, b, c);
}
/* vec_vmsumuhm */
static vector unsigned int __attribute__((__always_inline__))
-vec_vmsumuhm(vector unsigned short a, vector unsigned short b, vector unsigned int c)
+vec_vmsumuhm(vector unsigned short a,
+ vector unsigned short b,
+ vector unsigned int c)
{
return __builtin_altivec_vmsumuhm(a, b, c);
}
}
static vector unsigned int __ATTRS_o_ai
-vec_msums(vector unsigned short a, vector unsigned short b, vector unsigned int c)
+vec_msums(vector unsigned short a,
+ vector unsigned short b,
+ vector unsigned int c)
{
return __builtin_altivec_vmsumuhs(a, b, c);
}
/* vec_vmsumuhs */
static vector unsigned int __attribute__((__always_inline__))
-vec_vmsumuhs(vector unsigned short a, vector unsigned short b, vector unsigned int c)
+vec_vmsumuhs(vector unsigned short a,
+ vector unsigned short b,
+ vector unsigned int c)
{
return __builtin_altivec_vmsumuhs(a, b, c);
}
vector signed char __ATTRS_o_ai
vec_perm(vector signed char a, vector signed char b, vector unsigned char c)
{
- return (vector signed char)__builtin_altivec_vperm_4si((vector int)a, (vector int)b, c);
+ return (vector signed char)
+ __builtin_altivec_vperm_4si((vector int)a, (vector int)b, c);
}
vector unsigned char __ATTRS_o_ai
-vec_perm(vector unsigned char a, vector unsigned char b, vector unsigned char c)
+vec_perm(vector unsigned char a,
+ vector unsigned char b,
+ vector unsigned char c)
{
- return (vector unsigned char)__builtin_altivec_vperm_4si((vector int)a, (vector int)b, c);
+ return (vector unsigned char)
+ __builtin_altivec_vperm_4si((vector int)a, (vector int)b, c);
}
vector bool char __ATTRS_o_ai
vec_perm(vector bool char a, vector bool char b, vector unsigned char c)
{
- return (vector bool char)__builtin_altivec_vperm_4si((vector int)a, (vector int)b, c);
+ return (vector bool char)
+ __builtin_altivec_vperm_4si((vector int)a, (vector int)b, c);
}
vector short __ATTRS_o_ai
vec_perm(vector short a, vector short b, vector unsigned char c)
{
- return (vector short)__builtin_altivec_vperm_4si((vector int)a, (vector int)b, c);
+ return (vector short)
+ __builtin_altivec_vperm_4si((vector int)a, (vector int)b, c);
}
vector unsigned short __ATTRS_o_ai
-vec_perm(vector unsigned short a, vector unsigned short b, vector unsigned char c)
+vec_perm(vector unsigned short a,
+ vector unsigned short b,
+ vector unsigned char c)
{
- return (vector unsigned short)__builtin_altivec_vperm_4si((vector int)a, (vector int)b, c);
+ return (vector unsigned short)
+ __builtin_altivec_vperm_4si((vector int)a, (vector int)b, c);
}
vector bool short __ATTRS_o_ai
vec_perm(vector bool short a, vector bool short b, vector unsigned char c)
{
- return (vector bool short)__builtin_altivec_vperm_4si((vector int)a, (vector int)b, c);
+ return (vector bool short)
+ __builtin_altivec_vperm_4si((vector int)a, (vector int)b, c);
}
vector pixel __ATTRS_o_ai
vec_perm(vector pixel a, vector pixel b, vector unsigned char c)
{
- return (vector pixel)__builtin_altivec_vperm_4si((vector int)a, (vector int)b, c);
+ return (vector pixel)
+ __builtin_altivec_vperm_4si((vector int)a, (vector int)b, c);
}
vector int __ATTRS_o_ai
vector unsigned int __ATTRS_o_ai
vec_perm(vector unsigned int a, vector unsigned int b, vector unsigned char c)
{
- return (vector unsigned int)__builtin_altivec_vperm_4si((vector int)a, (vector int)b, c);
+ return (vector unsigned int)
+ __builtin_altivec_vperm_4si((vector int)a, (vector int)b, c);
}
vector bool int __ATTRS_o_ai
vec_perm(vector bool int a, vector bool int b, vector unsigned char c)
{
- return (vector bool int)__builtin_altivec_vperm_4si((vector int)a, (vector int)b, c);
+ return (vector bool int)
+ __builtin_altivec_vperm_4si((vector int)a, (vector int)b, c);
}
vector float __ATTRS_o_ai
vec_perm(vector float a, vector float b, vector unsigned char c)
{
- return (vector float)__builtin_altivec_vperm_4si((vector int)a, (vector int)b, c);
+ return (vector float)
+ __builtin_altivec_vperm_4si((vector int)a, (vector int)b, c);
}
/* vec_vperm */
vector signed char __ATTRS_o_ai
vec_vperm(vector signed char a, vector signed char b, vector unsigned char c)
{
- return (vector signed char)__builtin_altivec_vperm_4si((vector int)a, (vector int)b, c);
+ return (vector signed char)
+ __builtin_altivec_vperm_4si((vector int)a, (vector int)b, c);
}
vector unsigned char __ATTRS_o_ai
-vec_vperm(vector unsigned char a, vector unsigned char b, vector unsigned char c)
+vec_vperm(vector unsigned char a,
+ vector unsigned char b,
+ vector unsigned char c)
{
- return (vector unsigned char)__builtin_altivec_vperm_4si((vector int)a, (vector int)b, c);
+ return (vector unsigned char)
+ __builtin_altivec_vperm_4si((vector int)a, (vector int)b, c);
}
vector bool char __ATTRS_o_ai
vec_vperm(vector bool char a, vector bool char b, vector unsigned char c)
{
- return (vector bool char)__builtin_altivec_vperm_4si((vector int)a, (vector int)b, c);
+ return (vector bool char)
+ __builtin_altivec_vperm_4si((vector int)a, (vector int)b, c);
}
vector short __ATTRS_o_ai
vec_vperm(vector short a, vector short b, vector unsigned char c)
{
- return (vector short)__builtin_altivec_vperm_4si((vector int)a, (vector int)b, c);
+ return (vector short)
+ __builtin_altivec_vperm_4si((vector int)a, (vector int)b, c);
}
vector unsigned short __ATTRS_o_ai
-vec_vperm(vector unsigned short a, vector unsigned short b, vector unsigned char c)
+vec_vperm(vector unsigned short a,
+ vector unsigned short b,
+ vector unsigned char c)
{
- return (vector unsigned short)__builtin_altivec_vperm_4si((vector int)a, (vector int)b, c);
+ return (vector unsigned short)
+ __builtin_altivec_vperm_4si((vector int)a, (vector int)b, c);
}
vector bool short __ATTRS_o_ai
vec_vperm(vector bool short a, vector bool short b, vector unsigned char c)
{
- return (vector bool short)__builtin_altivec_vperm_4si((vector int)a, (vector int)b, c);
+ return (vector bool short)
+ __builtin_altivec_vperm_4si((vector int)a, (vector int)b, c);
}
vector pixel __ATTRS_o_ai
vec_vperm(vector pixel a, vector pixel b, vector unsigned char c)
{
- return (vector pixel)__builtin_altivec_vperm_4si((vector int)a, (vector int)b, c);
+ return (vector pixel)
+ __builtin_altivec_vperm_4si((vector int)a, (vector int)b, c);
}
vector int __ATTRS_o_ai
vector unsigned int __ATTRS_o_ai
vec_vperm(vector unsigned int a, vector unsigned int b, vector unsigned char c)
{
- return (vector unsigned int)__builtin_altivec_vperm_4si((vector int)a, (vector int)b, c);
+ return (vector unsigned int)
+ __builtin_altivec_vperm_4si((vector int)a, (vector int)b, c);
}
vector bool int __ATTRS_o_ai
vec_vperm(vector bool int a, vector bool int b, vector unsigned char c)
{
- return (vector bool int)__builtin_altivec_vperm_4si((vector int)a, (vector int)b, c);
+ return (vector bool int)
+ __builtin_altivec_vperm_4si((vector int)a, (vector int)b, c);
}
vector float __ATTRS_o_ai
vec_vperm(vector float a, vector float b, vector unsigned char c)
{
- return (vector float)__builtin_altivec_vperm_4si((vector int)a, (vector int)b, c);
+ return (vector float)
+ __builtin_altivec_vperm_4si((vector int)a, (vector int)b, c);
}
/* vec_re */
}
static vector unsigned short __ATTRS_o_ai
-vec_sel(vector unsigned short a, vector unsigned short b, vector unsigned short c)
+vec_sel(vector unsigned short a,
+ vector unsigned short b,
+ vector unsigned short c)
{
return (a & ~c) | (b & c);
}
static vector float __ATTRS_o_ai
vec_sel(vector float a, vector float b, vector unsigned int c)
{
- vector int res = ((vector int)a & ~(vector int)c) | ((vector int)b & (vector int)c);
+ vector int res = ((vector int)a & ~(vector int)c)
+ | ((vector int)b & (vector int)c);
return (vector float)res;
}
static vector float __ATTRS_o_ai
vec_sel(vector float a, vector float b, vector bool int c)
{
- vector int res = ((vector int)a & ~(vector int)c) | ((vector int)b & (vector int)c);
+ vector int res = ((vector int)a & ~(vector int)c)
+ | ((vector int)b & (vector int)c);
return (vector float)res;
}
}
static vector unsigned short __ATTRS_o_ai
-vec_vsel(vector unsigned short a, vector unsigned short b, vector unsigned short c)
+vec_vsel(vector unsigned short a,
+ vector unsigned short b,
+ vector unsigned short c)
{
return (a & ~c) | (b & c);
}
static vector float __ATTRS_o_ai
vec_vsel(vector float a, vector float b, vector unsigned int c)
{
- vector int res = ((vector int)a & ~(vector int)c) | ((vector int)b & (vector int)c);
+ vector int res = ((vector int)a & ~(vector int)c)
+ | ((vector int)b & (vector int)c);
return (vector float)res;
}
static vector float __ATTRS_o_ai
vec_vsel(vector float a, vector float b, vector bool int c)
{
- vector int res = ((vector int)a & ~(vector int)c) | ((vector int)b & (vector int)c);
+ vector int res = ((vector int)a & ~(vector int)c)
+ | ((vector int)b & (vector int)c);
return (vector float)res;
}
static vector signed char __ATTRS_o_ai
vec_sll(vector signed char a, vector unsigned char b)
{
- return (vector signed char)__builtin_altivec_vsl((vector int)a, (vector int)b);
+ return (vector signed char)
+ __builtin_altivec_vsl((vector int)a, (vector int)b);
}
static vector signed char __ATTRS_o_ai
vec_sll(vector signed char a, vector unsigned short b)
{
- return (vector signed char)__builtin_altivec_vsl((vector int)a, (vector int)b);
+ return (vector signed char)
+ __builtin_altivec_vsl((vector int)a, (vector int)b);
}
static vector signed char __ATTRS_o_ai
vec_sll(vector signed char a, vector unsigned int b)
{
- return (vector signed char)__builtin_altivec_vsl((vector int)a, (vector int)b);
+ return (vector signed char)
+ __builtin_altivec_vsl((vector int)a, (vector int)b);
}
static vector unsigned char __ATTRS_o_ai
vec_sll(vector unsigned char a, vector unsigned char b)
{
- return (vector unsigned char)__builtin_altivec_vsl((vector int)a, (vector int)b);
+ return (vector unsigned char)
+ __builtin_altivec_vsl((vector int)a, (vector int)b);
}
static vector unsigned char __ATTRS_o_ai
vec_sll(vector unsigned char a, vector unsigned short b)
{
- return (vector unsigned char)__builtin_altivec_vsl((vector int)a, (vector int)b);
+ return (vector unsigned char)
+ __builtin_altivec_vsl((vector int)a, (vector int)b);
}
static vector unsigned char __ATTRS_o_ai
vec_sll(vector unsigned char a, vector unsigned int b)
{
- return (vector unsigned char)__builtin_altivec_vsl((vector int)a, (vector int)b);
+ return (vector unsigned char)
+ __builtin_altivec_vsl((vector int)a, (vector int)b);
}
static vector bool char __ATTRS_o_ai
static vector unsigned short __ATTRS_o_ai
vec_sll(vector unsigned short a, vector unsigned char b)
{
- return (vector unsigned short)__builtin_altivec_vsl((vector int)a, (vector int)b);
+ return (vector unsigned short)
+ __builtin_altivec_vsl((vector int)a, (vector int)b);
}
static vector unsigned short __ATTRS_o_ai
vec_sll(vector unsigned short a, vector unsigned short b)
{
- return (vector unsigned short)__builtin_altivec_vsl((vector int)a, (vector int)b);
+ return (vector unsigned short)
+ __builtin_altivec_vsl((vector int)a, (vector int)b);
}
static vector unsigned short __ATTRS_o_ai
vec_sll(vector unsigned short a, vector unsigned int b)
{
- return (vector unsigned short)__builtin_altivec_vsl((vector int)a, (vector int)b);
+ return (vector unsigned short)
+ __builtin_altivec_vsl((vector int)a, (vector int)b);
}
static vector bool short __ATTRS_o_ai
static vector unsigned int __ATTRS_o_ai
vec_sll(vector unsigned int a, vector unsigned char b)
{
- return (vector unsigned int)__builtin_altivec_vsl((vector int)a, (vector int)b);
+ return (vector unsigned int)
+ __builtin_altivec_vsl((vector int)a, (vector int)b);
}
static vector unsigned int __ATTRS_o_ai
vec_sll(vector unsigned int a, vector unsigned short b)
{
- return (vector unsigned int)__builtin_altivec_vsl((vector int)a, (vector int)b);
+ return (vector unsigned int)
+ __builtin_altivec_vsl((vector int)a, (vector int)b);
}
static vector unsigned int __ATTRS_o_ai
vec_sll(vector unsigned int a, vector unsigned int b)
{
- return (vector unsigned int)__builtin_altivec_vsl((vector int)a, (vector int)b);
+ return (vector unsigned int)
+ __builtin_altivec_vsl((vector int)a, (vector int)b);
}
static vector bool int __ATTRS_o_ai
static vector signed char __ATTRS_o_ai
vec_vsl(vector signed char a, vector unsigned char b)
{
- return (vector signed char)__builtin_altivec_vsl((vector int)a, (vector int)b);
+ return (vector signed char)
+ __builtin_altivec_vsl((vector int)a, (vector int)b);
}
static vector signed char __ATTRS_o_ai
vec_vsl(vector signed char a, vector unsigned short b)
{
- return (vector signed char)__builtin_altivec_vsl((vector int)a, (vector int)b);
+ return (vector signed char)
+ __builtin_altivec_vsl((vector int)a, (vector int)b);
}
static vector signed char __ATTRS_o_ai
vec_vsl(vector signed char a, vector unsigned int b)
{
- return (vector signed char)__builtin_altivec_vsl((vector int)a, (vector int)b);
+ return (vector signed char)
+ __builtin_altivec_vsl((vector int)a, (vector int)b);
}
static vector unsigned char __ATTRS_o_ai
vec_vsl(vector unsigned char a, vector unsigned char b)
{
- return (vector unsigned char)__builtin_altivec_vsl((vector int)a, (vector int)b);
+ return (vector unsigned char)
+ __builtin_altivec_vsl((vector int)a, (vector int)b);
}
static vector unsigned char __ATTRS_o_ai
vec_vsl(vector unsigned char a, vector unsigned short b)
{
- return (vector unsigned char)__builtin_altivec_vsl((vector int)a, (vector int)b);
+ return (vector unsigned char)
+ __builtin_altivec_vsl((vector int)a, (vector int)b);
}
static vector unsigned char __ATTRS_o_ai
vec_vsl(vector unsigned char a, vector unsigned int b)
{
- return (vector unsigned char)__builtin_altivec_vsl((vector int)a, (vector int)b);
+ return (vector unsigned char)
+ __builtin_altivec_vsl((vector int)a, (vector int)b);
}
static vector bool char __ATTRS_o_ai
static vector unsigned short __ATTRS_o_ai
vec_vsl(vector unsigned short a, vector unsigned char b)
{
- return (vector unsigned short)__builtin_altivec_vsl((vector int)a, (vector int)b);
+ return (vector unsigned short)
+ __builtin_altivec_vsl((vector int)a, (vector int)b);
}
static vector unsigned short __ATTRS_o_ai
vec_vsl(vector unsigned short a, vector unsigned short b)
{
- return (vector unsigned short)__builtin_altivec_vsl((vector int)a, (vector int)b);
+ return (vector unsigned short)
+ __builtin_altivec_vsl((vector int)a, (vector int)b);
}
static vector unsigned short __ATTRS_o_ai
vec_vsl(vector unsigned short a, vector unsigned int b)
{
- return (vector unsigned short)__builtin_altivec_vsl((vector int)a, (vector int)b);
+ return (vector unsigned short)
+ __builtin_altivec_vsl((vector int)a, (vector int)b);
}
static vector bool short __ATTRS_o_ai
static vector unsigned int __ATTRS_o_ai
vec_vsl(vector unsigned int a, vector unsigned char b)
{
- return (vector unsigned int)__builtin_altivec_vsl((vector int)a, (vector int)b);
+ return (vector unsigned int)
+ __builtin_altivec_vsl((vector int)a, (vector int)b);
}
static vector unsigned int __ATTRS_o_ai
vec_vsl(vector unsigned int a, vector unsigned short b)
{
- return (vector unsigned int)__builtin_altivec_vsl((vector int)a, (vector int)b);
+ return (vector unsigned int)
+ __builtin_altivec_vsl((vector int)a, (vector int)b);
}
static vector unsigned int __ATTRS_o_ai
vec_vsl(vector unsigned int a, vector unsigned int b)
{
- return (vector unsigned int)__builtin_altivec_vsl((vector int)a, (vector int)b);
+ return (vector unsigned int)
+ __builtin_altivec_vsl((vector int)a, (vector int)b);
}
static vector bool int __ATTRS_o_ai
static vector signed char __ATTRS_o_ai
vec_slo(vector signed char a, vector signed char b)
{
- return (vector signed char)__builtin_altivec_vslo((vector int)a, (vector int)b);
+ return (vector signed char)
+ __builtin_altivec_vslo((vector int)a, (vector int)b);
}
static vector signed char __ATTRS_o_ai
vec_slo(vector signed char a, vector unsigned char b)
{
- return (vector signed char)__builtin_altivec_vslo((vector int)a, (vector int)b);
+ return (vector signed char)
+ __builtin_altivec_vslo((vector int)a, (vector int)b);
}
static vector unsigned char __ATTRS_o_ai
vec_slo(vector unsigned char a, vector signed char b)
{
- return (vector unsigned char)__builtin_altivec_vslo((vector int)a, (vector int)b);
+ return (vector unsigned char)
+ __builtin_altivec_vslo((vector int)a, (vector int)b);
}
static vector unsigned char __ATTRS_o_ai
vec_slo(vector unsigned char a, vector unsigned char b)
{
- return (vector unsigned char)__builtin_altivec_vslo((vector int)a, (vector int)b);
+ return (vector unsigned char)
+ __builtin_altivec_vslo((vector int)a, (vector int)b);
}
static vector short __ATTRS_o_ai
static vector unsigned short __ATTRS_o_ai
vec_slo(vector unsigned short a, vector signed char b)
{
- return (vector unsigned short)__builtin_altivec_vslo((vector int)a, (vector int)b);
+ return (vector unsigned short)
+ __builtin_altivec_vslo((vector int)a, (vector int)b);
}
static vector unsigned short __ATTRS_o_ai
vec_slo(vector unsigned short a, vector unsigned char b)
{
- return (vector unsigned short)__builtin_altivec_vslo((vector int)a, (vector int)b);
+ return (vector unsigned short)
+ __builtin_altivec_vslo((vector int)a, (vector int)b);
}
static vector pixel __ATTRS_o_ai
static vector unsigned int __ATTRS_o_ai
vec_slo(vector unsigned int a, vector signed char b)
{
- return (vector unsigned int)__builtin_altivec_vslo((vector int)a, (vector int)b);
+ return (vector unsigned int)
+ __builtin_altivec_vslo((vector int)a, (vector int)b);
}
static vector unsigned int __ATTRS_o_ai
vec_slo(vector unsigned int a, vector unsigned char b)
{
- return (vector unsigned int)__builtin_altivec_vslo((vector int)a, (vector int)b);
+ return (vector unsigned int)
+ __builtin_altivec_vslo((vector int)a, (vector int)b);
}
static vector float __ATTRS_o_ai
static vector signed char __ATTRS_o_ai
vec_vslo(vector signed char a, vector signed char b)
{
- return (vector signed char)__builtin_altivec_vslo((vector int)a, (vector int)b);
+ return (vector signed char)
+ __builtin_altivec_vslo((vector int)a, (vector int)b);
}
static vector signed char __ATTRS_o_ai
vec_vslo(vector signed char a, vector unsigned char b)
{
- return (vector signed char)__builtin_altivec_vslo((vector int)a, (vector int)b);
+ return (vector signed char)
+ __builtin_altivec_vslo((vector int)a, (vector int)b);
}
static vector unsigned char __ATTRS_o_ai
vec_vslo(vector unsigned char a, vector signed char b)
{
- return (vector unsigned char)__builtin_altivec_vslo((vector int)a, (vector int)b);
+ return (vector unsigned char)
+ __builtin_altivec_vslo((vector int)a, (vector int)b);
}
static vector unsigned char __ATTRS_o_ai
vec_vslo(vector unsigned char a, vector unsigned char b)
{
- return (vector unsigned char)__builtin_altivec_vslo((vector int)a, (vector int)b);
+ return (vector unsigned char)
+ __builtin_altivec_vslo((vector int)a, (vector int)b);
}
static vector short __ATTRS_o_ai
static vector unsigned short __ATTRS_o_ai
vec_vslo(vector unsigned short a, vector signed char b)
{
- return (vector unsigned short)__builtin_altivec_vslo((vector int)a, (vector int)b);
+ return (vector unsigned short)
+ __builtin_altivec_vslo((vector int)a, (vector int)b);
}
static vector unsigned short __ATTRS_o_ai
vec_vslo(vector unsigned short a, vector unsigned char b)
{
- return (vector unsigned short)__builtin_altivec_vslo((vector int)a, (vector int)b);
+ return (vector unsigned short)
+ __builtin_altivec_vslo((vector int)a, (vector int)b);
}
static vector pixel __ATTRS_o_ai
static vector unsigned int __ATTRS_o_ai
vec_vslo(vector unsigned int a, vector signed char b)
{
- return (vector unsigned int)__builtin_altivec_vslo((vector int)a, (vector int)b);
+ return (vector unsigned int)
+ __builtin_altivec_vslo((vector int)a, (vector int)b);
}
static vector unsigned int __ATTRS_o_ai
vec_vslo(vector unsigned int a, vector unsigned char b)
{
- return (vector unsigned int)__builtin_altivec_vslo((vector int)a, (vector int)b);
+ return (vector unsigned int)
+ __builtin_altivec_vslo((vector int)a, (vector int)b);
}
static vector float __ATTRS_o_ai
static vector signed char __ATTRS_o_ai
vec_srl(vector signed char a, vector unsigned char b)
{
- return (vector signed char)__builtin_altivec_vsr((vector int)a, (vector int)b);
+ return (vector signed char)
+ __builtin_altivec_vsr((vector int)a, (vector int)b);
}
static vector signed char __ATTRS_o_ai
vec_srl(vector signed char a, vector unsigned short b)
{
- return (vector signed char)__builtin_altivec_vsr((vector int)a, (vector int)b);
+ return (vector signed char)
+ __builtin_altivec_vsr((vector int)a, (vector int)b);
}
static vector signed char __ATTRS_o_ai
vec_srl(vector signed char a, vector unsigned int b)
{
- return (vector signed char)__builtin_altivec_vsr((vector int)a, (vector int)b);
+ return (vector signed char)
+ __builtin_altivec_vsr((vector int)a, (vector int)b);
}
static vector unsigned char __ATTRS_o_ai
vec_srl(vector unsigned char a, vector unsigned char b)
{
- return (vector unsigned char)__builtin_altivec_vsr((vector int)a, (vector int)b);
+ return (vector unsigned char)
+ __builtin_altivec_vsr((vector int)a, (vector int)b);
}
static vector unsigned char __ATTRS_o_ai
vec_srl(vector unsigned char a, vector unsigned short b)
{
- return (vector unsigned char)__builtin_altivec_vsr((vector int)a, (vector int)b);
+ return (vector unsigned char)
+ __builtin_altivec_vsr((vector int)a, (vector int)b);
}
static vector unsigned char __ATTRS_o_ai
vec_srl(vector unsigned char a, vector unsigned int b)
{
- return (vector unsigned char)__builtin_altivec_vsr((vector int)a, (vector int)b);
+ return (vector unsigned char)
+ __builtin_altivec_vsr((vector int)a, (vector int)b);
}
static vector bool char __ATTRS_o_ai
static vector unsigned short __ATTRS_o_ai
vec_srl(vector unsigned short a, vector unsigned char b)
{
- return (vector unsigned short)__builtin_altivec_vsr((vector int)a, (vector int)b);
+ return (vector unsigned short)
+ __builtin_altivec_vsr((vector int)a, (vector int)b);
}
static vector unsigned short __ATTRS_o_ai
vec_srl(vector unsigned short a, vector unsigned short b)
{
- return (vector unsigned short)__builtin_altivec_vsr((vector int)a, (vector int)b);
+ return (vector unsigned short)
+ __builtin_altivec_vsr((vector int)a, (vector int)b);
}
static vector unsigned short __ATTRS_o_ai
vec_srl(vector unsigned short a, vector unsigned int b)
{
- return (vector unsigned short)__builtin_altivec_vsr((vector int)a, (vector int)b);
+ return (vector unsigned short)
+ __builtin_altivec_vsr((vector int)a, (vector int)b);
}
static vector bool short __ATTRS_o_ai
static vector unsigned int __ATTRS_o_ai
vec_srl(vector unsigned int a, vector unsigned char b)
{
- return (vector unsigned int)__builtin_altivec_vsr((vector int)a, (vector int)b);
+ return (vector unsigned int)
+ __builtin_altivec_vsr((vector int)a, (vector int)b);
}
static vector unsigned int __ATTRS_o_ai
vec_srl(vector unsigned int a, vector unsigned short b)
{
- return (vector unsigned int)__builtin_altivec_vsr((vector int)a, (vector int)b);
+ return (vector unsigned int)
+ __builtin_altivec_vsr((vector int)a, (vector int)b);
}
static vector unsigned int __ATTRS_o_ai
vec_srl(vector unsigned int a, vector unsigned int b)
{
- return (vector unsigned int)__builtin_altivec_vsr((vector int)a, (vector int)b);
+ return (vector unsigned int)
+ __builtin_altivec_vsr((vector int)a, (vector int)b);
}
static vector bool int __ATTRS_o_ai
static vector signed char __ATTRS_o_ai
vec_vsr(vector signed char a, vector unsigned char b)
{
- return (vector signed char)__builtin_altivec_vsr((vector int)a, (vector int)b);
+ return (vector signed char)
+ __builtin_altivec_vsr((vector int)a, (vector int)b);
}
static vector signed char __ATTRS_o_ai
vec_vsr(vector signed char a, vector unsigned short b)
{
- return (vector signed char)__builtin_altivec_vsr((vector int)a, (vector int)b);
+ return (vector signed char)
+ __builtin_altivec_vsr((vector int)a, (vector int)b);
}
static vector signed char __ATTRS_o_ai
vec_vsr(vector signed char a, vector unsigned int b)
{
- return (vector signed char)__builtin_altivec_vsr((vector int)a, (vector int)b);
+ return (vector signed char)
+ __builtin_altivec_vsr((vector int)a, (vector int)b);
}
static vector unsigned char __ATTRS_o_ai
vec_vsr(vector unsigned char a, vector unsigned char b)
{
- return (vector unsigned char)__builtin_altivec_vsr((vector int)a, (vector int)b);
+ return (vector unsigned char)
+ __builtin_altivec_vsr((vector int)a, (vector int)b);
}
static vector unsigned char __ATTRS_o_ai
vec_vsr(vector unsigned char a, vector unsigned short b)
{
- return (vector unsigned char)__builtin_altivec_vsr((vector int)a, (vector int)b);
+ return (vector unsigned char)
+ __builtin_altivec_vsr((vector int)a, (vector int)b);
}
static vector unsigned char __ATTRS_o_ai
vec_vsr(vector unsigned char a, vector unsigned int b)
{
- return (vector unsigned char)__builtin_altivec_vsr((vector int)a, (vector int)b);
+ return (vector unsigned char)
+ __builtin_altivec_vsr((vector int)a, (vector int)b);
}
static vector bool char __ATTRS_o_ai
static vector unsigned short __ATTRS_o_ai
vec_vsr(vector unsigned short a, vector unsigned char b)
{
- return (vector unsigned short)__builtin_altivec_vsr((vector int)a, (vector int)b);
+ return (vector unsigned short)
+ __builtin_altivec_vsr((vector int)a, (vector int)b);
}
static vector unsigned short __ATTRS_o_ai
vec_vsr(vector unsigned short a, vector unsigned short b)
{
- return (vector unsigned short)__builtin_altivec_vsr((vector int)a, (vector int)b);
+ return (vector unsigned short)
+ __builtin_altivec_vsr((vector int)a, (vector int)b);
}
static vector unsigned short __ATTRS_o_ai
vec_vsr(vector unsigned short a, vector unsigned int b)
{
- return (vector unsigned short)__builtin_altivec_vsr((vector int)a, (vector int)b);
+ return (vector unsigned short)
+ __builtin_altivec_vsr((vector int)a, (vector int)b);
}
static vector bool short __ATTRS_o_ai
static vector unsigned int __ATTRS_o_ai
vec_vsr(vector unsigned int a, vector unsigned char b)
{
- return (vector unsigned int)__builtin_altivec_vsr((vector int)a, (vector int)b);
+ return (vector unsigned int)
+ __builtin_altivec_vsr((vector int)a, (vector int)b);
}
static vector unsigned int __ATTRS_o_ai
vec_vsr(vector unsigned int a, vector unsigned short b)
{
- return (vector unsigned int)__builtin_altivec_vsr((vector int)a, (vector int)b);
+ return (vector unsigned int)
+ __builtin_altivec_vsr((vector int)a, (vector int)b);
}
static vector unsigned int __ATTRS_o_ai
vec_vsr(vector unsigned int a, vector unsigned int b)
{
- return (vector unsigned int)__builtin_altivec_vsr((vector int)a, (vector int)b);
+ return (vector unsigned int)
+ __builtin_altivec_vsr((vector int)a, (vector int)b);
}
static vector bool int __ATTRS_o_ai
static vector signed char __ATTRS_o_ai
vec_sro(vector signed char a, vector signed char b)
{
- return (vector signed char)__builtin_altivec_vsro((vector int)a, (vector int)b);
+ return (vector signed char)
+ __builtin_altivec_vsro((vector int)a, (vector int)b);
}
static vector signed char __ATTRS_o_ai
vec_sro(vector signed char a, vector unsigned char b)
{
- return (vector signed char)__builtin_altivec_vsro((vector int)a, (vector int)b);
+ return (vector signed char)
+ __builtin_altivec_vsro((vector int)a, (vector int)b);
}
static vector unsigned char __ATTRS_o_ai
vec_sro(vector unsigned char a, vector signed char b)
{
- return (vector unsigned char)__builtin_altivec_vsro((vector int)a, (vector int)b);
+ return (vector unsigned char)
+ __builtin_altivec_vsro((vector int)a, (vector int)b);
}
static vector unsigned char __ATTRS_o_ai
vec_sro(vector unsigned char a, vector unsigned char b)
{
- return (vector unsigned char)__builtin_altivec_vsro((vector int)a, (vector int)b);
+ return (vector unsigned char)
+ __builtin_altivec_vsro((vector int)a, (vector int)b);
}
static vector short __ATTRS_o_ai
static vector unsigned short __ATTRS_o_ai
vec_sro(vector unsigned short a, vector signed char b)
{
- return (vector unsigned short)__builtin_altivec_vsro((vector int)a, (vector int)b);
+ return (vector unsigned short)
+ __builtin_altivec_vsro((vector int)a, (vector int)b);
}
static vector unsigned short __ATTRS_o_ai
vec_sro(vector unsigned short a, vector unsigned char b)
{
- return (vector unsigned short)__builtin_altivec_vsro((vector int)a, (vector int)b);
+ return (vector unsigned short)
+ __builtin_altivec_vsro((vector int)a, (vector int)b);
}
static vector pixel __ATTRS_o_ai
static vector unsigned int __ATTRS_o_ai
vec_sro(vector unsigned int a, vector signed char b)
{
- return (vector unsigned int)__builtin_altivec_vsro((vector int)a, (vector int)b);
+ return (vector unsigned int)
+ __builtin_altivec_vsro((vector int)a, (vector int)b);
}
static vector unsigned int __ATTRS_o_ai
vec_sro(vector unsigned int a, vector unsigned char b)
{
- return (vector unsigned int)__builtin_altivec_vsro((vector int)a, (vector int)b);
+ return (vector unsigned int)
+ __builtin_altivec_vsro((vector int)a, (vector int)b);
}
static vector float __ATTRS_o_ai
static vector signed char __ATTRS_o_ai
vec_vsro(vector signed char a, vector signed char b)
{
- return (vector signed char)__builtin_altivec_vsro((vector int)a, (vector int)b);
+ return (vector signed char)
+ __builtin_altivec_vsro((vector int)a, (vector int)b);
}
static vector signed char __ATTRS_o_ai
vec_vsro(vector signed char a, vector unsigned char b)
{
- return (vector signed char)__builtin_altivec_vsro((vector int)a, (vector int)b);
+ return (vector signed char)
+ __builtin_altivec_vsro((vector int)a, (vector int)b);
}
static vector unsigned char __ATTRS_o_ai
vec_vsro(vector unsigned char a, vector signed char b)
{
- return (vector unsigned char)__builtin_altivec_vsro((vector int)a, (vector int)b);
+ return (vector unsigned char)
+ __builtin_altivec_vsro((vector int)a, (vector int)b);
}
static vector unsigned char __ATTRS_o_ai
vec_vsro(vector unsigned char a, vector unsigned char b)
{
- return (vector unsigned char)__builtin_altivec_vsro((vector int)a, (vector int)b);
+ return (vector unsigned char)
+ __builtin_altivec_vsro((vector int)a, (vector int)b);
}
static vector short __ATTRS_o_ai
static vector unsigned short __ATTRS_o_ai
vec_vsro(vector unsigned short a, vector signed char b)
{
- return (vector unsigned short)__builtin_altivec_vsro((vector int)a, (vector int)b);
+ return (vector unsigned short)
+ __builtin_altivec_vsro((vector int)a, (vector int)b);
}
static vector unsigned short __ATTRS_o_ai
vec_vsro(vector unsigned short a, vector unsigned char b)
{
- return (vector unsigned short)__builtin_altivec_vsro((vector int)a, (vector int)b);
+ return (vector unsigned short)
+ __builtin_altivec_vsro((vector int)a, (vector int)b);
}
static vector pixel __ATTRS_o_ai
static vector unsigned int __ATTRS_o_ai
vec_vsro(vector unsigned int a, vector signed char b)
{
- return (vector unsigned int)__builtin_altivec_vsro((vector int)a, (vector int)b);
+ return (vector unsigned int)
+ __builtin_altivec_vsro((vector int)a, (vector int)b);
}
static vector unsigned int __ATTRS_o_ai
vec_vsro(vector unsigned int a, vector unsigned char b)
{
- return (vector unsigned int)__builtin_altivec_vsro((vector int)a, (vector int)b);
+ return (vector unsigned int)
+ __builtin_altivec_vsro((vector int)a, (vector int)b);
}
static vector float __ATTRS_o_ai
return (vector float)res;
}
-/* ------------------------------ predicates ------------------------------------ */
+/* ------------------------ extensions for CBEA ----------------------------- */
+/* ----------------------------- predicates --------------------------------- */
/* vec_all_eq */
static int __ATTRS_o_ai
vec_all_eq(vector unsigned short a, vector unsigned short b)
{
- return __builtin_altivec_vcmpequh_p(__CR6_LT, (vector short)a, (vector short)b);
+ return
+ __builtin_altivec_vcmpequh_p(__CR6_LT, (vector short)a, (vector short)b);
}
static int __ATTRS_o_ai
vec_all_eq(vector unsigned short a, vector bool short b)
{
- return __builtin_altivec_vcmpequh_p(__CR6_LT, (vector short)a, (vector short)b);
+ return
+ __builtin_altivec_vcmpequh_p(__CR6_LT, (vector short)a, (vector short)b);
}
static int __ATTRS_o_ai
vec_all_eq(vector bool short a, vector short b)
{
- return __builtin_altivec_vcmpequh_p(__CR6_LT, (vector short)a, (vector short)b);
+ return
+ __builtin_altivec_vcmpequh_p(__CR6_LT, (vector short)a, (vector short)b);
}
static int __ATTRS_o_ai
vec_all_eq(vector bool short a, vector unsigned short b)
{
- return __builtin_altivec_vcmpequh_p(__CR6_LT, (vector short)a, (vector short)b);
+ return
+ __builtin_altivec_vcmpequh_p(__CR6_LT, (vector short)a, (vector short)b);
}
static int __ATTRS_o_ai
vec_all_eq(vector bool short a, vector bool short b)
{
- return __builtin_altivec_vcmpequh_p(__CR6_LT, (vector short)a, (vector short)b);
+ return
+ __builtin_altivec_vcmpequh_p(__CR6_LT, (vector short)a, (vector short)b);
}
static int __ATTRS_o_ai
vec_all_eq(vector pixel a, vector pixel b)
{
- return __builtin_altivec_vcmpequh_p(__CR6_LT, (vector short)a, (vector short)b);
+ return
+ __builtin_altivec_vcmpequh_p(__CR6_LT, (vector short)a, (vector short)b);
}
static int __ATTRS_o_ai
static int __ATTRS_o_ai
vec_all_ge(vector bool char a, vector signed char b)
{
- return __builtin_altivec_vcmpgtub_p(__CR6_EQ, (vector unsigned char)b,
- (vector unsigned char)a);
+ return __builtin_altivec_vcmpgtub_p(__CR6_EQ,
+ (vector unsigned char)b,
+ (vector unsigned char)a);
}
static int __ATTRS_o_ai
static int __ATTRS_o_ai
vec_all_ge(vector bool char a, vector bool char b)
{
- return __builtin_altivec_vcmpgtub_p(__CR6_EQ, (vector unsigned char)b,
- (vector unsigned char)a);
+ return __builtin_altivec_vcmpgtub_p(__CR6_EQ,
+ (vector unsigned char)b,
+ (vector unsigned char)a);
}
static int __ATTRS_o_ai
static int __ATTRS_o_ai
vec_all_ge(vector bool short a, vector short b)
{
- return __builtin_altivec_vcmpgtuh_p(__CR6_EQ, (vector unsigned short)b,
- (vector unsigned short)a);
+ return __builtin_altivec_vcmpgtuh_p(__CR6_EQ,
+ (vector unsigned short)b,
+ (vector unsigned short)a);
}
static int __ATTRS_o_ai
static int __ATTRS_o_ai
vec_all_ge(vector bool short a, vector bool short b)
{
- return __builtin_altivec_vcmpgtuh_p(__CR6_EQ, (vector unsigned short)b,
- (vector unsigned short)a);
+ return __builtin_altivec_vcmpgtuh_p(__CR6_EQ,
+ (vector unsigned short)b,
+ (vector unsigned short)a);
}
static int __ATTRS_o_ai
static int __ATTRS_o_ai
vec_all_ge(vector bool int a, vector int b)
{
- return __builtin_altivec_vcmpgtuw_p(__CR6_EQ, (vector unsigned int)b,
- (vector unsigned int)a);
+ return __builtin_altivec_vcmpgtuw_p(__CR6_EQ,
+ (vector unsigned int)b,
+ (vector unsigned int)a);
}
static int __ATTRS_o_ai
static int __ATTRS_o_ai
vec_all_ge(vector bool int a, vector bool int b)
{
- return __builtin_altivec_vcmpgtuw_p(__CR6_EQ, (vector unsigned int)b,
- (vector unsigned int)a);
+ return __builtin_altivec_vcmpgtuw_p(__CR6_EQ,
+ (vector unsigned int)b,
+ (vector unsigned int)a);
}
static int __ATTRS_o_ai
static int __ATTRS_o_ai
vec_all_gt(vector bool char a, vector signed char b)
{
- return __builtin_altivec_vcmpgtub_p(__CR6_LT, (vector unsigned char)a,
- (vector unsigned char)b);
+ return __builtin_altivec_vcmpgtub_p(__CR6_LT,
+ (vector unsigned char)a,
+ (vector unsigned char)b);
}
static int __ATTRS_o_ai
static int __ATTRS_o_ai
vec_all_gt(vector bool char a, vector bool char b)
{
- return __builtin_altivec_vcmpgtub_p(__CR6_LT, (vector unsigned char)a,
- (vector unsigned char)b);
+ return __builtin_altivec_vcmpgtub_p(__CR6_LT,
+ (vector unsigned char)a,
+ (vector unsigned char)b);
}
static int __ATTRS_o_ai
static int __ATTRS_o_ai
vec_all_gt(vector bool short a, vector short b)
{
- return __builtin_altivec_vcmpgtuh_p(__CR6_LT, (vector unsigned short)a,
- (vector unsigned short)b);
+ return __builtin_altivec_vcmpgtuh_p(__CR6_LT,
+ (vector unsigned short)a,
+ (vector unsigned short)b);
}
static int __ATTRS_o_ai
static int __ATTRS_o_ai
vec_all_gt(vector bool short a, vector bool short b)
{
- return __builtin_altivec_vcmpgtuh_p(__CR6_LT, (vector unsigned short)a,
- (vector unsigned short)b);
+ return __builtin_altivec_vcmpgtuh_p(__CR6_LT,
+ (vector unsigned short)a,
+ (vector unsigned short)b);
}
static int __ATTRS_o_ai
static int __ATTRS_o_ai
vec_all_gt(vector bool int a, vector int b)
{
- return __builtin_altivec_vcmpgtuw_p(__CR6_LT, (vector unsigned int)a,
- (vector unsigned int)b);
+ return __builtin_altivec_vcmpgtuw_p(__CR6_LT,
+ (vector unsigned int)a,
+ (vector unsigned int)b);
}
static int __ATTRS_o_ai
static int __ATTRS_o_ai
vec_all_gt(vector bool int a, vector bool int b)
{
- return __builtin_altivec_vcmpgtuw_p(__CR6_LT, (vector unsigned int)a,
- (vector unsigned int)b);
+ return __builtin_altivec_vcmpgtuw_p(__CR6_LT,
+ (vector unsigned int)a,
+ (vector unsigned int)b);
}
static int __ATTRS_o_ai
static int __ATTRS_o_ai
vec_all_le(vector bool char a, vector signed char b)
{
- return __builtin_altivec_vcmpgtub_p(__CR6_EQ, (vector unsigned char)a,
- (vector unsigned char)b);
+ return __builtin_altivec_vcmpgtub_p(__CR6_EQ,
+ (vector unsigned char)a,
+ (vector unsigned char)b);
}
static int __ATTRS_o_ai
static int __ATTRS_o_ai
vec_all_le(vector bool char a, vector bool char b)
{
- return __builtin_altivec_vcmpgtub_p(__CR6_EQ, (vector unsigned char)a,
- (vector unsigned char)b);
+ return __builtin_altivec_vcmpgtub_p(__CR6_EQ,
+ (vector unsigned char)a,
+ (vector unsigned char)b);
}
static int __ATTRS_o_ai
static int __ATTRS_o_ai
vec_all_le(vector bool short a, vector short b)
{
- return __builtin_altivec_vcmpgtuh_p(__CR6_EQ, (vector unsigned short)a,
- (vector unsigned short)b);
+ return __builtin_altivec_vcmpgtuh_p(__CR6_EQ,
+ (vector unsigned short)a,
+ (vector unsigned short)b);
}
static int __ATTRS_o_ai
static int __ATTRS_o_ai
vec_all_le(vector bool short a, vector bool short b)
{
- return __builtin_altivec_vcmpgtuh_p(__CR6_EQ, (vector unsigned short)a,
- (vector unsigned short)b);
+ return __builtin_altivec_vcmpgtuh_p(__CR6_EQ,
+ (vector unsigned short)a,
+ (vector unsigned short)b);
}
static int __ATTRS_o_ai
static int __ATTRS_o_ai
vec_all_le(vector bool int a, vector int b)
{
- return __builtin_altivec_vcmpgtuw_p(__CR6_EQ, (vector unsigned int)a,
- (vector unsigned int)b);
+ return __builtin_altivec_vcmpgtuw_p(__CR6_EQ,
+ (vector unsigned int)a,
+ (vector unsigned int)b);
}
static int __ATTRS_o_ai
static int __ATTRS_o_ai
vec_all_le(vector bool int a, vector bool int b)
{
- return __builtin_altivec_vcmpgtuw_p(__CR6_EQ, (vector unsigned int)a,
- (vector unsigned int)b);
+ return __builtin_altivec_vcmpgtuw_p(__CR6_EQ,
+ (vector unsigned int)a,
+ (vector unsigned int)b);
}
static int __ATTRS_o_ai
static int __ATTRS_o_ai
vec_all_lt(vector bool char a, vector signed char b)
{
- return __builtin_altivec_vcmpgtub_p(__CR6_LT, (vector unsigned char)b,
- (vector unsigned char)a);
+ return __builtin_altivec_vcmpgtub_p(__CR6_LT,
+ (vector unsigned char)b,
+ (vector unsigned char)a);
}
static int __ATTRS_o_ai
static int __ATTRS_o_ai
vec_all_lt(vector bool char a, vector bool char b)
{
- return __builtin_altivec_vcmpgtub_p(__CR6_LT, (vector unsigned char)b,
- (vector unsigned char)a);
+ return __builtin_altivec_vcmpgtub_p(__CR6_LT,
+ (vector unsigned char)b,
+ (vector unsigned char)a);
}
static int __ATTRS_o_ai
static int __ATTRS_o_ai
vec_all_lt(vector bool short a, vector short b)
{
- return __builtin_altivec_vcmpgtuh_p(__CR6_LT, (vector unsigned short)b,
- (vector unsigned short)a);
+ return __builtin_altivec_vcmpgtuh_p(__CR6_LT,
+ (vector unsigned short)b,
+ (vector unsigned short)a);
}
static int __ATTRS_o_ai
static int __ATTRS_o_ai
vec_all_lt(vector bool short a, vector bool short b)
{
- return __builtin_altivec_vcmpgtuh_p(__CR6_LT, (vector unsigned short)b,
- (vector unsigned short)a);
+ return __builtin_altivec_vcmpgtuh_p(__CR6_LT,
+ (vector unsigned short)b,
+ (vector unsigned short)a);
}
static int __ATTRS_o_ai
static int __ATTRS_o_ai
vec_all_lt(vector bool int a, vector int b)
{
- return __builtin_altivec_vcmpgtuw_p(__CR6_LT, (vector unsigned int)b,
- (vector unsigned int)a);
+ return __builtin_altivec_vcmpgtuw_p(__CR6_LT,
+ (vector unsigned int)b,
+ (vector unsigned int)a);
}
static int __ATTRS_o_ai
static int __ATTRS_o_ai
vec_all_lt(vector bool int a, vector bool int b)
{
- return __builtin_altivec_vcmpgtuw_p(__CR6_LT, (vector unsigned int)b,
- (vector unsigned int)a);
+ return __builtin_altivec_vcmpgtuw_p(__CR6_LT,
+ (vector unsigned int)b,
+ (vector unsigned int)a);
}
static int __ATTRS_o_ai
static int __ATTRS_o_ai
vec_all_ne(vector unsigned short a, vector unsigned short b)
{
- return __builtin_altivec_vcmpequh_p(__CR6_EQ, (vector short)a, (vector short)b);
+ return
+ __builtin_altivec_vcmpequh_p(__CR6_EQ, (vector short)a, (vector short)b);
}
static int __ATTRS_o_ai
vec_all_ne(vector unsigned short a, vector bool short b)
{
- return __builtin_altivec_vcmpequh_p(__CR6_EQ, (vector short)a, (vector short)b);
+ return
+ __builtin_altivec_vcmpequh_p(__CR6_EQ, (vector short)a, (vector short)b);
}
static int __ATTRS_o_ai
vec_all_ne(vector bool short a, vector short b)
{
- return __builtin_altivec_vcmpequh_p(__CR6_EQ, (vector short)a, (vector short)b);
+ return
+ __builtin_altivec_vcmpequh_p(__CR6_EQ, (vector short)a, (vector short)b);
}
static int __ATTRS_o_ai
vec_all_ne(vector bool short a, vector unsigned short b)
{
- return __builtin_altivec_vcmpequh_p(__CR6_EQ, (vector short)a, (vector short)b);
+ return
+ __builtin_altivec_vcmpequh_p(__CR6_EQ, (vector short)a, (vector short)b);
}
static int __ATTRS_o_ai
vec_all_ne(vector bool short a, vector bool short b)
{
- return __builtin_altivec_vcmpequh_p(__CR6_EQ, (vector short)a, (vector short)b);
+ return
+ __builtin_altivec_vcmpequh_p(__CR6_EQ, (vector short)a, (vector short)b);
}
static int __ATTRS_o_ai
vec_all_ne(vector pixel a, vector pixel b)
{
- return __builtin_altivec_vcmpequh_p(__CR6_EQ, (vector short)a, (vector short)b);
+ return
+ __builtin_altivec_vcmpequh_p(__CR6_EQ, (vector short)a, (vector short)b);
}
static int __ATTRS_o_ai
static int __ATTRS_o_ai
vec_any_eq(vector signed char a, vector signed char b)
{
- return __builtin_altivec_vcmpequb_p(__CR6_EQ_REV, (vector char)a, (vector char)b);
+ return
+ __builtin_altivec_vcmpequb_p(__CR6_EQ_REV, (vector char)a, (vector char)b);
}
static int __ATTRS_o_ai
vec_any_eq(vector signed char a, vector bool char b)
{
- return __builtin_altivec_vcmpequb_p(__CR6_EQ_REV, (vector char)a, (vector char)b);
+ return
+ __builtin_altivec_vcmpequb_p(__CR6_EQ_REV, (vector char)a, (vector char)b);
}
static int __ATTRS_o_ai
vec_any_eq(vector unsigned char a, vector unsigned char b)
{
- return __builtin_altivec_vcmpequb_p(__CR6_EQ_REV, (vector char)a, (vector char)b);
+ return
+ __builtin_altivec_vcmpequb_p(__CR6_EQ_REV, (vector char)a, (vector char)b);
}
static int __ATTRS_o_ai
vec_any_eq(vector unsigned char a, vector bool char b)
{
- return __builtin_altivec_vcmpequb_p(__CR6_EQ_REV, (vector char)a, (vector char)b);
+ return
+ __builtin_altivec_vcmpequb_p(__CR6_EQ_REV, (vector char)a, (vector char)b);
}
static int __ATTRS_o_ai
vec_any_eq(vector bool char a, vector signed char b)
{
- return __builtin_altivec_vcmpequb_p(__CR6_EQ_REV, (vector char)a, (vector char)b);
+ return
+ __builtin_altivec_vcmpequb_p(__CR6_EQ_REV, (vector char)a, (vector char)b);
}
static int __ATTRS_o_ai
vec_any_eq(vector bool char a, vector unsigned char b)
{
- return __builtin_altivec_vcmpequb_p(__CR6_EQ_REV, (vector char)a, (vector char)b);
+ return
+ __builtin_altivec_vcmpequb_p(__CR6_EQ_REV, (vector char)a, (vector char)b);
}
static int __ATTRS_o_ai
vec_any_eq(vector bool char a, vector bool char b)
{
- return __builtin_altivec_vcmpequb_p(__CR6_EQ_REV, (vector char)a, (vector char)b);
+ return
+ __builtin_altivec_vcmpequb_p(__CR6_EQ_REV, (vector char)a, (vector char)b);
}
static int __ATTRS_o_ai
static int __ATTRS_o_ai
vec_any_eq(vector unsigned short a, vector unsigned short b)
{
- return __builtin_altivec_vcmpequh_p(__CR6_EQ_REV, (vector short)a, (vector short)b);
+ return __builtin_altivec_vcmpequh_p(__CR6_EQ_REV,
+ (vector short)a,
+ (vector short)b);
}
static int __ATTRS_o_ai
vec_any_eq(vector unsigned short a, vector bool short b)
{
- return __builtin_altivec_vcmpequh_p(__CR6_EQ_REV, (vector short)a, (vector short)b);
+ return __builtin_altivec_vcmpequh_p(__CR6_EQ_REV,
+ (vector short)a,
+ (vector short)b);
}
static int __ATTRS_o_ai
vec_any_eq(vector bool short a, vector short b)
{
- return __builtin_altivec_vcmpequh_p(__CR6_EQ_REV, (vector short)a, (vector short)b);
+ return __builtin_altivec_vcmpequh_p(__CR6_EQ_REV,
+ (vector short)a,
+ (vector short)b);
}
static int __ATTRS_o_ai
vec_any_eq(vector bool short a, vector unsigned short b)
{
- return __builtin_altivec_vcmpequh_p(__CR6_EQ_REV, (vector short)a, (vector short)b);
+ return __builtin_altivec_vcmpequh_p(__CR6_EQ_REV,
+ (vector short)a,
+ (vector short)b);
}
static int __ATTRS_o_ai
vec_any_eq(vector bool short a, vector bool short b)
{
- return __builtin_altivec_vcmpequh_p(__CR6_EQ_REV, (vector short)a, (vector short)b);
+ return __builtin_altivec_vcmpequh_p(__CR6_EQ_REV,
+ (vector short)a,
+ (vector short)b);
}
static int __ATTRS_o_ai
vec_any_eq(vector pixel a, vector pixel b)
{
- return __builtin_altivec_vcmpequh_p(__CR6_EQ_REV, (vector short)a, (vector short)b);
+ return __builtin_altivec_vcmpequh_p(__CR6_EQ_REV,
+ (vector short)a,
+ (vector short)b);
}
static int __ATTRS_o_ai
static int __ATTRS_o_ai
vec_any_eq(vector unsigned int a, vector unsigned int b)
{
- return __builtin_altivec_vcmpequw_p(__CR6_EQ_REV, (vector int)a, (vector int)b);
+ return
+ __builtin_altivec_vcmpequw_p(__CR6_EQ_REV, (vector int)a, (vector int)b);
}
static int __ATTRS_o_ai
vec_any_eq(vector unsigned int a, vector bool int b)
{
- return __builtin_altivec_vcmpequw_p(__CR6_EQ_REV, (vector int)a, (vector int)b);
+ return
+ __builtin_altivec_vcmpequw_p(__CR6_EQ_REV, (vector int)a, (vector int)b);
}
static int __ATTRS_o_ai
vec_any_eq(vector bool int a, vector int b)
{
- return __builtin_altivec_vcmpequw_p(__CR6_EQ_REV, (vector int)a, (vector int)b);
+ return
+ __builtin_altivec_vcmpequw_p(__CR6_EQ_REV, (vector int)a, (vector int)b);
}
static int __ATTRS_o_ai
vec_any_eq(vector bool int a, vector unsigned int b)
{
- return __builtin_altivec_vcmpequw_p(__CR6_EQ_REV, (vector int)a, (vector int)b);
+ return
+ __builtin_altivec_vcmpequw_p(__CR6_EQ_REV, (vector int)a, (vector int)b);
}
static int __ATTRS_o_ai
vec_any_eq(vector bool int a, vector bool int b)
{
- return __builtin_altivec_vcmpequw_p(__CR6_EQ_REV, (vector int)a, (vector int)b);
+ return
+ __builtin_altivec_vcmpequw_p(__CR6_EQ_REV, (vector int)a, (vector int)b);
}
static int __ATTRS_o_ai
static int __ATTRS_o_ai
vec_any_ge(vector bool char a, vector signed char b)
{
- return __builtin_altivec_vcmpgtub_p(__CR6_LT_REV, (vector unsigned char)b,
- (vector unsigned char)a);
+ return __builtin_altivec_vcmpgtub_p(__CR6_LT_REV,
+ (vector unsigned char)b,
+ (vector unsigned char)a);
}
static int __ATTRS_o_ai
static int __ATTRS_o_ai
vec_any_ge(vector bool char a, vector bool char b)
{
- return __builtin_altivec_vcmpgtub_p(__CR6_LT_REV, (vector unsigned char)b,
- (vector unsigned char)a);
+ return __builtin_altivec_vcmpgtub_p(__CR6_LT_REV,
+ (vector unsigned char)b,
+ (vector unsigned char)a);
}
static int __ATTRS_o_ai
static int __ATTRS_o_ai
vec_any_ge(vector unsigned short a, vector bool short b)
{
- return __builtin_altivec_vcmpgtuh_p(__CR6_LT_REV, (vector unsigned short)b, a);
+ return
+ __builtin_altivec_vcmpgtuh_p(__CR6_LT_REV, (vector unsigned short)b, a);
}
static int __ATTRS_o_ai
vec_any_ge(vector bool short a, vector short b)
{
- return __builtin_altivec_vcmpgtuh_p(__CR6_LT_REV, (vector unsigned short)b,
- (vector unsigned short)a);
+ return __builtin_altivec_vcmpgtuh_p(__CR6_LT_REV,
+ (vector unsigned short)b,
+ (vector unsigned short)a);
}
static int __ATTRS_o_ai
static int __ATTRS_o_ai
vec_any_ge(vector bool short a, vector bool short b)
{
- return __builtin_altivec_vcmpgtuh_p(__CR6_LT_REV, (vector unsigned short)b,
- (vector unsigned short)a);
+ return __builtin_altivec_vcmpgtuh_p(__CR6_LT_REV,
+ (vector unsigned short)b,
+ (vector unsigned short)a);
}
static int __ATTRS_o_ai
static int __ATTRS_o_ai
vec_any_ge(vector bool int a, vector int b)
{
- return __builtin_altivec_vcmpgtuw_p(__CR6_LT_REV, (vector unsigned int)b,
- (vector unsigned int)a);
+ return __builtin_altivec_vcmpgtuw_p(__CR6_LT_REV,
+ (vector unsigned int)b,
+ (vector unsigned int)a);
}
static int __ATTRS_o_ai
static int __ATTRS_o_ai
vec_any_ge(vector bool int a, vector bool int b)
{
- return __builtin_altivec_vcmpgtuw_p(__CR6_LT_REV, (vector unsigned int)b,
- (vector unsigned int)a);
+ return __builtin_altivec_vcmpgtuw_p(__CR6_LT_REV,
+ (vector unsigned int)b,
+ (vector unsigned int)a);
}
static int __ATTRS_o_ai
static int __ATTRS_o_ai
vec_any_gt(vector bool char a, vector signed char b)
{
- return __builtin_altivec_vcmpgtub_p(__CR6_EQ_REV, (vector unsigned char)a,
- (vector unsigned char)b);
+ return __builtin_altivec_vcmpgtub_p(__CR6_EQ_REV,
+ (vector unsigned char)a,
+ (vector unsigned char)b);
}
static int __ATTRS_o_ai
static int __ATTRS_o_ai
vec_any_gt(vector bool char a, vector bool char b)
{
- return __builtin_altivec_vcmpgtub_p(__CR6_EQ_REV, (vector unsigned char)a,
- (vector unsigned char)b);
+ return __builtin_altivec_vcmpgtub_p(__CR6_EQ_REV,
+ (vector unsigned char)a,
+ (vector unsigned char)b);
}
static int __ATTRS_o_ai
static int __ATTRS_o_ai
vec_any_gt(vector bool short a, vector short b)
{
- return __builtin_altivec_vcmpgtuh_p(__CR6_EQ_REV, (vector unsigned short)a,
- (vector unsigned short)b);
+ return __builtin_altivec_vcmpgtuh_p(__CR6_EQ_REV,
+ (vector unsigned short)a,
+ (vector unsigned short)b);
}
static int __ATTRS_o_ai
vec_any_gt(vector bool short a, vector unsigned short b)
{
- return __builtin_altivec_vcmpgtuh_p(__CR6_EQ_REV, (vector unsigned short)a, b);
+ return
+ __builtin_altivec_vcmpgtuh_p(__CR6_EQ_REV, (vector unsigned short)a, b);
}
static int __ATTRS_o_ai
vec_any_gt(vector bool short a, vector bool short b)
{
- return __builtin_altivec_vcmpgtuh_p(__CR6_EQ_REV, (vector unsigned short)a,
- (vector unsigned short)b);
+ return __builtin_altivec_vcmpgtuh_p(__CR6_EQ_REV,
+ (vector unsigned short)a,
+ (vector unsigned short)b);
}
static int __ATTRS_o_ai
static int __ATTRS_o_ai
vec_any_gt(vector bool int a, vector int b)
{
- return __builtin_altivec_vcmpgtuw_p(__CR6_EQ_REV, (vector unsigned int)a,
- (vector unsigned int)b);
+ return __builtin_altivec_vcmpgtuw_p(__CR6_EQ_REV,
+ (vector unsigned int)a,
+ (vector unsigned int)b);
}
static int __ATTRS_o_ai
static int __ATTRS_o_ai
vec_any_gt(vector bool int a, vector bool int b)
{
- return __builtin_altivec_vcmpgtuw_p(__CR6_EQ_REV, (vector unsigned int)a,
- (vector unsigned int)b);
+ return __builtin_altivec_vcmpgtuw_p(__CR6_EQ_REV,
+ (vector unsigned int)a,
+ (vector unsigned int)b);
}
static int __ATTRS_o_ai
static int __ATTRS_o_ai
vec_any_le(vector bool char a, vector signed char b)
{
- return __builtin_altivec_vcmpgtub_p(__CR6_LT_REV, (vector unsigned char)a,
- (vector unsigned char)b);
+ return __builtin_altivec_vcmpgtub_p(__CR6_LT_REV,
+ (vector unsigned char)a,
+ (vector unsigned char)b);
}
static int __ATTRS_o_ai
static int __ATTRS_o_ai
vec_any_le(vector bool char a, vector bool char b)
{
- return __builtin_altivec_vcmpgtub_p(__CR6_LT_REV, (vector unsigned char)a,
- (vector unsigned char)b);
+ return __builtin_altivec_vcmpgtub_p(__CR6_LT_REV,
+ (vector unsigned char)a,
+ (vector unsigned char)b);
}
static int __ATTRS_o_ai
static int __ATTRS_o_ai
vec_any_le(vector bool short a, vector short b)
{
- return __builtin_altivec_vcmpgtuh_p(__CR6_LT_REV, (vector unsigned short)a,
- (vector unsigned short)b);
+ return __builtin_altivec_vcmpgtuh_p(__CR6_LT_REV,
+ (vector unsigned short)a,
+ (vector unsigned short)b);
}
static int __ATTRS_o_ai
static int __ATTRS_o_ai
vec_any_le(vector bool short a, vector bool short b)
{
- return __builtin_altivec_vcmpgtuh_p(__CR6_LT_REV, (vector unsigned short)a,
- (vector unsigned short)b);
+ return __builtin_altivec_vcmpgtuh_p(__CR6_LT_REV,
+ (vector unsigned short)a,
+ (vector unsigned short)b);
}
static int __ATTRS_o_ai
static int __ATTRS_o_ai
vec_any_le(vector bool int a, vector int b)
{
- return __builtin_altivec_vcmpgtuw_p(__CR6_LT_REV, (vector unsigned int)a,
- (vector unsigned int)b);
+ return __builtin_altivec_vcmpgtuw_p(__CR6_LT_REV,
+ (vector unsigned int)a,
+ (vector unsigned int)b);
}
static int __ATTRS_o_ai
static int __ATTRS_o_ai
vec_any_le(vector bool int a, vector bool int b)
{
- return __builtin_altivec_vcmpgtuw_p(__CR6_LT_REV, (vector unsigned int)a,
- (vector unsigned int)b);
+ return __builtin_altivec_vcmpgtuw_p(__CR6_LT_REV,
+ (vector unsigned int)a,
+ (vector unsigned int)b);
}
static int __ATTRS_o_ai
static int __ATTRS_o_ai
vec_any_lt(vector bool char a, vector signed char b)
{
- return __builtin_altivec_vcmpgtub_p(__CR6_EQ_REV, (vector unsigned char)b,
- (vector unsigned char)a);
+ return __builtin_altivec_vcmpgtub_p(__CR6_EQ_REV,
+ (vector unsigned char)b,
+ (vector unsigned char)a);
}
static int __ATTRS_o_ai
static int __ATTRS_o_ai
vec_any_lt(vector bool char a, vector bool char b)
{
- return __builtin_altivec_vcmpgtub_p(__CR6_EQ_REV, (vector unsigned char)b,
- (vector unsigned char)a);
+ return __builtin_altivec_vcmpgtub_p(__CR6_EQ_REV,
+ (vector unsigned char)b,
+ (vector unsigned char)a);
}
static int __ATTRS_o_ai
static int __ATTRS_o_ai
vec_any_lt(vector bool short a, vector short b)
{
- return __builtin_altivec_vcmpgtuh_p(__CR6_EQ_REV, (vector unsigned short)b,
- (vector unsigned short)a);
+ return __builtin_altivec_vcmpgtuh_p(__CR6_EQ_REV,
+ (vector unsigned short)b,
+ (vector unsigned short)a);
}
static int __ATTRS_o_ai
static int __ATTRS_o_ai
vec_any_lt(vector bool short a, vector bool short b)
{
- return __builtin_altivec_vcmpgtuh_p(__CR6_EQ_REV, (vector unsigned short)b,
- (vector unsigned short)a);
+ return __builtin_altivec_vcmpgtuh_p(__CR6_EQ_REV,
+ (vector unsigned short)b,
+ (vector unsigned short)a);
}
static int __ATTRS_o_ai
static int __ATTRS_o_ai
vec_any_lt(vector bool int a, vector int b)
{
- return __builtin_altivec_vcmpgtuw_p(__CR6_EQ_REV, (vector unsigned int)b,
- (vector unsigned int)a);
+ return __builtin_altivec_vcmpgtuw_p(__CR6_EQ_REV,
+ (vector unsigned int)b,
+ (vector unsigned int)a);
}
static int __ATTRS_o_ai
static int __ATTRS_o_ai
vec_any_lt(vector bool int a, vector bool int b)
{
- return __builtin_altivec_vcmpgtuw_p(__CR6_EQ_REV, (vector unsigned int)b,
- (vector unsigned int)a);
+ return __builtin_altivec_vcmpgtuw_p(__CR6_EQ_REV,
+ (vector unsigned int)b,
+ (vector unsigned int)a);
}
static int __ATTRS_o_ai
static int __ATTRS_o_ai
vec_any_ne(vector signed char a, vector signed char b)
{
- return __builtin_altivec_vcmpequb_p(__CR6_LT_REV, (vector char)a, (vector char)b);
+ return
+ __builtin_altivec_vcmpequb_p(__CR6_LT_REV, (vector char)a, (vector char)b);
}
static int __ATTRS_o_ai
vec_any_ne(vector signed char a, vector bool char b)
{
- return __builtin_altivec_vcmpequb_p(__CR6_LT_REV, (vector char)a, (vector char)b);
+ return
+ __builtin_altivec_vcmpequb_p(__CR6_LT_REV, (vector char)a, (vector char)b);
}
static int __ATTRS_o_ai
vec_any_ne(vector unsigned char a, vector unsigned char b)
{
- return __builtin_altivec_vcmpequb_p(__CR6_LT_REV, (vector char)a, (vector char)b);
+ return
+ __builtin_altivec_vcmpequb_p(__CR6_LT_REV, (vector char)a, (vector char)b);
}
static int __ATTRS_o_ai
vec_any_ne(vector unsigned char a, vector bool char b)
{
- return __builtin_altivec_vcmpequb_p(__CR6_LT_REV, (vector char)a, (vector char)b);
+ return
+ __builtin_altivec_vcmpequb_p(__CR6_LT_REV, (vector char)a, (vector char)b);
}
static int __ATTRS_o_ai
vec_any_ne(vector bool char a, vector signed char b)
{
- return __builtin_altivec_vcmpequb_p(__CR6_LT_REV, (vector char)a, (vector char)b);
+ return
+ __builtin_altivec_vcmpequb_p(__CR6_LT_REV, (vector char)a, (vector char)b);
}
static int __ATTRS_o_ai
vec_any_ne(vector bool char a, vector unsigned char b)
{
- return __builtin_altivec_vcmpequb_p(__CR6_LT_REV, (vector char)a, (vector char)b);
+ return
+ __builtin_altivec_vcmpequb_p(__CR6_LT_REV, (vector char)a, (vector char)b);
}
static int __ATTRS_o_ai
vec_any_ne(vector bool char a, vector bool char b)
{
- return __builtin_altivec_vcmpequb_p(__CR6_LT_REV, (vector char)a, (vector char)b);
+ return
+ __builtin_altivec_vcmpequb_p(__CR6_LT_REV, (vector char)a, (vector char)b);
}
static int __ATTRS_o_ai
static int __ATTRS_o_ai
vec_any_ne(vector unsigned short a, vector unsigned short b)
{
- return __builtin_altivec_vcmpequh_p(__CR6_LT_REV, (vector short)a, (vector short)b);
+ return __builtin_altivec_vcmpequh_p(__CR6_LT_REV,
+ (vector short)a,
+ (vector short)b);
}
static int __ATTRS_o_ai
vec_any_ne(vector unsigned short a, vector bool short b)
{
- return __builtin_altivec_vcmpequh_p(__CR6_LT_REV, (vector short)a, (vector short)b);
+ return __builtin_altivec_vcmpequh_p(__CR6_LT_REV,
+ (vector short)a,
+ (vector short)b);
}
static int __ATTRS_o_ai
vec_any_ne(vector bool short a, vector short b)
{
- return __builtin_altivec_vcmpequh_p(__CR6_LT_REV, (vector short)a, (vector short)b);
+ return __builtin_altivec_vcmpequh_p(__CR6_LT_REV,
+ (vector short)a,
+ (vector short)b);
}
static int __ATTRS_o_ai
vec_any_ne(vector bool short a, vector unsigned short b)
{
- return __builtin_altivec_vcmpequh_p(__CR6_LT_REV, (vector short)a, (vector short)b);
+ return __builtin_altivec_vcmpequh_p(__CR6_LT_REV,
+ (vector short)a,
+ (vector short)b);
}
static int __ATTRS_o_ai
vec_any_ne(vector bool short a, vector bool short b)
{
- return __builtin_altivec_vcmpequh_p(__CR6_LT_REV, (vector short)a, (vector short)b);
+ return __builtin_altivec_vcmpequh_p(__CR6_LT_REV,
+ (vector short)a,
+ (vector short)b);
}
static int __ATTRS_o_ai
vec_any_ne(vector pixel a, vector pixel b)
{
- return __builtin_altivec_vcmpequh_p(__CR6_LT_REV, (vector short)a, (vector short)b);
+ return __builtin_altivec_vcmpequh_p(__CR6_LT_REV,
+ (vector short)a,
+ (vector short)b);
}
static int __ATTRS_o_ai
static int __ATTRS_o_ai
vec_any_ne(vector unsigned int a, vector unsigned int b)
{
- return __builtin_altivec_vcmpequw_p(__CR6_LT_REV, (vector int)a, (vector int)b);
+ return
+ __builtin_altivec_vcmpequw_p(__CR6_LT_REV, (vector int)a, (vector int)b);
}
static int __ATTRS_o_ai
vec_any_ne(vector unsigned int a, vector bool int b)
{
- return __builtin_altivec_vcmpequw_p(__CR6_LT_REV, (vector int)a, (vector int)b);
+ return
+ __builtin_altivec_vcmpequw_p(__CR6_LT_REV, (vector int)a, (vector int)b);
}
static int __ATTRS_o_ai
vec_any_ne(vector bool int a, vector int b)
{
- return __builtin_altivec_vcmpequw_p(__CR6_LT_REV, (vector int)a, (vector int)b);
+ return
+ __builtin_altivec_vcmpequw_p(__CR6_LT_REV, (vector int)a, (vector int)b);
}
static int __ATTRS_o_ai
vec_any_ne(vector bool int a, vector unsigned int b)
{
- return __builtin_altivec_vcmpequw_p(__CR6_LT_REV, (vector int)a, (vector int)b);
+ return
+ __builtin_altivec_vcmpequw_p(__CR6_LT_REV, (vector int)a, (vector int)b);
}
static int __ATTRS_o_ai
vec_any_ne(vector bool int a, vector bool int b)
{
- return __builtin_altivec_vcmpequw_p(__CR6_LT_REV, (vector int)a, (vector int)b);
+ return
+ __builtin_altivec_vcmpequw_p(__CR6_LT_REV, (vector int)a, (vector int)b);
}
static int __ATTRS_o_ai