Hi,
I have looked a bit more and tried also ia-64 and bfin and actually I
can't find a single example where vectorized code using __restrict__
variables would break the dependency between stores and loads.
for this simple program:
unsigned short xxx(unsigned short* __restrict__ a, unsigned short
On Mon, Apr 26, 2010 at 3:42 PM, roy rosen wrote:
> Hi Richard,
>
> Here is the relevant block from the dump:
>
> :
> __vect_var__26_6 = *__vect_p_14_19;
> *__vect_p_18_25 = __vect_var__26_6;
> # PT = nonlocal { __PARM_RESTRICT_2 } (restr)
> __vect_p_22_11 = __vect_p_14_19 + 8;
> # PT = nonlo
Hi Richard,
Here is the relevant block from the dump:
:
__vect_var__26_6 = *__vect_p_14_19;
*__vect_p_18_25 = __vect_var__26_6;
# PT = nonlocal { __PARM_RESTRICT_2 } (restr)
__vect_p_22_11 = __vect_p_14_19 + 8;
# PT = nonlocal { __PARM_RESTRICT_1 } (restr)
__vect_p_27_12 = __vect_p_18
On Mon, Apr 26, 2010 at 9:43 AM, roy rosen wrote:
> Hi Richard,
>
> 2010/4/23, Richard Guenther :
>> On Thu, Apr 22, 2010 at 6:04 PM, roy rosen wrote:
>> > Hi Richard,
>> >
>> > 2010/4/14, Richard Guenther :
>> >> On Wed, Apr 14, 2010 at 8:48 AM, roy rosen wrote:
>> >> > Hi All,
>> >> >
>> >> >
Hi Richard,
2010/4/23, Richard Guenther :
> On Thu, Apr 22, 2010 at 6:04 PM, roy rosen wrote:
> > Hi Richard,
> >
> > 2010/4/14, Richard Guenther :
> >> On Wed, Apr 14, 2010 at 8:48 AM, roy rosen wrote:
> >> > Hi All,
> >> >
> >> > I have implemented some vectorization features in my gcc port.
>
On Thu, Apr 22, 2010 at 6:04 PM, roy rosen wrote:
> Hi Richard,
>
> 2010/4/14, Richard Guenther :
>> On Wed, Apr 14, 2010 at 8:48 AM, roy rosen wrote:
>> > Hi All,
>> >
>> > I have implemented some vectorization features in my gcc port.
>> >
>> > In the generated code for this function I can see
Hi Richard,
2010/4/14, Richard Guenther :
> On Wed, Apr 14, 2010 at 8:48 AM, roy rosen wrote:
> > Hi All,
> >
> > I have implemented some vectorization features in my gcc port.
> >
> > In the generated code for this function I can see a scheduling problem:
> >
> > int xxx(int* __restrict__ a, int
On Wed, Apr 14, 2010 at 8:48 AM, roy rosen wrote:
> Hi All,
>
> I have implemented some vectorization features in my gcc port.
>
> In the generated code for this function I can see a scheduling problem:
>
> int xxx(int* __restrict__ a, int* __restrict__ b)
> {
> int __restrict__ i;
> for (i