[PATCH] D52358: [X86][Sched] Add zero idiom sched data to the SNB model.

Clement Courbet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 21 06:43:01 PDT 2018


courbet created this revision.
courbet added reviewers: RKSimon, andreadb.
Herald added a subscriber: gbedwell.

On SNB, renamer-based zeroing does not work for:

- 16 and 8-bit GPRs[1].
- MMX [2].
- ANDN variants [3]

[1] echo 'sub %ax, %ax' | /tmp/llvm-exegesis -mode=uops -snippets-file=-
[2] echo 'pxor %mm0, %mm0' | /tmp/llvm-exegesis -mode=uops -snippets-file=-
[3] echo 'andnps %xmm0, %xmm0' | /tmp/llvm-exegesis -mode=uops -snippets-file=-


Repository:
  rL LLVM

https://reviews.llvm.org/D52358

Files:
  lib/Target/X86/X86SchedSandyBridge.td
  test/CodeGen/X86/avx-schedule.ll
  test/CodeGen/X86/avx512-schedule.ll
  test/CodeGen/X86/sse-schedule.ll
  test/tools/llvm-mca/X86/SandyBridge/zero-idioms.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52358.166470.patch
Type: text/x-patch
Size: 41002 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180921/20a2c878/attachment.bin>


More information about the llvm-commits mailing list