Searched refs:shift_register (Results 1 – 4 of 4) 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()
88 static UWord shift_register = 0; /* Contains global history */ variable99 UWord hist_bits = shift_register & hist_mask; in do_cond_branch_predict()116 shift_register <<= 1; in do_cond_branch_predict()117 shift_register |= (actually_taken ? 1 : 0); in do_cond_branch_predict()
1129 RegisterShiftOperand(ShiftType shift, Register shift_register) in RegisterShiftOperand() argument1130 : Shift(shift), shift_register_(shift_register) { in RegisterShiftOperand()