Skip to content
  1. Aug 02, 2009
  2. Aug 01, 2009
  3. Jul 31, 2009
  4. Jul 30, 2009
    • Dan Gohman's avatar
      Minor whitespace tidiness. · 703edcc5
      Dan Gohman authored
      llvm-svn: 77602
      703edcc5
    • Dan Gohman's avatar
      Rename GRAD to GR32_AD, to follow the naming convention of other · 013f0077
      Dan Gohman authored
      classes. And define its SubRegClassList.
      
      llvm-svn: 77601
      013f0077
    • Evan Cheng's avatar
      Add a note. · 92df9c33
      Evan Cheng authored
      llvm-svn: 77584
      92df9c33
    • Evan Cheng's avatar
      Optimize some common usage patterns of atomic built-ins __sync_add_and_fetch()... · e62288fd
      Evan Cheng authored
      Optimize some common usage patterns of atomic built-ins __sync_add_and_fetch() and __sync_sub_and_fetch. 
      
      When the return value is not used (i.e. only care about the value in the memory), x86 does not have to use add to implement these. Instead, it can use add, sub, inc, dec instructions with the "lock" prefix.
      
      This is currently implemented using a bit of instruction selection trick. The issue is the target independent pattern produces one output and a chain and we want to map it into one that just output a chain. The current trick is to select it into a merge_values with the first definition being an implicit_def. The proper solution is to add new ISD opcodes for the no-output variant. DAG combiner can then transform the node before it gets to target node selection.
      
      Problem #2 is we are adding a whole bunch of x86 atomic instructions when in fact these instructions are identical to the non-lock versions. We need a way to add target specific information to target nodes and have this information carried over to machine instructions. Asm printer (or JIT) can use this information to add the "lock" prefix.
      
      llvm-svn: 77582
      e62288fd
    • Dan Gohman's avatar
      Add a new register class to describe operands that can't be SP, · 49a6f16b
      Dan Gohman authored
      due to x86 encoding restrictions. This is currently off by default
      because it may cause code quality regressions. This is for PR4572.
      
      llvm-svn: 77565
      49a6f16b
    • Dan Gohman's avatar
      Eliminate a bunch of redundant tables. · 652529ec
      Dan Gohman authored
      llvm-svn: 77558
      652529ec
    • Dan Gohman's avatar
      Use array_endof instead of doing it manually. · da9ba9ec
      Dan Gohman authored
      llvm-svn: 77553
      da9ba9ec
  5. Jul 29, 2009
Loading