Lines Matching refs:Bits
1408 inline int Bits(int hi, int lo) const {
1415 Bits(kBaseOpcodeShift + kBaseOpcodeBits - 1, kBaseOpcodeShift));
1481 return this->Bits(kRs1Shift + kRs1Bits - 1, kRs1Shift);
1491 return this->Bits(kRs2Shift + kRs2Bits - 1, kRs2Shift);
1496 return this->Bits(kRs3Shift + kRs3Bits - 1, kRs3Shift);
1503 return this->Bits(kVs1Shift + kVs1Bits - 1, kVs1Shift);
1510 return this->Bits(kVs2Shift + kVs2Bits - 1, kVs2Shift);
1517 return this->Bits(kVdShift + kVdBits - 1, kVdShift);
1528 return this->Bits(kRdShift + kRdBits - 1, kRdShift);
1533 return this->Bits(kRvcRdShift + kRvcRdBits - 1, kRvcRdShift);
1540 return this->Bits(kRvcRs2Shift + kRvcRs2Bits - 1, kRvcRs2Shift);
1545 return 0b1000 + this->Bits(kRvcRs1sShift + kRvcRs1sBits - 1, kRvcRs1sShift);
1550 return 0b1000 + this->Bits(kRvcRs2sShift + kRvcRs2sBits - 1, kRvcRs2sShift);
1555 return this->Bits(kFunct7Shift + kFunct7Bits - 1, kFunct7Shift);
1563 return this->Bits(kFunct3Shift + kFunct3Bits - 1, kFunct3Shift);
1569 return this->Bits(kFunct5Shift + kFunct5Bits - 1, kFunct5Shift);
1574 return this->Bits(kRvcFunct6Shift + kRvcFunct6Bits - 1, kRvcFunct6Shift);
1579 return this->Bits(kRvcFunct4Shift + kRvcFunct4Bits - 1, kRvcFunct4Shift);
1584 return this->Bits(kRvcFunct3Shift + kRvcFunct3Bits - 1, kRvcFunct3Shift);
1589 return this->Bits(kRvcFunct2Shift + kRvcFunct2Bits - 1, kRvcFunct2Shift);
1594 return this->Bits(kRvcFunct2BShift + kRvcFunct2Bits - 1, kRvcFunct2BShift);
1600 return (this->Bits(kCsrShift + kCsrBits - 1, kCsrShift));
1607 return this->Bits(kFunct3Shift + kFunct3Bits - 1, kFunct3Shift);
1614 return this->Bits(kPredOrderShift + kMemOrderBits - 1, kPredOrderShift);
1616 return this->Bits(kSuccOrderShift + kMemOrderBits - 1, kSuccOrderShift);
1622 int Value = this->Bits(kImm12Shift + kImm12Bits - 1, kImm12Shift);
1635 uint32_t Bits = this->InstructionBits();
1636 int16_t imm13 = ((Bits & 0xf00) >> 7) | ((Bits & 0x7e000000) >> 20) |
1637 ((Bits & 0x80) << 4) | ((Bits & 0x80000000) >> 19);
1645 uint32_t Bits = this->InstructionBits();
1646 int16_t imm12 = ((Bits & 0xf80) >> 7) | ((Bits & 0xfe000000) >> 20);
1654 int32_t Bits = this->InstructionBits();
1655 return Bits >> 12;
1662 uint32_t Bits = this->InstructionBits();
1663 int32_t imm20 = ((Bits & 0x7fe00000) >> 20) | ((Bits & 0x100000) >> 9) |
1664 (Bits & 0xff000) | ((Bits & 0x80000000) >> 11);
1682 return this->Bits(kImm12Shift + 5, kImm12Shift);
1691 return this->Bits(kImm12Shift + 4, kImm12Shift);
1698 uint32_t Bits = this->InstructionBits();
1699 int32_t imm6 = ((Bits & 0x1000) >> 7) | ((Bits & 0x7c) >> 2);
1707 uint32_t Bits = this->InstructionBits();
1708 int32_t imm10 = ((Bits & 0x1000) >> 3) | ((Bits & 0x40) >> 2) |
1709 ((Bits & 0x20) << 1) | ((Bits & 0x18) << 4) |
1710 ((Bits & 0x4) << 3);
1719 uint32_t Bits = this->InstructionBits();
1720 int32_t uimm10 = ((Bits & 0x20) >> 2) | ((Bits & 0x40) >> 4) |
1721 ((Bits & 0x780) >> 1) | ((Bits & 0x1800) >> 7);
1738 uint32_t Bits = this->InstructionBits();
1740 ((Bits & 0x1000) >> 7) | ((Bits & 0x70) >> 2) | ((Bits & 0xc) << 4);
1748 uint32_t Bits = this->InstructionBits();
1750 ((Bits & 0x1000) >> 7) | ((Bits & 0x60) >> 2) | ((Bits & 0x1c) << 4);
1758 uint32_t Bits = this->InstructionBits();
1759 int32_t imm8 = ((Bits & 0x1e00) >> 7) | ((Bits & 0x180) >> 1);
1767 uint32_t Bits = this->InstructionBits();
1768 int32_t imm9 = ((Bits & 0x1c00) >> 7) | ((Bits & 0x380) >> 1);
1776 uint32_t Bits = this->InstructionBits();
1778 ((Bits & 0x1c00) >> 7) | ((Bits & 0x40) >> 4) | ((Bits & 0x20) << 1);
1786 uint32_t Bits = this->InstructionBits();
1787 int32_t imm8 = ((Bits & 0x1c00) >> 7) | ((Bits & 0x60) << 1);
1795 uint32_t Bits = this->InstructionBits();
1796 int32_t imm12 = ((Bits & 0x4) << 3) | ((Bits & 0x38) >> 2) |
1797 ((Bits & 0x40) << 1) | ((Bits & 0x80) >> 1) |
1798 ((Bits & 0x100) << 2) | ((Bits & 0x600) >> 1) |
1799 ((Bits & 0x800) >> 7) | ((Bits & 0x1000) >> 1);
1807 uint32_t Bits = this->InstructionBits();
1808 int32_t imm9 = ((Bits & 0x4) << 3) | ((Bits & 0x18) >> 2) |
1809 ((Bits & 0x60) << 1) | ((Bits & 0xc00) >> 7) |
1810 ((Bits & 0x1000) >> 4);
1854 uint32_t Bits = this->InstructionBits();
1855 uint32_t zimm = Bits & kRvvZimmMask;
1861 uint32_t Bits = this->InstructionBits();
1862 uint32_t zimm = Bits & kRvvZimmMask;
1871 uint32_t Bits = this->InstructionBits();
1872 uint32_t uimm = Bits & kRvvUimmMask;
1892 return this->Bits(kRvvVmShift + kRvvVmBits - 1, kRvvVmShift);
1926 return sext(this->Bits(kRvvImm5Shift + kRvvImm5Bits - 1, kRvvImm5Shift),
1932 uint32_t imm = this->Bits(kRvvImm5Shift + kRvvImm5Bits - 1, kRvvImm5Shift);
1937 inline bool AqValue() const { return this->Bits(kAqShift, kAqShift); }
1939 inline bool RlValue() const { return this->Bits(kRlShift, kRlShift); }