Lines Matching defs:shift
985 Register scratch, Register shift) {
988 DCHECK(!AreAliased(dst_low, dst_high, shift));
991 cmpi(shift, Operand(32));
993 // If shift >= 32
994 andi(scratch, shift, Operand(0x1F));
999 // If shift < 32
1000 subfic(scratch, shift, Operand(32));
1001 ShiftLeftU32(dst_high, src_high, shift);
1004 ShiftLeftU32(dst_low, src_low, shift);
1010 uint32_t shift) {
1013 if (shift == 32) {
1016 } else if (shift > 32) {
1017 shift &= 0x1F;
1018 ShiftLeftU32(dst_high, src_low, Operand(shift));
1020 } else if (shift == 0) {
1024 ShiftLeftU32(dst_high, src_high, Operand(shift));
1025 rlwimi(dst_high, src_low, shift, 32 - shift, 31);
1026 ShiftLeftU32(dst_low, src_low, Operand(shift));
1032 Register scratch, Register shift) {
1035 DCHECK(!AreAliased(dst_low, dst_high, shift));
1038 cmpi(shift, Operand(32));
1040 // If shift >= 32
1041 andi(scratch, shift, Operand(0x1F));
1046 // If shift < 32
1047 subfic(scratch, shift, Operand(32));
1048 srw(dst_low, src_low, shift);
1051 srw(dst_high, src_high, shift);
1057 uint32_t shift) {
1060 if (shift == 32) {
1063 } else if (shift > 32) {
1064 shift &= 0x1F;
1065 srwi(dst_low, src_high, Operand(shift));
1067 } else if (shift == 0) {
1071 srwi(dst_low, src_low, Operand(shift));
1072 rlwimi(dst_low, src_high, 32 - shift, 0, shift - 1);
1073 srwi(dst_high, src_high, Operand(shift));
1079 Register scratch, Register shift) {
1080 DCHECK(!AreAliased(dst_low, src_high, shift));
1081 DCHECK(!AreAliased(dst_high, src_low, shift));
1084 cmpi(shift, Operand(32));
1086 // If shift >= 32
1087 andi(scratch, shift, Operand(0x1F));
1092 // If shift < 32
1093 subfic(scratch, shift, Operand(32));
1094 srw(dst_low, src_low, shift);
1097 sraw(dst_high, src_high, shift);
1103 uint32_t shift) {
1106 if (shift == 32) {
1109 } else if (shift > 32) {
1110 shift &= 0x1F;
1111 srawi(dst_low, src_high, shift);
1113 } else if (shift == 0) {
1117 srwi(dst_low, src_low, Operand(shift));
1118 rlwimi(dst_low, src_high, 32 - shift, 0, shift - 1);
1119 srawi(dst_high, src_high, shift);
3807 int shift = byte_idx*8;
3808 rldicl(dst, dst, shift, 8);
3809 rldicl(dst, dst, 64-shift, 0);
3842 int shift = 7 - (2*i);
3843 if (shift < 0) shift += 64;
3844 rldicr(scratch1, src, shift, j*8+i);