Re: [SH] Improve extu.b, extu.w utilization for andsi3

2012-07-03 Thread Kaz Kojima
Oleg Endo wrote: > On SH a logical and with constants 0x or 0xFF can be done with the > respective zero-extension operations. The attached patch improves the > utilization of the zero-extension operations a little bit, resulting in > slightly better code. This patch is OK. Regards,

[SH] Improve extu.b, extu.w utilization for andsi3

2012-07-03 Thread Oleg Endo
Hello, On SH a logical and with constants 0x or 0xFF can be done with the respective zero-extension operations. The attached patch improves the utilization of the zero-extension operations a little bit, resulting in slightly better code. Tested against rev 189081 with make -k check RUNTESTFL