[PATCH] D87884: [CostModel][X86] add CostModel for SK_Select(v8f64, v8i64, v16f32, v16i32, v32i16, v64i8)

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 21 23:15:33 PDT 2020


craig.topper added a comment.

In D87884#2286918 <https://reviews.llvm.org/D87884#2286918>, @yubing wrote:

> With avx512f, the cost SK_Select(v32i16 or v64i8) shoulde be 3(vmovdqa64 + vpternlogq)

The moves probably don't really count since they can be eliminated during register renaming. So only the vpternlog executes.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D87884



More information about the llvm-commits mailing list