Skip to content
  1. Nov 07, 2008
  2. Nov 04, 2008
  3. Oct 30, 2008
  4. Oct 29, 2008
  5. Oct 26, 2008
  6. Oct 25, 2008
  7. Oct 22, 2008
  8. Oct 17, 2008
    • Dan Gohman's avatar
      Fun x86 encoding tricks: when adding an immediate value of 128, · ca0546fa
      Dan Gohman authored
      use a SUB instruction instead of an ADD, because -128 can be
      encoded in an 8-bit signed immediate field, while +128 can't be.
      This avoids the need for a 32-bit immediate field in this case.
      
      A similar optimization applies to 64-bit adds with 0x80000000,
      with the 32-bit signed immediate field.
      
      To support this, teach tablegen how to handle 64-bit constants.
      
      llvm-svn: 57663
      ca0546fa
  9. Sep 26, 2008
  10. Sep 24, 2008
  11. Sep 22, 2008
Loading