Lines Matching refs:vec_u8
34 #define vec_u8 vector unsigned char macro
45 #define LOAD_ZERO const vec_u8 zerov = vec_splat_u8( 0 )
47 #define zero_u8v (vec_u8) zerov
67 #define vcprm(a,b,c,d) (const vec_u8){WORD_ ## a, WORD_ ## b, WORD_ ## c, WORD_ ## d}
129 static inline vec_u8 unaligned_load(int offset, const uint8_t *src) in unaligned_load()
131 register vec_u8 first = vec_ld(offset, src); in unaligned_load()
132 register vec_u8 second = vec_ld(offset + 15, src); in unaligned_load()
133 register vec_u8 mask = vec_lvsl(offset, src); in unaligned_load()
136 static inline vec_u8 load_with_perm_vec(int offset, const uint8_t *src, vec_u8 perm_vec) in load_with_perm_vec()
138 vec_u8 a = vec_ld(offset, src); in load_with_perm_vec()
139 vec_u8 b = vec_ld(offset + 15, src); in load_with_perm_vec()
186 ((vec_s16)vec_mergeh((vec_u8)vec_splat_u8(0), \
187 (vec_u8)vec_vsx_ld((off), (p))))
190 ((vec_s16)vec_mergeh((vec_u8)vec_vsx_ld((off), (p)), \
191 (vec_u8)vec_splat_u8(0)))