[PATCH] D66801: [X86][BtVer2] Fix latency and throughput of conditional SIMD store instructions.

Andrea Di Biagio via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 30 07:15:25 PDT 2019


andreadb marked 2 inline comments as done.
andreadb added inline comments.


================
Comment at: lib/Target/X86/X86ScheduleBtVer2.td:821
+//  AVX Conditional SIMD Packed Stores - VMASKMOVP
+//  SSE2/AVX Sttore Selected Bytes of Double Quadword - (V)MASKMOVDQ
+///////////////////////////////////////////////////////////////////////////////
----------------
RKSimon wrote:
> Store
Thanks. I will fix it.


================
Comment at: lib/Target/X86/X86ScheduleBtVer2.td:858
+]>;
+def : SchedAlias<WriteFMaskedStoreY, JWriteFMaskedStoreY>;
+
----------------
RKSimon wrote:
> Would we be better off just splitting WriteFMaskedStore into WriteFMaskedStore32 + WriteFMaskedStore64?
I have been thinking about it before sending this patch. The possibility of adding new classes for conditional writes was not so bad to start.
However, btver2 is currently the only model that requires to special case the PS/PD variants. So, eventually I opted for this solution because it seemed like a good compromise. Maybe we could revisit this decision later on if we see that other models also require to special case these writes. What do you think?



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

https://reviews.llvm.org/D66801





More information about the llvm-commits mailing list