Re: Patch to extend the fix PR53676 to unsigned char

2013-04-22 Thread Richard Biener
On Mon, Apr 22, 2013 at 5:21 PM, Laurent Alfonsi wrote: > The patch well fix the adobe_cpp performance regression on the int8_t type. > But the same degradation exists on uint8_t type, which is not fixed by the > patch referenced in PR53676. > > With the signed version, the code: >result_5 = (

Patch to extend the fix PR53676 to unsigned char

2013-04-22 Thread Laurent Alfonsi
The patch well fix the adobe_cpp performance regression on the int8_t type. But the same degradation exists on uint8_t type, which is not fixed by the patch referenced in PR53676. With the signed version, the code: result_5 = (signed char) ((int) result_2 + 2) is now well narrowed to: res