[PATCH][X86][Haswell][SchedModel] Add exceptions for instructions that diverge from the generic model.

Quentin Colombet qcolombet at apple.com
Fri Aug 8 17:10:07 PDT 2014


Hi,

This series of patches adds an exception for each instruction that diverges from the generic scheduling model.
It follows the structure of Agner Fog’s instructions tables and provides a patch for each sub-group.

Although I had observed changes of the schedule of some test cases in the llvm-testsuite + SPECs, I had not measured anything than noise.
Note: I have measured both ‘-O3 -march=native' and ‘-Os -march=native’ on a Haswell machine.

Thanks for your reviews.

-Quentin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-X86-Haswell-SchedModel-Add-architecture-specific-sch.patch
Type: application/octet-stream
Size: 4514 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140808/31f6b388/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-X86-Haswell-SchedModel-Add-architecture-specific-sch.patch
Type: application/octet-stream
Size: 6608 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140808/31f6b388/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-X86-Haswell-SchedModel-Add-architecture-specific-sch.patch
Type: application/octet-stream
Size: 6972 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140808/31f6b388/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-X86-Haswell-SchedModel-Add-architecture-specific-sch.patch
Type: application/octet-stream
Size: 2374 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140808/31f6b388/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-X86-Haswell-SchedModel-Add-architecture-specific-sch.patch
Type: application/octet-stream
Size: 2364 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140808/31f6b388/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-X86-Haswell-SchedModel-Add-architecture-specific-sch.patch
Type: application/octet-stream
Size: 1452 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140808/31f6b388/attachment-0005.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-X86-Haswell-SchedModel-Add-architecture-specific-sch.patch
Type: application/octet-stream
Size: 1668 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140808/31f6b388/attachment-0006.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0008-X86-Haswell-SchedModel-Add-architecture-specific-sch.patch
Type: application/octet-stream
Size: 4408 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140808/31f6b388/attachment-0007.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0009-X86-Haswell-SchedModel-Add-architecture-specific-sch.patch
Type: application/octet-stream
Size: 3186 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140808/31f6b388/attachment-0008.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0010-X86-Haswell-SchedModel-Add-architecture-specific-sch.patch
Type: application/octet-stream
Size: 1162 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140808/31f6b388/attachment-0009.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0011-X86-Haswell-SchedModel-Add-architecture-specific-sch.patch
Type: application/octet-stream
Size: 9115 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140808/31f6b388/attachment-0010.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0012-X86-Haswell-SchedModel-Add-architecture-specific-sch.patch
Type: application/octet-stream
Size: 2850 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140808/31f6b388/attachment-0011.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0013-X86-Haswell-SchedModel-Add-architecture-specific-sch.patch
Type: application/octet-stream
Size: 1660 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140808/31f6b388/attachment-0012.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0014-X86-Haswell-SchedModel-Add-architecture-specific-sch.patch
Type: application/octet-stream
Size: 1020 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140808/31f6b388/attachment-0013.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0015-X86-Haswell-SchedModel-Add-architecture-specific-sch.patch
Type: application/octet-stream
Size: 4835 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140808/31f6b388/attachment-0014.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0016-X86-Haswell-SchedModel-Add-architecture-specific-sch.patch
Type: application/octet-stream
Size: 5581 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140808/31f6b388/attachment-0015.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0017-X86-Haswell-SchedModel-Add-architecture-specific-sch.patch
Type: application/octet-stream
Size: 5602 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140808/31f6b388/attachment-0016.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0018-X86-Haswell-SchedModel-Add-architecture-specific-sch.patch
Type: application/octet-stream
Size: 2597 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140808/31f6b388/attachment-0017.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0019-X86-Haswell-SchedModel-Add-architecture-specific-sch.patch
Type: application/octet-stream
Size: 1130 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140808/31f6b388/attachment-0018.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0020-X86-Haswell-SchedModel-Add-architecture-specific-sch.patch
Type: application/octet-stream
Size: 1693 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140808/31f6b388/attachment-0019.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0021-X86-Haswell-SchedModel-Tidy-up.patch
Type: application/octet-stream
Size: 6028 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140808/31f6b388/attachment-0020.obj>


More information about the llvm-commits mailing list