Skip to content
  1. Sep 12, 2008
  2. Mar 15, 2008
  3. Mar 14, 2008
  4. Feb 27, 2008
  5. Jan 17, 2008
    • Chris Lattner's avatar
      This commit changes: · 1ea55cf8
      Chris Lattner authored
      1. Legalize now always promotes truncstore of i1 to i8. 
      2. Remove patterns and gunk related to truncstore i1 from targets.
      3. Rename the StoreXAction stuff to TruncStoreAction in TLI.
      4. Make the TLI TruncStoreAction table a 2d table to handle from/to conversions.
      5. Mark a wide variety of invalid truncstores as such in various targets, e.g.
         X86 currently doesn't support truncstore of any of its integer types.
      6. Add legalize support for truncstores with invalid value input types.
      7. Add a dag combine transform to turn store(truncate) into truncstore when
         safe.
      
      The later allows us to compile CodeGen/X86/storetrunc-fp.ll to:
      
      _foo:
      	fldt	20(%esp)
      	fldt	4(%esp)
      	faddp	%st(1)
      	movl	36(%esp), %eax
      	fstps	(%eax)
      	ret
      
      instead of:
      
      _foo:
      	subl	$4, %esp
      	fldt	24(%esp)
      	fldt	8(%esp)
      	faddp	%st(1)
      	fstps	(%esp)
      	movl	40(%esp), %eax
      	movss	(%esp), %xmm0
      	movss	%xmm0, (%eax)
      	addl	$4, %esp
      	ret
      
      llvm-svn: 46140
      1ea55cf8
  6. Dec 29, 2007
  7. Dec 13, 2007
  8. Nov 13, 2007
  9. Sep 11, 2007
  10. Jul 21, 2007
  11. Jul 19, 2007
    • Evan Cheng's avatar
      Change instruction description to split OperandList into OutOperandList and · 94b5a80b
      Evan Cheng authored
      InOperandList. This gives one piece of important information: # of results
      produced by an instruction.
      An example of the change:
      def ADD32rr  : I<0x01, MRMDestReg, (ops GR32:$dst, GR32:$src1, GR32:$src2),
                       "add{l} {$src2, $dst|$dst, $src2}",
                       [(set GR32:$dst, (add GR32:$src1, GR32:$src2))]>;
      =>
      def ADD32rr  : I<0x01, MRMDestReg, (outs GR32:$dst), (ins GR32:$src1, GR32:$src2),
                       "add{l} {$src2, $dst|$dst, $src2}",
                       [(set GR32:$dst, (add GR32:$src1, GR32:$src2))]>;
      
      llvm-svn: 40033
      94b5a80b
  12. Nov 04, 2006
  13. Oct 13, 2006
  14. Oct 12, 2006
  15. Oct 11, 2006
  16. Oct 09, 2006
  17. Sep 02, 2006
  18. Aug 11, 2006
  19. May 09, 2006
  20. Feb 21, 2006
  21. Feb 17, 2006
  22. Feb 10, 2006
  23. Feb 09, 2006
  24. Feb 05, 2006
  25. Feb 02, 2006
  26. Jan 31, 2006
  27. Jan 30, 2006
    • Chris Lattner's avatar
      Revamp the ICC/FCC reading instructions to be parameterized in terms of the · 37faeb2b
      Chris Lattner authored
      SPARC condition codes, not in terms of the DAG condcodes.  This allows us to
      write nice clean patterns for cmovs/branches.
      
      llvm-svn: 25815
      37faeb2b
    • Chris Lattner's avatar
      Compile: · 33a79cae
      Chris Lattner authored
      uint %test(uint %X) {
              %Y = call uint %llvm.ctpop.i32(uint %X)
              ret uint %Y
      }
      
      to:
      
      test:
              save -96, %o6, %o6
              sll %i0, 0, %l0
              popc %l0, %i0
              restore %g0, %g0, %g0
              retl
              nop
      
      instead of to 40 logical ops.  Note the shift-by-zero that clears the top
      part of the 64-bit V9 register.
      
      Testcase here: CodeGen/SparcV8/ctpop.ll
      
      llvm-svn: 25814
      33a79cae
    • Chris Lattner's avatar
      When in v9 mode, emit fabsd/fnegd/fmovd · 90d3fd9e
      Chris Lattner authored
      llvm-svn: 25810
      90d3fd9e
    • Chris Lattner's avatar
      First step towards V9 instructions in the V8 backend, two conditional move · 99dcb95e
      Chris Lattner authored
      patterns.  This allows emission of this code:
      
      t1:
              save -96, %o6, %o6
              subcc %i0, %i1, %l0
              move %icc, %i0, %i2
              or %g0, %i2, %i0
              restore %g0, %g0, %g0
              retl
              nop
      
      instead of this:
      
      t1:
              save -96, %o6, %o6
              subcc %i0, %i1, %l0
              be .LBBt1_2     !
              nop
      .LBBt1_1:       !
              or %g0, %i2, %i0
      .LBBt1_2:       !
              restore %g0, %g0, %g0
              retl
              nop
      
      for this:
      
      int %t1(int %a, int %b, int %c) {
              %tmp.2 = seteq int %a, %b
              %tmp3 = select bool %tmp.2, int %a, int %c
              ret int %tmp3
      }
      
      llvm-svn: 25809
      99dcb95e
  28. Jan 28, 2006
Loading