Searched refs:lsb (Results 26 - 31 of 31) sorted by relevance

12

/freebsd-current/sys/dev/qlnx/qlnxe/
H A Decore_dbg_fw_funcs.c5489 u8 lsb, width; local
5491 /* Extract lsb and width from mask */
5495 for (lsb = 0; lsb < 32 && !(data_mask & 1); lsb++, data_mask >>= 1);
5496 for (width = 0; width < 32 - lsb && (data_mask & 1); width++, data_mask >>= 1);
5499 range = (lsb << 5) | (width - 1);
/freebsd-current/contrib/llvm-project/llvm/lib/Support/
H A DAPInt.cpp2363 unsigned lsb = llvm::countr_zero(parts[i]);
2364 return lsb + i * APINT_BITS_PER_WORD;
/freebsd-current/sys/contrib/dev/athk/ath10k/
H A Dce.c84 return ((offset << addr_map->lsb) & addr_map->mask);
/freebsd-current/contrib/llvm-project/llvm/lib/Target/ARM/Disassembler/
H A DARMDisassembler.cpp1838 // the mask of that's all ones on [msb, lsb]. Finally we not it to
1841 unsigned lsb = fieldFromInstruction(Val, 0, 5); local
1844 if (lsb > msb) {
1848 // with a lsb > msb or else printing the MCInst will cause a crash.
1849 lsb = msb;
1854 uint32_t lsb_mask = (1U << lsb) - 1;
/freebsd-current/contrib/llvm-project/llvm/lib/Target/ARM/AsmParser/
H A DARMAsmParser.cpp272 // Starting at first 1 (from lsb).
2646 // Munge the lsb/width into a bitfield mask.
2647 unsigned lsb = Bitfield.LSB; local
2650 uint32_t Mask = ~(((uint32_t)0xffffffff >> lsb) << (32 - width) >>
2651 (32 - (lsb + width)));
4003 OS << "<bitfield " << "lsb: " << Bitfield.LSB
5447 return Error(E, "'lsb' operand must be an immediate");
5452 return Error(E, "'lsb' operand must be in the range [0,31]");
5473 // The LSB must be in the range [1,32-lsb]
5475 return Error(E, "'width' operand must be in the range [1,32-lsb]");
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp6515 // Compute with: cttz(x) = ctpop(lsb - 1)
6524 // Compute with: cttz(x) = (width - 1) - ctlz(lsb), if x != 0
6533 // Compute with: cttz(x) = ctpop(lsb - 1)
14600 unsigned lsb = llvm::countr_zero(Mask); local
14602 DAG.getConstant(lsb, DL, MVT::i32));
14616 // where lsb(mask) == #shamt and masked bits of B are known zero.

Completed in 502 milliseconds

12