------- Comment #7 from pinskia at gcc dot gnu dot org  2010-02-01 21:54 -------
> if it ain't in Ubuntu
> repos anymore, I can't remember how to build these things. :)
Well it works in 4.4.0 so closing as invalid as the support for these
intrinsics were not added until 4.4 and they were fixed before submitting them
to the upstream code.
[apin...@dhcp-10-98-10-216 ~]$ ~/gcc-mainline/bin/gcc -V4.4.0 t.c -maltivec
-mcpu=cell -O2
[apin...@dhcp-10-98-10-216 ~]$ ./a.out
0.000000 1.000000 2.000000 3.000000
4.000000 5.000000 6.000000 7.000000
8.000000 9.000000 10.000000 11.000000
12.000000 13.000000 14.000000 15.000000
[apin...@dhcp-10-98-10-216 ~]$ ~/gcc-mainline/bin/gcc -V4.4.0 t.c -maltivec
-mcpu=cell -O3
[apin...@dhcp-10-98-10-216 ~]$ ./a.out
0.000000 1.000000 2.000000 3.000000
4.000000 5.000000 6.000000 7.000000
8.000000 9.000000 10.000000 11.000000
12.000000 13.000000 14.000000 15.000000
[apin...@dhcp-10-98-10-216 ~]$ ~/gcc-mainline/bin/gcc  t.c -maltivec -mcpu=cell
-O3
^[[a[apin...@dhcp-10-98-10-216 ./a.out
0.000000 1.000000 2.000000 3.000000
4.000000 5.000000 6.000000 7.000000
8.000000 9.000000 10.000000 11.000000
12.000000 13.000000 14.000000 15.000000


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42920

Reply via email to