Nate Begeman a90bb6d9b1 Check in code to scalarize arbitrarily wide packed types for some simple
vector operations (load, add, sub, mul).

This allows us to codegen:
void %foo(<4 x float> * %a) {
entry:
  %tmp1 = load <4 x float> * %a;
  %tmp2 = add <4 x float> %tmp1, %tmp1
  store <4 x float> %tmp2, <4 x float> *%a
  ret void
}

on ppc as:
_foo:
        lfs f0, 12(r3)
        lfs f1, 8(r3)
        lfs f2, 4(r3)
        lfs f3, 0(r3)
        fadds f0, f0, f0
        fadds f1, f1, f1
        fadds f2, f2, f2
        fadds f3, f3, f3
        stfs f0, 12(r3)
        stfs f1, 8(r3)
        stfs f2, 4(r3)
        stfs f3, 0(r3)
        blr

llvm-svn: 24484
2005-11-22 18:16:00 +00:00
..
2005-10-26 15:02:21 +00:00
2005-04-21 20:39:54 +00:00
2005-07-12 15:51:55 +00:00
2005-08-24 10:07:20 +00:00
2005-11-12 08:42:30 +00:00
2005-04-21 20:19:05 +00:00
2005-04-21 20:19:05 +00:00
2005-05-06 19:59:08 +00:00
2005-06-24 18:17:33 +00:00
2005-11-05 21:58:30 +00:00
2005-04-22 03:18:56 +00:00
2005-04-21 20:19:05 +00:00
2005-04-21 20:19:05 +00:00
2005-04-21 20:19:05 +00:00
2005-04-21 20:19:05 +00:00
2005-04-21 20:19:05 +00:00
2005-04-21 20:19:05 +00:00
2005-04-21 20:19:05 +00:00