[RFC] Fix PR rtl-optimization/59461

2016-11-07 Thread Eric Botcazou
It's a missed optimization of a redundant zero-extension on the SPARC, which originally comes from PR rtl-optimization/58295 for ARM. The extension is eliminated on the ARM because the load is explicitly zero-extended in RTL; on the SPARC the load is implicitly zero-extended by means of LOAD_EXT

Re: [RFC] Fix PR rtl-optimization/59461

2016-11-11 Thread Eric Botcazou
> This also eliminate quite a few zero-extensions in the compile.exp testsuite > at -O2 on the SPARC. Tested on x86-64/Linux and SPARC/Solaris. > > > 2016-11-07 Eric Botcazou > > PR rtl-optimization/59461 > * doc/rtl.texi (paradoxical subregs): Add missing word. > * combine

Re: [RFC] Fix PR rtl-optimization/59461

2016-11-20 Thread Uros Bizjak
>> This also eliminate quite a few zero-extensions in the compile.exp testsuite >> at -O2 on the SPARC. Tested on x86-64/Linux and SPARC/Solaris. >> >> >> 2016-11-07 Eric Botcazou >> >> PR rtl-optimization/59461 >> * doc/rtl.texi (paradoxical subregs): Add missing word. >> * combine.c (reg_nonz

Re: [RFC] Fix PR rtl-optimization/59461

2016-11-20 Thread Uros Bizjak
On Sun, Nov 20, 2016 at 10:00 PM, Uros Bizjak wrote: >>> This also eliminate quite a few zero-extensions in the compile.exp testsuite >>> at -O2 on the SPARC. Tested on x86-64/Linux and SPARC/Solaris. >>> >>> >>> 2016-11-07 Eric Botcazou >>> >>> PR rtl-optimization/59461 >>> * doc/rtl.texi (pa

Re: [RFC] Fix PR rtl-optimization/59461

2016-11-20 Thread Uros Bizjak
On Mon, Nov 21, 2016 at 12:49 AM, Uros Bizjak wrote: > On Sun, Nov 20, 2016 at 10:00 PM, Uros Bizjak wrote: This also eliminate quite a few zero-extensions in the compile.exp testsuite at -O2 on the SPARC. Tested on x86-64/Linux and SPARC/Solaris. 2016-11-07 Eric