On Thu, Aug 4, 2011 at 9:47 AM, Ira Rosen wrote:
> On 19 July 2011 09:44, Ira Rosen wrote:
>> Hi,
>>
>> This patch tries to reduce over-promotion of vector operations that
>> could be done with narrower elements, e.g., for
>>
>> char a;
>> int b, c;
>> short d;
>>
>> b = (int) a;
>> c = b << 2;
>
On 19 July 2011 09:44, Ira Rosen wrote:
> Hi,
>
> This patch tries to reduce over-promotion of vector operations that
> could be done with narrower elements, e.g., for
>
> char a;
> int b, c;
> short d;
>
> b = (int) a;
> c = b << 2;
> d = (short) c;
>
> we currently produce six vec_unpack_lo/hi_e
On 20 July 2011 17:28, Richard Guenther wrote:
> On Tue, Jul 19, 2011 at 10:57 AM, Richard Guenther
> wrote:
>> On Tue, Jul 19, 2011 at 8:44 AM, Ira Rosen wrote:
>>> Hi,
>>>
>>> This patch tries to reduce over-promotion of vector operations that
>>> could be done with narrower elements, e.g., fo
On Tue, Jul 19, 2011 at 10:57 AM, Richard Guenther
wrote:
> On Tue, Jul 19, 2011 at 8:44 AM, Ira Rosen wrote:
>> Hi,
>>
>> This patch tries to reduce over-promotion of vector operations that
>> could be done with narrower elements, e.g., for
>>
>> char a;
>> int b, c;
>> short d;
>>
>> b = (int)
On Tue, Jul 19, 2011 at 8:44 AM, Ira Rosen wrote:
> Hi,
>
> This patch tries to reduce over-promotion of vector operations that
> could be done with narrower elements, e.g., for
>
> char a;
> int b, c;
> short d;
>
> b = (int) a;
> c = b << 2;
> d = (short) c;
>
> we currently produce six vec_unpa
Hi,
This patch tries to reduce over-promotion of vector operations that
could be done with narrower elements, e.g., for
char a;
int b, c;
short d;
b = (int) a;
c = b << 2;
d = (short) c;
we currently produce six vec_unpack_lo/hi_expr statements for
char->int conversion and then two vec_pack_tru