Lines Matching defs:lsb
3194 void Assembler::bfc(Condition cond, Register rd, uint32_t lsb, uint32_t width) {
3198 // BFC{<c>}{<q>} <Rd>, #<lsb>, #<width> ; T1
3199 if ((lsb <= 31) && (((width >= 1) && (width <= 32 - lsb) && !rd.IsPC()) ||
3201 uint32_t msb = lsb + width - 1;
3202 EmitT32_32(0xf36f0000U | (rd.GetCode() << 8) | ((lsb & 0x3) << 6) |
3203 ((lsb & 0x1c) << 10) | msb);
3208 // BFC{<c>}{<q>} <Rd>, #<lsb>, #<width> ; A1
3209 if ((lsb <= 31) && cond.IsNotNever() &&
3210 (((width >= 1) && (width <= 32 - lsb) && !rd.IsPC()) ||
3212 uint32_t msb = lsb + width - 1;
3214 (lsb << 7) | (msb << 16));
3218 Delegate(kBfc, &Assembler::bfc, cond, rd, lsb, width);
3222 Condition cond, Register rd, Register rn, uint32_t lsb, uint32_t width) {
3226 // BFI{<c>}{<q>} <Rd>, <Rn>, #<lsb>, #<width> ; T1
3227 if ((lsb <= 31) && !rn.Is(pc) &&
3228 (((width >= 1) && (width <= 32 - lsb) && !rd.IsPC()) ||
3230 uint32_t msb = lsb + width - 1;
3232 ((lsb & 0x3) << 6) | ((lsb & 0x1c) << 10) | msb);
3237 // BFI{<c>}{<q>} <Rd>, <Rn>, #<lsb>, #<width> ; A1
3238 if ((lsb <= 31) && cond.IsNotNever() && !rn.Is(pc) &&
3239 (((width >= 1) && (width <= 32 - lsb) && !rd.IsPC()) ||
3241 uint32_t msb = lsb + width - 1;
3243 rn.GetCode() | (lsb << 7) | (msb << 16));
3247 Delegate(kBfi, &Assembler::bfi, cond, rd, rn, lsb, width);
9641 Condition cond, Register rd, Register rn, uint32_t lsb, uint32_t width) {
9645 // SBFX{<c>}{<q>} <Rd>, <Rn>, #<lsb>, #<width> ; T1
9646 if ((lsb <= 31) &&
9647 (((width >= 1) && (width <= 32 - lsb) && !rd.IsPC() && !rn.IsPC()) ||
9651 ((lsb & 0x3) << 6) | ((lsb & 0x1c) << 10) | widthm1);
9656 // SBFX{<c>}{<q>} <Rd>, <Rn>, #<lsb>, #<width> ; A1
9657 if ((lsb <= 31) && cond.IsNotNever() &&
9658 (((width >= 1) && (width <= 32 - lsb) && !rd.IsPC() && !rn.IsPC()) ||
9662 rn.GetCode() | (lsb << 7) | (widthm1 << 16));
9666 Delegate(kSbfx, &Assembler::sbfx, cond, rd, rn, lsb, width);
13015 Condition cond, Register rd, Register rn, uint32_t lsb, uint32_t width) {
13019 // UBFX{<c>}{<q>} <Rd>, <Rn>, #<lsb>, #<width> ; T1
13020 if ((lsb <= 31) &&
13021 (((width >= 1) && (width <= 32 - lsb) && !rd.IsPC() && !rn.IsPC()) ||
13025 ((lsb & 0x3) << 6) | ((lsb & 0x1c) << 10) | widthm1);
13030 // UBFX{<c>}{<q>} <Rd>, <Rn>, #<lsb>, #<width> ; A1
13031 if ((lsb <= 31) && cond.IsNotNever() &&
13032 (((width >= 1) && (width <= 32 - lsb) && !rd.IsPC() && !rn.IsPC()) ||
13036 rn.GetCode() | (lsb << 7) | (widthm1 << 16));
13040 Delegate(kUbfx, &Assembler::ubfx, cond, rd, rn, lsb, width);