Lines Matching defs:offset
119 #define VEC_LD(offset,b) \
120 vec_perm(vec_ld(offset, b), vec_ld((offset)+15, b), vec_lvsl(offset, b))
122 #define VEC_LD(offset,b) \
123 vec_vsx_ld(offset, b)
126 /** @brief loads unaligned vector @a *src with offset @a offset
129 static inline vec_u8 unaligned_load(int offset, const uint8_t *src)
131 register vec_u8 first = vec_ld(offset, src);
132 register vec_u8 second = vec_ld(offset + 15, src);
133 register vec_u8 mask = vec_lvsl(offset, src);
136 static inline vec_u8 load_with_perm_vec(int offset, const uint8_t *src, vec_u8 perm_vec)
138 vec_u8 a = vec_ld(offset, src);
139 vec_u8 b = vec_ld(offset + 15, src);