Skip to content
  1. Aug 24, 2012
  2. Jul 05, 2012
  3. May 09, 2012
  4. Apr 11, 2012
  5. Feb 27, 2012
  6. Feb 18, 2012
  7. Feb 16, 2012
    • Jakob Stoklund Olesen's avatar
      Use the same CALL instructions for Windows as for everything else. · 97e3115d
      Jakob Stoklund Olesen authored
      The different calling conventions and call-preserved registers are
      represented with regmask operands that are added dynamically.
      
      llvm-svn: 150708
      97e3115d
    • Jakob Stoklund Olesen's avatar
      Enable register mask operands for x86 calls. · 8a450cb2
      Jakob Stoklund Olesen authored
      Call instructions no longer have a list of 43 call-clobbered registers.
      Instead, they get a single register mask operand with a bit vector of
      call-preserved registers.
      
      This saves a lot of memory, 42 x 32 bytes = 1344 bytes per call
      instruction, and it speeds up building call instructions because those
      43 imp-def operands no longer need to be added to use-def lists. (And
      removed and shifted and re-added for every explicit call operand).
      
      Passes like LiveVariables, LiveIntervals, RAGreedy, PEI, and
      BranchFolding are significantly faster because they can deal with call
      clobbers in bulk.
      
      Overall, clang -O2 is between 0% and 8% faster, uniformly distributed
      depending on call density in the compiled code.  Debug builds using
      clang -O0 are 0% - 3% faster.
      
      I have verified that this patch doesn't change the assembly generated
      for the LLVM nightly test suite when building with -disable-copyprop
      and -disable-branch-fold.
      
      Branch folding behaves slightly differently in a few cases because call
      instructions have different hash values now.
      
      Copy propagation flushes its data structures when it crosses a register
      mask operand. This causes it to leave a few dead copies behind, on the
      order of 20 instruction across the entire nightly test suite, including
      SPEC. Fixing this properly would require the pass to use different data
      structures.
      
      llvm-svn: 150638
      8a450cb2
  8. Feb 02, 2012
    • Andrew Trick's avatar
      Instruction scheduling itinerary for Intel Atom. · 8523b16f
      Andrew Trick authored
      Adds an instruction itinerary to all x86 instructions, giving each a default latency of 1, using the InstrItinClass IIC_DEFAULT.
      
      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.
      
      Adds a test to verify that the scheduler is working.
      
      Also changes the scheduling preference to "Hybrid" for i386 Atom, while leaving x86_64 as ILP.
      
      Patch by Preston Gurd!
      
      llvm-svn: 149558
      8523b16f
  9. Jan 26, 2012
    • Jakob Stoklund Olesen's avatar
      Handle call-clobbered ymm registers on Win64. · fc9dce25
      Jakob Stoklund Olesen authored
      The Win64 calling convention has xmm6-15 as callee-saved while still
      clobbering all ymm registers.
      
      Add a YMM_HI_6_15 pseudo-register that aliases the clobbered part of the
      ymm registers, and mark that as call-clobbered.  This allows live xmm
      registers across calls.
      
      This hack wouldn't be necessary with RegisterMask operands representing
      the call clobbers, but they are not quite operational yet.
      
      llvm-svn: 149088
      fc9dce25
  10. Jan 20, 2012
  11. Mar 24, 2011
  12. Jan 26, 2011
  13. Jan 03, 2011
  14. Nov 30, 2010
  15. Nov 12, 2010
  16. Oct 18, 2010
    • Kevin Enderby's avatar
      Added a handful of x86-32 instructions that were missing so that llvm-mc would · b9783dd9
      Kevin Enderby authored
      be more complete.  These are only expected to be used by llvm-mc with assembly
      source so there is no pattern, [], in the .td files.  Most are being added to
      X86InstrInfo.td as Chris suggested and only comments about register uses are
      added.  Suggestions welcome on the .td changes as I'm not sure on every detail
      of the x86 records.  More missing instructions will be coming.
      
      llvm-svn: 116716
      b9783dd9
  17. Oct 05, 2010
Loading