[llvm-commits] [llvm][PATCH][Review request] X86 Instruction scheduler for the Intel Atom

Gurd, Preston preston.gurd at intel.com
Fri Jan 13 15:26:56 PST 2012


The attached patch implements most of an instruction scheduler for the Intel Atom.

It adds an instruction itinerary to all x86 instructions, giving each a default latency of 1, using the InstrItinClass IIC_DEFAULT.

It sets specific latencies for Atom for the instructions in files X86InstrCMovSetCC.td, X86InstrArithmetic.td, X86InstrControl.td, and X86InstrShiftRotate.td. The Atom latencies for the remainder of the x86 instructions will be set in subsequent patches.

It adds a test to verify that the scheduler is working.

I realize that this patch is kind of large, but please consider that the vast majority of the changes consist only of adding an instruction itinerary class name to an instruction.

--
Preston Gurd <preston.gurd at intel.com>
  Intel Waterloo

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120113/0cce618f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvm-x86-scheduler.diff
Type: application/octet-stream
Size: 159588 bytes
Desc: llvm-x86-scheduler.diff
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120113/0cce618f/attachment.obj>


More information about the llvm-commits mailing list