Searched refs:shift_register (Results 1 – 3 of 3) sorted by relevance
40 union { vector unsigned char v[2]; unsigned char c[32]; } shift_register; in encode_rs_av() local43 shift_register.v[0] = (vector unsigned char)(0); in encode_rs_av()44 shift_register.v[1] = (vector unsigned char)(0); in encode_rs_av()50 f = data[i] ^ shift_register.c[31]; in encode_rs_av()55 shift_register.v[1] = vec_perm(shift_register.v[0],shift_register.v[1],shift_right) ^ feedback1; in encode_rs_av()56 shift_register.v[0] = vec_sro(shift_register.v[0],(vector unsigned char)(8)) ^ feedback0; in encode_rs_av()57 shift_register.c[0] = f; in encode_rs_av()60 parity[NROOTS-i-1] = shift_register.c[i]; in encode_rs_av()
80 union { vector unsigned char v[2]; unsigned char c[32]; } shift_register; in encode_rs_8_av() local83 shift_register.v[0] = (vector unsigned char)(0); in encode_rs_8_av()84 shift_register.v[1] = (vector unsigned char)(0); in encode_rs_8_av()90 f = data[i] ^ shift_register.c[31]; in encode_rs_8_av()95 shift_register.v[1] = vec_perm(shift_register.v[0],shift_register.v[1],shift_right) ^ feedback1; in encode_rs_8_av()96 shift_register.v[0] = vec_sro(shift_register.v[0],(vector unsigned char)(8)) ^ feedback0; in encode_rs_8_av()97 shift_register.c[0] = f; in encode_rs_8_av()100 parity[NROOTS-i-1] = shift_register.c[i]; in encode_rs_8_av()
1134 RegisterShiftOperand(ShiftType shift, Register shift_register) in RegisterShiftOperand() argument1135 : Shift(shift), shift_register_(shift_register) { in RegisterShiftOperand()