RE: Failure to combine SHIFT with ZERO_EXTEND

2010-02-09 Thread Rahul Kharche
to 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 #includestdlib.h #includestdio.h void f1 () { unsigned short t1; unsigned short t2; t1 = rand

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 #includestdlib.h #includestdio.h void f1 () { unsigned short t1; unsigned short t2; t1 = rand(); t2 = rand(); t1= 1; t2=