RE: Failure to combine SHIFT with ZERO_EXTEND

2010-02-09 Thread Rahul Kharche
combine SHIFT with ZERO_EXTEND On 02/04/10 08:39, Rahul Kharche wrote: > Hi All, > > On our private port of GCC 4.4.1 we fail to combine successive SHIFT > operations like in the following case > > #include > #include > > void f1 () > { >unsigned short t1; >

Re: Failure to combine SHIFT with ZERO_EXTEND

2010-02-08 Thread Jeff Law
On 02/04/10 08:39, Rahul Kharche wrote: Hi All, On our private port of GCC 4.4.1 we fail to combine successive SHIFT operations like in the following case #include #include void f1 () { unsigned short t1; unsigned short t2; t1 = rand(); t2 = rand(); t1<<= 1; t2<<= 1; t1<<=

Failure to combine SHIFT with ZERO_EXTEND

2010-02-04 Thread Rahul Kharche
Hi All, On our private port of GCC 4.4.1 we fail to combine successive SHIFT operations like in the following case #include #include void f1 () { unsigned short t1; unsigned short t2; t1 = rand(); t2 = rand(); t1 <<= 1; t2 <<= 1; t1 <<= 1; t2 <<= 1; t1 <<= 1; t2 <<= 1; t1 <<=