[PATCH] D44647: [X86] Add WriteCRC32 scheduler class
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 19 13:16:50 PDT 2018
RKSimon created this revision.
RKSimon added reviewers: craig.topper, gadi.haber, courbet, andreadb, spatel.
Currently CRC32 instructions use the WriteFAdd class, this patch splits them off into their own.
At the moment WriteCRC32 is mostly just a duplicate of WriteFAdd but it can now be tweaked on a target by target basis.
SandyBridge is interesting as its custom memory latencies don't often match the +4 cy in SBWriteResPair - I can add a 'memory latency' optional argument to SBWriteResPair to make it easier to remedy these cases if people want?
Repository:
rL LLVM
https://reviews.llvm.org/D44647
Files:
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/sse42-schedule.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44647.138992.patch
Type: text/x-patch
Size: 10157 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180319/14c025f3/attachment.bin>
More information about the llvm-commits
mailing list