Lines Matching defs:LMUL
149 /// \returns the LMUL for the instruction.
493 // Is this a LMUL value that can be encoded into the VTYPE format.
494 inline static bool isValidLMUL(unsigned LMUL, bool Fractional) {
495 return isPowerOf2_32(LMUL) && LMUL <= 8 && (!Fractional || LMUL != 1);
509 inline static RISCVII::VLMUL encodeLMUL(unsigned LMUL, bool Fractional) {
510 assert(isValidLMUL(LMUL, Fractional) && "Unsupported LMUL");
511 unsigned LmulLog2 = Log2_32(LMUL);