12 #include "gu_macros.h"
13 #include "gu_byteswap.h"
24 typedef unsigned long gu_vec16__ __attribute__ ((vector_size (16)));
34 gu_vec16_from_byte (
unsigned char b)
37 memset (&ret, b,
sizeof(ret));
42 gu_vec16_from_ptr (
const void* ptr)
45 memcpy (&ret, ptr,
sizeof(ret));
53 ret.vec_ = (l.vec_ ^ r.vec_);
57 static GU_FORCE_INLINE
bool
60 return (l.int_[0] != r.int_[0] || l.int_[1] != r.int_[1]);
63 static GU_FORCE_INLINE
bool
66 return !(gu_vec16_neq (l, r));
73 ret.int_[0] = gu_bswap64 (x.int_[1]);
74 ret.int_[1] = gu_bswap64 (x.int_[0]);
84 return (gu_vec16_xor (l, r));
87 static GU_FORCE_INLINE
bool
90 return (gu_vec16_eq (l, r));
Definition: gu_vec16.h:26