[PATCH] D46229: [X86][AVX] Tag VPMOVSX/VPMOVZX ymm instructions as WriteShuffle256.

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 28 15:28:05 PDT 2018


RKSimon created this revision.
RKSimon added reviewers: craig.topper, GGanesh, andreadb.
Herald added a subscriber: gbedwell.

These are more like cross-lane shuffles than regular shuffles - we already do this for AVX512 equivalents.

@gganesh The Znver1 cases needed a little tweaking (typos in the instregex and missing load fold cases) - please can you take a look? Agner didn't have good numbers, but it seems to match what instlatx64 reports.


Repository:
  rL LLVM

https://reviews.llvm.org/D46229

Files:
  lib/Target/X86/X86InstrSSE.td
  lib/Target/X86/X86SchedBroadwell.td
  lib/Target/X86/X86SchedHaswell.td
  lib/Target/X86/X86SchedSkylakeClient.td
  lib/Target/X86/X86SchedSkylakeServer.td
  lib/Target/X86/X86ScheduleZnver1.td
  test/CodeGen/X86/avx2-schedule.ll
  test/tools/llvm-mca/X86/Znver1/resources-avx2.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46229.144462.patch
Type: text/x-patch
Size: 27994 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180428/6d8d50d1/attachment.bin>


More information about the llvm-commits mailing list