mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-24 06:38:52 +08:00
altivec.h (vec_xor): Add variant for both args being vector signed int.
2002-04-22 Aldy Hernandez <aldyh@redhat.com> * config/rs6000/altivec.h (vec_xor): Add variant for both args being vector signed int. (vec_andc): Same. (vec_xor): Add variant for both args being vector signed char. Remove redundant variant. (vec_andc): Same. From-SVN: r52602
This commit is contained in:
parent
a61df6c727
commit
0d9185726f
@ -1,3 +1,12 @@
|
|||||||
|
2002-04-22 Aldy Hernandez <aldyh@redhat.com>
|
||||||
|
|
||||||
|
* config/rs6000/altivec.h (vec_xor): Add variant for both args
|
||||||
|
being vector signed int.
|
||||||
|
(vec_andc): Same.
|
||||||
|
(vec_xor): Add variant for both args being vector signed char.
|
||||||
|
Remove redundant variant.
|
||||||
|
(vec_andc): Same.
|
||||||
|
|
||||||
2002-04-21 David S. Miller <davem@redhat.com>
|
2002-04-21 David S. Miller <davem@redhat.com>
|
||||||
|
|
||||||
* config/sparc/sparc.md (set then compare DI mode peephole2): Fix
|
* config/sparc/sparc.md (set then compare DI mode peephole2): Fix
|
||||||
|
@ -4356,6 +4356,8 @@ __ch (__bin_args_eq (vector unsigned int, (a1), vector unsigned int, (a2)), \
|
|||||||
((vector unsigned int) __builtin_altivec_vandc ((vector signed int) (a1), (vector signed int) (a2))), \
|
((vector unsigned int) __builtin_altivec_vandc ((vector signed int) (a1), (vector signed int) (a2))), \
|
||||||
__ch (__bin_args_eq (vector signed int, (a1), vector unsigned int, (a2)), \
|
__ch (__bin_args_eq (vector signed int, (a1), vector unsigned int, (a2)), \
|
||||||
((vector unsigned int) __builtin_altivec_vandc ((vector signed int) (a1), (vector signed int) (a2))), \
|
((vector unsigned int) __builtin_altivec_vandc ((vector signed int) (a1), (vector signed int) (a2))), \
|
||||||
|
__ch (__bin_args_eq (vector signed int, (a1), vector signed int, (a2)), \
|
||||||
|
((vector signed int) __builtin_altivec_vandc ((vector signed int) (a1), (vector signed int) (a2))), \
|
||||||
__ch (__bin_args_eq (vector unsigned int, (a1), vector signed int, (a2)), \
|
__ch (__bin_args_eq (vector unsigned int, (a1), vector signed int, (a2)), \
|
||||||
((vector unsigned int) __builtin_altivec_vandc ((vector signed int) (a1), (vector signed int) (a2))), \
|
((vector unsigned int) __builtin_altivec_vandc ((vector signed int) (a1), (vector signed int) (a2))), \
|
||||||
__ch (__bin_args_eq (vector unsigned int, (a1), vector unsigned int, (a2)), \
|
__ch (__bin_args_eq (vector unsigned int, (a1), vector unsigned int, (a2)), \
|
||||||
@ -4384,11 +4386,11 @@ __ch (__bin_args_eq (vector unsigned char, (a1), vector signed char, (a2)), \
|
|||||||
((vector unsigned char) __builtin_altivec_vandc ((vector signed int) (a1), (vector signed int) (a2))), \
|
((vector unsigned char) __builtin_altivec_vandc ((vector signed int) (a1), (vector signed int) (a2))), \
|
||||||
__ch (__bin_args_eq (vector unsigned char, (a1), vector unsigned char, (a2)), \
|
__ch (__bin_args_eq (vector unsigned char, (a1), vector unsigned char, (a2)), \
|
||||||
((vector signed char) __builtin_altivec_vandc ((vector signed int) (a1), (vector signed int) (a2))), \
|
((vector signed char) __builtin_altivec_vandc ((vector signed int) (a1), (vector signed int) (a2))), \
|
||||||
__ch (__bin_args_eq (vector signed char, (a1), vector unsigned char, (a2)), \
|
__ch (__bin_args_eq (vector signed char, (a1), vector signed char, (a2)), \
|
||||||
((vector signed char) __builtin_altivec_vandc ((vector signed int) (a1), (vector signed int) (a2))), \
|
((vector signed char) __builtin_altivec_vandc ((vector signed int) (a1), (vector signed int) (a2))), \
|
||||||
__ch (__bin_args_eq (vector unsigned char, (a1), vector signed char, (a2)), \
|
__ch (__bin_args_eq (vector unsigned char, (a1), vector signed char, (a2)), \
|
||||||
((vector signed char) __builtin_altivec_vandc ((vector signed int) (a1), (vector signed int) (a2))), \
|
((vector signed char) __builtin_altivec_vandc ((vector signed int) (a1), (vector signed int) (a2))), \
|
||||||
__altivec_link_error_invalid_argument ())))))))))))))))))))))
|
__altivec_link_error_invalid_argument ()))))))))))))))))))))))
|
||||||
|
|
||||||
#define vec_avg(a1, a2) \
|
#define vec_avg(a1, a2) \
|
||||||
__ch (__bin_args_eq (vector unsigned char, (a1), vector unsigned char, (a2)), \
|
__ch (__bin_args_eq (vector unsigned char, (a1), vector unsigned char, (a2)), \
|
||||||
@ -5337,6 +5339,8 @@ __ch (__bin_args_eq (vector float, ((a1)), vector unsigned int, ((a2))), \
|
|||||||
((vector float) __builtin_altivec_vxor ((vector signed int) ((a1)), (vector signed int) ((a2)))), \
|
((vector float) __builtin_altivec_vxor ((vector signed int) ((a1)), (vector signed int) ((a2)))), \
|
||||||
__ch (__bin_args_eq (vector unsigned int, ((a1)), vector float, ((a2))), \
|
__ch (__bin_args_eq (vector unsigned int, ((a1)), vector float, ((a2))), \
|
||||||
((vector float) __builtin_altivec_vxor ((vector signed int) ((a1)), (vector signed int) ((a2)))), \
|
((vector float) __builtin_altivec_vxor ((vector signed int) ((a1)), (vector signed int) ((a2)))), \
|
||||||
|
__ch (__bin_args_eq (vector signed int, ((a1)), vector signed int, ((a2))), \
|
||||||
|
((vector signed int) __builtin_altivec_vxor ((vector signed int) ((a1)), (vector signed int) ((a2)))), \
|
||||||
__ch (__bin_args_eq (vector unsigned int, ((a1)), vector unsigned int, ((a2))), \
|
__ch (__bin_args_eq (vector unsigned int, ((a1)), vector unsigned int, ((a2))), \
|
||||||
((vector unsigned int) __builtin_altivec_vxor ((vector signed int) ((a1)), (vector signed int) ((a2)))), \
|
((vector unsigned int) __builtin_altivec_vxor ((vector signed int) ((a1)), (vector signed int) ((a2)))), \
|
||||||
__ch (__bin_args_eq (vector signed int, ((a1)), vector unsigned int, ((a2))), \
|
__ch (__bin_args_eq (vector signed int, ((a1)), vector unsigned int, ((a2))), \
|
||||||
@ -5365,15 +5369,15 @@ __ch (__bin_args_eq (vector unsigned char, ((a1)), vector unsigned char, ((a2)))
|
|||||||
((vector unsigned char) __builtin_altivec_vxor ((vector signed int) ((a1)), (vector signed int) ((a2)))), \
|
((vector unsigned char) __builtin_altivec_vxor ((vector signed int) ((a1)), (vector signed int) ((a2)))), \
|
||||||
__ch (__bin_args_eq (vector signed char, ((a1)), vector unsigned char, ((a2))), \
|
__ch (__bin_args_eq (vector signed char, ((a1)), vector unsigned char, ((a2))), \
|
||||||
((vector unsigned char) __builtin_altivec_vxor ((vector signed int) ((a1)), (vector signed int) ((a2)))), \
|
((vector unsigned char) __builtin_altivec_vxor ((vector signed int) ((a1)), (vector signed int) ((a2)))), \
|
||||||
__ch (__bin_args_eq (vector unsigned char, ((a1)), vector signed char, ((a2))), \
|
__ch (__bin_args_eq (vector signed char, ((a1)), vector signed char, ((a2))), \
|
||||||
((vector unsigned char) __builtin_altivec_vxor ((vector signed int) ((a1)), (vector signed int) ((a2)))), \
|
((vector signed char) __builtin_altivec_vxor ((vector signed int) ((a1)), (vector signed int) ((a2)))), \
|
||||||
__ch (__bin_args_eq (vector unsigned char, ((a1)), vector unsigned char, ((a2))), \
|
__ch (__bin_args_eq (vector unsigned char, ((a1)), vector unsigned char, ((a2))), \
|
||||||
((vector signed char) __builtin_altivec_vxor ((vector signed int) ((a1)), (vector signed int) ((a2)))), \
|
((vector signed char) __builtin_altivec_vxor ((vector signed int) ((a1)), (vector signed int) ((a2)))), \
|
||||||
__ch (__bin_args_eq (vector signed char, ((a1)), vector unsigned char, ((a2))), \
|
__ch (__bin_args_eq (vector signed char, ((a1)), vector unsigned char, ((a2))), \
|
||||||
((vector signed char) __builtin_altivec_vxor ((vector signed int) ((a1)), (vector signed int) ((a2)))), \
|
((vector signed char) __builtin_altivec_vxor ((vector signed int) ((a1)), (vector signed int) ((a2)))), \
|
||||||
__ch (__bin_args_eq (vector unsigned char, ((a1)), vector signed char, ((a2))), \
|
__ch (__bin_args_eq (vector unsigned char, ((a1)), vector signed char, ((a2))), \
|
||||||
((vector signed char) __builtin_altivec_vxor ((vector signed int) ((a1)), (vector signed int) ((a2)))), \
|
((vector signed char) __builtin_altivec_vxor ((vector signed int) ((a1)), (vector signed int) ((a2)))), \
|
||||||
__altivec_link_error_invalid_argument ())))))))))))))))))))))
|
__altivec_link_error_invalid_argument ()))))))))))))))))))))))
|
||||||
|
|
||||||
/* Predicates. */
|
/* Predicates. */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user