Skip to content
  1. Feb 19, 2011
  2. Feb 18, 2011
  3. Feb 17, 2011
    • David Greene's avatar
      · 3a2b508e
      David Greene authored
      [AVX] Recorganize X86ShuffleDecode into its own library
      (LLVMX86Utils.a) to break cyclic library dependencies between
      LLVMX86CodeGen.a and LLVMX86AsmParser.a.  Previously this code was in
      a header file and marked static but AVX requires some additional
      functionality here that won't be used by all clients.  Since including
      unused static functions causes a gcc compiler warning, keeping it as a
      header would break builds that use -Werror.  Putting this in its own
      library solves both problems at once.
      
      llvm-svn: 125765
      3a2b508e
    • Dan Gohman's avatar
      The labyrinthine X86 backend no longer appears to require · f0f8e143
      Dan Gohman authored
      these patterns.
      
      llvm-svn: 125759
      f0f8e143
    • NAKAMURA Takumi's avatar
      Triple::MinGW64 is deprecated and removed. We can use Triple::MinGW32 generally. · 4c14a5cc
      NAKAMURA Takumi authored
      No one uses *-mingw64. mingw-w64 is represented as {i686|x86_64}-w64-mingw32. In llvm side, i686 and x64 can be treated as similar way.
      
      llvm-svn: 125747
      4c14a5cc
    • NAKAMURA Takumi's avatar
      Fix whitespace. · 0544fe72
      NAKAMURA Takumi authored
      llvm-svn: 125746
      0544fe72
  4. Feb 16, 2011
  5. Feb 13, 2011
    • Chris Lattner's avatar
      Enhance ComputeMaskedBits to know that aligned frameindexes · 46c01a30
      Chris Lattner authored
      have their low bits set to zero.  This allows us to optimize
      out explicit stack alignment code like in stack-align.ll:test4 when
      it is redundant.
      
      Doing this causes the code generator to start turning FI+cst into
      FI|cst all over the place, which is general goodness (that is the
      canonical form) except that various pieces of the code generator
      don't handle OR aggressively.  Fix this by introducing a new
      SelectionDAG::isBaseWithConstantOffset predicate, and using it
      in places that are looking for ADD(X,CST).  The ARM backend in
      particular was missing a lot of addressing mode folding opportunities
      around OR.
      
      llvm-svn: 125470
      46c01a30
    • Reid Kleckner's avatar
      Add encodings and mnemonics for FXSAVE64 and FXRSTOR64. · 2406b7d1
      Reid Kleckner authored
      These are just FXSAVE and FXRSTOR with REX.W prefixes.  These versions use
      64-bit pointer values instead of 32-bit pointer values in the memory map they
      dump and restore.
      
      llvm-svn: 125446
      2406b7d1
  6. Feb 12, 2011
  7. Feb 11, 2011
    • David Greene's avatar
      · 79827a5a
      David Greene authored
      [AVX] Implement 256-bit vector lowering for SCALAR_TO_VECTOR.  This
      largely completes support for 128-bit fallback lowering for code that
      is not 256-bit ready.
      
      llvm-svn: 125315
      79827a5a
  8. Feb 10, 2011
    • David Greene's avatar
      · ce318e49
      David Greene authored
      [AVX] Implement 256-bit vector lowering for EXTRACT_VECTOR_ELT.
      
      llvm-svn: 125284
      ce318e49
  9. Feb 09, 2011
    • David Greene's avatar
      · b36195ab
      David Greene authored
      [AVX] Implement 256-bit vector lowering for INSERT_VECTOR_ELT.
      
      llvm-svn: 125187
      b36195ab
  10. Feb 08, 2011
    • David Greene's avatar
      · 10b0db1d
      David Greene authored
      [AVX] Implement BUILD_VECTOR lowering for 256-bit vectors.  For
      anything but the simplest of cases, lower a 256-bit BUILD_VECTOR by
      splitting it into 128-bit parts and recombining.
      
      llvm-svn: 125105
      10b0db1d
  11. Feb 07, 2011
    • David Greene's avatar
      · 79651c52
      David Greene authored
      [AVX] Insert/extract subvector lowering support.  This includes a
      couple of utility functions that will be used in other places for more
      AVX lowering.
      
      llvm-svn: 125029
      79651c52
  12. Feb 05, 2011
  13. Feb 04, 2011
  14. Feb 03, 2011
    • David Greene's avatar
      · c4da110f
      David Greene authored
      [AVX] VEXTRACTF128 support.  This commit includes patterns for
      matching EXTRACT_SUBVECTOR to VEXTRACTF128 along with support routines
      to examine and translate index values.  VINSERTF128 comes next.  With
      these two in place we can begin supporting more AVX operations as
      INSERT/EXTRACT can be used as a fallback when 256-bit support is not
      available.
      
      llvm-svn: 124797
      c4da110f
    • Rafael Espindola's avatar
      Fix PR9127 by reversing the operands even if they have more then one use. · d11311f2
      Rafael Espindola authored
      Reversing the operands allows us to fold, but doesn't force us to. Also, at
      this point the DAG is still being optimized, so the check for hasOneUse is not
      very precise.
      
      llvm-svn: 124773
      d11311f2
  15. Feb 02, 2011
  16. Feb 01, 2011
  17. Jan 31, 2011
  18. Jan 27, 2011
  19. Jan 26, 2011
    • David Greene's avatar
      · bab5e6ed
      David Greene authored
      [AVX] Add INSERT_SUBVECTOR and support it on x86.  This provides a
      default implementation for x86, going through the stack in a similr
      fashion to how the codegen implements BUILD_VECTOR.  Eventually this
      will get matched to VINSERTF128 if AVX is available.
      
      llvm-svn: 124307
      bab5e6ed
    • David Greene's avatar
      · b6f16119
      David Greene authored
      [AVX] Support EXTRACT_SUBVECTOR on x86.  This provides a default
      implementation of EXTRACT_SUBVECTOR for x86, going through the stack
      in a similr fashion to how the codegen implements BUILD_VECTOR.
      Eventually this will get matched to VEXTRACTF128 if AVX is available.
      
      llvm-svn: 124292
      b6f16119
    • NAKAMURA Takumi's avatar
      Target/X86: Tweak win64's tailcall. · 0cfdac07
      NAKAMURA Takumi authored
      llvm-svn: 124272
      0cfdac07
    • NAKAMURA Takumi's avatar
      Fix whitespace. · 9d29eff1
      NAKAMURA Takumi authored
      llvm-svn: 124270
      9d29eff1
    • NAKAMURA Takumi's avatar
      lib/Target/X86/X86RegisterInfo.cpp: Fix whitespace. · c7807825
      NAKAMURA Takumi authored
      llvm-svn: 124268
      c7807825
Loading