Skip to content
  1. Dec 09, 2011
  2. Dec 08, 2011
    • Evan Cheng's avatar
      Many of the SSE patterns should not be selected when AVX is available. This... · 4d1a2d44
      Evan Cheng authored
      Many of the SSE patterns should not be selected when AVX is available. This led to the following code in X86Subtarget.cpp
      
        if (HasAVX)
          X86SSELevel = NoMMXSSE;
      
      This is so patterns that are predicated on hasSSE3, etc. would not be selected when avx is available. Instead, the AVX variant is selected.
      However, this breaks instructions which do not have AVX variants.
      
      The right way to fix this is for the SSE but not-AVX patterns to predicate on something like hasSSE3() && !hasAVX().
      Then we can take out the hack in X86Subtarget.cpp. Patterns which do not have AVX variants do not need to change.
      
      However, we need to audit all the patterns before we make the change. This patch is workaround that fixes one specific case,
      the prefetch instructions. rdar://10538297
      
      llvm-svn: 146163
      4d1a2d44
  3. Nov 29, 2011
  4. Nov 24, 2011
  5. Oct 30, 2011
  6. Oct 27, 2011
  7. Oct 21, 2011
  8. Oct 19, 2011
  9. Oct 18, 2011
  10. Oct 16, 2011
  11. Oct 15, 2011
  12. Oct 14, 2011
  13. Oct 13, 2011
  14. Oct 11, 2011
  15. Oct 10, 2011
  16. Oct 09, 2011
  17. Oct 07, 2011
  18. Oct 06, 2011
  19. Oct 03, 2011
  20. Oct 02, 2011
  21. Sep 09, 2011
  22. Sep 05, 2011
  23. Aug 30, 2011
  24. Aug 26, 2011
  25. Aug 23, 2011
  26. Jul 28, 2011
    • Kevin Enderby's avatar
      Fix llvm-mc handing of x86 instructions that take 8-bit unsigned immediates. · 5ef6c453
      Kevin Enderby authored
      llvm-mc gives an "invalid operand" error for instructions that take an unsigned
      immediate which have the high bit set such as:
          pblendw $0xc5, %xmm2, %xmm1
      llvm-mc treats all x86 immediates as signed values and range checks them.
      A small number of x86 instructions use the imm8 field as a set of bits.
      This change only changes those instructions and where the high bit is not
      ignored.  The others remain unchanged.
      
      llvm-svn: 136287
      5ef6c453
  27. Jul 14, 2011
  28. Jul 08, 2011
    • Evan Cheng's avatar
      Eliminate asm parser's dependency on TargetMachine: · 4d1ca96b
      Evan Cheng authored
      - Each target asm parser now creates its own MCSubtatgetInfo (if needed).
      - Changed AssemblerPredicate to take subtarget features which tablegen uses
        to generate asm matcher subtarget feature queries. e.g.
        "ModeThumb,FeatureThumb2" is translated to
        "(Bits & ModeThumb) != 0 && (Bits & FeatureThumb2) != 0".
      
      llvm-svn: 134678
      4d1ca96b
  29. Jul 06, 2011
  30. Jun 04, 2011
  31. Jun 02, 2011
  32. Jun 01, 2011
Loading