Lines Matching refs:msb
2705 int rs, int lsb, int msb)
2714 if (lsb + msb > 31)
2717 if (msb != 31) {
2718 tcg_gen_andi_tl(t0, t0, (1 << (msb + 1)) - 1);
2726 if (msb != 31) {
2727 tcg_gen_andi_tl(t0, t0, (1ULL << (msb + 1 + 32)) - 1);
2732 tcg_gen_andi_tl(t0, t0, (1ULL << (msb + 1)) - 1);
2736 tcg_gen_andi_tl(t0, t0, (1ULL << (msb + 1)) - 1);
2740 if (lsb > msb)
2742 mask = ((msb - lsb + 1 < 32) ? ((1 << (msb - lsb + 1)) - 1) : ~0) << lsb;
2752 if (lsb > msb)
2754 mask = ((msb - lsb + 1 + 32 < 64) ? ((1ULL << (msb - lsb + 1 + 32)) - 1) : ~0ULL) << lsb;
2762 if (lsb > msb)
2764 mask = ((1ULL << (msb - lsb + 1)) - 1) << (lsb + 32);
2772 if (lsb > msb)
2775 mask = ((1ULL << (msb - lsb + 1)) - 1) << lsb;