[PATCH] D105269: [X86] AVX512FP16 instructions enabling 6/6

LuoYuanke via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 26 18:27:55 PDT 2021


LuoYuanke added inline comments.


================
Comment at: llvm/lib/Target/X86/X86InstrAVX512.td:13640
+                        (v4f32 (OpNode VR128X:$src1, VR128X:$src2)),
+                        0, 0, 0, X86selects, "@earlyclobber $dst">, Sched<[sched.XMM]>;
+    defm rm : AVX512_maskable<opc, MRMSrcMem, f32x_info, (outs VR128X:$dst),
----------------
pengfei wrote:
> LuoYuanke wrote:
> > I didn't see this flag for other scalar instructions, why we need it for complex instruction?
> Because all complex instructions have constrains "dst != src1 && dst != src2". We use earlyclobber to avoid the dst been assigned to src1 or src2.
Got it. Thanks!


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D105269/new/

https://reviews.llvm.org/D105269



More information about the cfe-commits mailing list