On Wed, 2023-11-22 at 10:15 -0800, Alexei Starovoitov wrote: [...] > > multiclass J<BPFJumpOp Opc, string OpcodeStr, PatLeaf Cond, PatLeaf Cond32> { > > def _rr : JMP_RR<Opc, OpcodeStr, Cond>; > > def _ri : JMP_RI<Opc, OpcodeStr, Cond>; > > @@ -265,6 +329,10 @@ defm JULT : J<BPF_JLT, "<", BPF_CC_LTU, BPF_CC_LTU_32>; > > defm JULE : J<BPF_JLE, "<=", BPF_CC_LEU, BPF_CC_LEU_32>; > > defm JSLT : J<BPF_JSLT, "s<", BPF_CC_LT, BPF_CC_LT_32>; > > defm JSLE : J<BPF_JSLE, "s<=", BPF_CC_LE, BPF_CC_LE_32>; > > +def JSET_RR : JSET_RR<"&">; > > +def JSET_RI : JSET_RI<"&">; > > +def JSET_RR_32 : JSET_RR_32<"&">; > > +def JSET_RI_32 : JSET_RI_32<"&">; > > } > > > > // ALU instructions > > > > can solve your inline asm issue. We will discuss whether llvm compiler > > should be implementing this instruction from source or not. > > I'd say 'yes'. clang/llvm should support such asm syntax. > > Jose, Eduard, > Thoughts? I agree, since instruction is documented it should have assembly representation. All other instructions from instruction-set.rst seem to have one.