Skip to content
  1. Feb 09, 2006
  2. Feb 06, 2006
  3. Feb 05, 2006
  4. Feb 01, 2006
  5. Jan 31, 2006
  6. Jan 27, 2006
  7. Jan 26, 2006
  8. Jan 24, 2006
  9. Jan 12, 2006
  10. Jan 04, 2006
  11. Dec 28, 2005
  12. Dec 21, 2005
  13. Dec 13, 2005
  14. Dec 09, 2005
  15. Dec 06, 2005
    • Nate Begeman's avatar
      Teach the SelectionDAG ISel how to turn ConstantPacked values into · 41b1cdc7
      Nate Begeman authored
      constant nodes with vector types.  Also teach the asm printer how to print
      ConstantPacked constant pool entries.  This allows us to generate altivec
      code such as the following, which adds a vector constantto a packed float.
      
      LCPI1_0:  <4 x float> < float 0.0e+0, float 0.0e+0, float 0.0e+0, float 1.0e+0 >
              .space  4
              .space  4
              .space  4
              .long   1065353216      ; float 1
              .text
              .align  4
              .globl  _foo
      _foo:
              lis r2, ha16(LCPI1_0)
              la r2, lo16(LCPI1_0)(r2)
              li r4, 0
              lvx v0, r4, r2
              lvx v1, r4, r3
              vaddfp v0, v1, v0
              stvx v0, r4, r3
              blr
      
      For the llvm code:
      
      void %foo(<4 x float> * %a) {
      entry:
        %tmp1 = load <4 x float> * %a;
        %tmp2 = add <4 x float> %tmp1, < float 0.0, float 0.0, float 0.0, float 1.0 >
        store <4 x float> %tmp2, <4 x float> *%a
        ret void
      }
      
      llvm-svn: 24616
      41b1cdc7
  16. Nov 21, 2005
  17. Nov 15, 2005
  18. Nov 14, 2005
  19. Nov 10, 2005
  20. Aug 17, 2005
  21. Aug 08, 2005
  22. May 15, 2005
  23. Apr 22, 2005
  24. Apr 02, 2005
  25. Feb 14, 2005
  26. Feb 04, 2005
  27. Jan 08, 2005
  28. Nov 28, 2004
  29. Oct 16, 2004
  30. Aug 24, 2004
Loading