Re: GCC vector extensions

2010-11-05 Thread Richard Guenther
On Fri, Nov 5, 2010 at 5:25 PM, Hariharan Sandanagobalane wrote: > Hi Ian, > Thanks for your help. > > I switched to mainline and the vector extract works a treat. When i tried > vector set, it was still generating suboptimal code. Is this bit of code > still work in progress? I expect so. If yo

Re: GCC vector extensions

2010-11-05 Thread Hariharan Sandanagobalane
Hi Ian, Thanks for your help. I switched to mainline and the vector extract works a treat. When i tried vector set, it was still generating suboptimal code. Is this bit of code still work in progress? Cheers Hari On 04/11/10 19:23, Ian Lance Taylor wrote: Hariharan Sandanagobalane writes:

Re: GCC vector extensions

2010-11-04 Thread Ian Lance Taylor
Hariharan Sandanagobalane writes: > Is it possible to use rtl vector patterns like vec_extractm, vec_setm > from C code? It looks like C subscipting for vector variables was > allowed at some point and then removed. So, can these rtl patterns > only be used from languages other than C? They were

GCC vector extensions

2010-11-04 Thread Hariharan Sandanagobalane
Hello all, Is it possible to use rtl vector patterns like vec_extractm, vec_setm from C code? It looks like C subscipting for vector variables was allowed at some point and then removed. So, can these rtl patterns only be used from languages other than C? Of course, i can use these in target