Skip to content
  1. Apr 13, 2013
  2. Apr 12, 2013
  3. Apr 11, 2013
  4. Apr 10, 2013
    • Kay Tiong Khoo's avatar
      394bf148
    • Kay Tiong Khoo's avatar
      fixed to disassemble with tab after mnemonic rather than space · 6f76c210
      Kay Tiong Khoo authored
      llvm-svn: 179215
      6f76c210
    • Preston Gurd's avatar
      · ddf96b50
      Preston Gurd authored
      In the X86 back end, getMemoryOperandNo() returns the offset
      into the operand array of the start of the memory reference descriptor.
      
      Additional code in EncodeInstruction provides an additional adjustment.
      
      This patch places that additional code in a separate function,
      called getOperandBias, so that any caller of getMemoryOperandNo
      can also call getOperandBias.
      
      llvm-svn: 179211
      ddf96b50
    • Chad Rosier's avatar
      Tidy up, fix and simplify a few of the SMLocs. Prior to r179109 the Start SMLoc · 70f47596
      Chad Rosier authored
      wasn't always the start of the operand.  If there was a symbol reference, then
      Start pointed to that token.  It's very likely there are other places that need
      to be updated.
      
      llvm-svn: 179210
      70f47596
    • Chad Rosier's avatar
      Remove unused variable. · 53eb7d79
      Chad Rosier authored
      llvm-svn: 179205
      53eb7d79
    • Hal Finkel's avatar
      PPC: Don't predicate a diamond with two counter decrements · 30ae2291
      Hal Finkel authored
      I've not seen this happen in practice, and probably can't until we start
      allowing decrement-counter-based conditional branches to be double predicated,
      but just in case, don't allow predication of a diamond in which both sides have
      ctr-defining branches. Even though the branching behavior of these can be
      predicated, the counter-decrementing behavior cannot be.
      
      llvm-svn: 179199
      30ae2291
    • Chad Rosier's avatar
      Reapply r179115, but use parsePrimaryExpression a little more judiciously. · 1863f4f4
      Chad Rosier authored
      Test cases that regressed due to r179115, plus a few more, were added in
      r179182.  Original commit message below:
      
      [ms-inline asm] Use parsePrimaryExpr in lieu of parseExpression if we need to
      parse an identifier.  Otherwise, parseExpression may parse multiple tokens,
      which makes it impossible to properly compute an immediate displacement.
      An example of such a case is the source operand (i.e., [Symbol + ImmDisp]) in
      the below example:
      
       __asm mov eax, [Symbol + ImmDisp]
      
      Part of rdar://13611297
      
      llvm-svn: 179187
      1863f4f4
    • Michel Danzer's avatar
      R600/SI: Add pattern for AMDGPUurecip · 8caa904b
      Michel Danzer authored
      
      
      21 more little piglits with radeonsi.
      
      Reviewed-by: default avatarTom Stellard <thomas.stellard@amd.com>
      llvm-svn: 179186
      8caa904b
    • Reed Kotler's avatar
      This is for an experimental option -mips-os16. The idea is to compile all · fe94cc3e
      Reed Kotler authored
      Mips32 code as Mips16 unless it can't be compiled as Mips 16. For now this
      would happen as long as floating point instructions are not needed.
      Probably it would also make sense to compile as mips32 if atomic operations
      are needed too. There may be other cases too.
      
      A module pass prescans the IR and adds the mips16 or nomips16 attribute
      to functions depending on the functions needs.
      
      Mips 16 mode can result in a 40% code compression by utililizing 16 bit
      encoding of many instructions.
      
      The hope is for this to replace the traditional gcc way of dealing with
      Mips16 code using floating point which involves essentially using soft float
      but with a library implemented using mips32 floating point. This gcc 
      method also requires creating stubs so that Mips32 code can interact with
      these Mips 16 functions that have floating point needs. My conjecture is
      that in reality this traditional gcc method would never win over this
      new method.
      
      I will be implementing the traditional gcc method also. Some of it is already
      done but I needed to do the stubs to finish the work and those required
      this mips16/32 mixed mode capability.
      
      I have more ideas for to make this new method much better and I think the old
      method will just live in llvm for anyone that needs the backward compatibility
      but I don't for what reason that would be needed.
      
      llvm-svn: 179185
      fe94cc3e
    • Vincent Lejeune's avatar
      04d9aa48
Loading