[clang] [llvm] [X86][AVX10.2] Support AVX10.2-CONVERT new instructions. (PR #101600)
    Phoebe Wang via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Wed Aug 14 18:57:34 PDT 2024
    
    
  
================
@@ -624,3 +624,440 @@ defm VCVTTPS2IUBS : avx10_sat_cvt_base<0x6a, "vcvttps2iubs", SchedWriteVecIMul,
                                       avx512vl_i32_info, avx512vl_f32_info,
                                       X86vcvttp2iubsSAE>,
                     AVX512PDIi8Base, T_MAP5, EVEX_CD8<32, CD8VF>;
+
+//-------------------------------------------------
+// AVX10 CONVERT instructions
+//-------------------------------------------------
+
+multiclass avx10_cvt2ps2ph_rc<bits<8> opc, string OpcodeStr, X86FoldableSchedWrite sched,
----------------
phoebewang wrote:
Can we reuse existing multiclass as many as possible?
https://github.com/llvm/llvm-project/pull/101600
    
    
More information about the cfe-commits
mailing list