[llvm] [llvm][mc][riscv] MC support of T-Head vector extension (xtheadvector) (PR #84447)

Wang Pengcheng via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 8 01:14:34 PST 2024


================
@@ -69,9 +69,16 @@ inline static bool isValidLMUL(unsigned LMUL, bool Fractional) {
   return isPowerOf2_32(LMUL) && LMUL <= 8 && (!Fractional || LMUL != 1);
 }
 
+// Is this a EDIV value that can be encoded into the VTYPE format.
+inline static bool isValidEDIV(unsigned EDIV) {
----------------
wangpc-pp wrote:

IIRC, C906/C910 didn't implement EDIV.

https://github.com/llvm/llvm-project/pull/84447


More information about the llvm-commits mailing list