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

Jin Ma via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 23 19:21:56 PDT 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) {
----------------
majin2020 wrote:

Yes, I also think it should not be implemented because there is no hardware to support it.

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


More information about the llvm-commits mailing list