[PATCH] D44879: [X86] Add WriteBitScan/WriteLZCNT/WriteTZCNT/WritePOPCNT scheduler classes (PR36881)

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 25 10:18:08 PDT 2018


RKSimon created this revision.
RKSimon added reviewers: craig.topper, courbet, andreadb, GGanesh, spatel.

Give the bit count instructions their own scheduler classes instead of forcing them into existing classes.

These were mostly overriden anyway, but I had to add in costs from Agner for silvermont and znver1 and the Fam16h SoG for btver2 (Jaguar)


Repository:
  rL LLVM

https://reviews.llvm.org/D44879

Files:
  lib/Target/X86/X86InstrInfo.td
  lib/Target/X86/X86InstrSSE.td
  lib/Target/X86/X86SchedBroadwell.td
  lib/Target/X86/X86SchedHaswell.td
  lib/Target/X86/X86SchedSandyBridge.td
  lib/Target/X86/X86SchedSkylakeClient.td
  lib/Target/X86/X86SchedSkylakeServer.td
  lib/Target/X86/X86Schedule.td
  lib/Target/X86/X86ScheduleBtVer2.td
  lib/Target/X86/X86ScheduleSLM.td
  lib/Target/X86/X86ScheduleZnver1.td
  test/CodeGen/X86/popcnt-schedule.ll
  test/CodeGen/X86/schedule-x86_64.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44879.139742.patch
Type: text/x-patch
Size: 36502 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180325/938a182d/attachment.bin>


More information about the llvm-commits mailing list